Searched refs:mh (Results 51 - 75 of 131) sorted by relevance

123456

/macosx-10.10.1/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c569 kernel_mach_header_t mh; local
602 mh.magic = _mh_execute_header.magic;
603 mh.cputype = _mh_execute_header.cputype;;
604 mh.cpusubtype = _mh_execute_header.cpusubtype;
605 mh.filetype = MH_CORE;
606 mh.ncmds = segment_count + 1 /* thread */;
607 mh.sizeofcmds = (uint32_t)command_size;
608 mh.flags = 0;
610 mh.reserved = 0;
624 if ((ret = kdp_send_crashdump_data (KDP_DATA, NULL, sizeof(kernel_mach_header_t), (caddr_t) &mh) <
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/widget/
H A Ddateentry.tcl242 set mh [winfo reqheight $dropbox]
244 set sh [expr {[winfo screenheight $dropbox] - $bh - $mh}]
247 above { if {$y >= $mh} { incr y -$mh } { incr y $bh } }
248 below { if {$y <= $sh} { incr y $bh } { incr y -$mh } }
/macosx-10.10.1/emacs-93/emacs/src/
H A Dunexmacosx.c175 static struct mach_header mh; variable in typeref:struct:mach_header
738 if (!unexec_read (&mh, sizeof (struct mach_header)))
741 if (mh.magic != target_MH_MAGIC)
744 if (mh.filetype != MH_EXECUTE)
749 printf ("Magic = 0x%08x\n", mh.magic);
750 printf ("CPUType = %d\n", mh.cputype);
751 printf ("CPUSubType = %d\n", mh.cpusubtype);
752 printf ("FileType = 0x%x\n", mh.filetype);
753 printf ("NCmds = %d\n", mh.ncmds);
754 printf ("SizeOfCmds = %d\n", mh
[all...]
/macosx-10.10.1/emacs-93/
H A Dunexmacosx.c175 static struct mach_header mh; variable in typeref:struct:mach_header
738 if (!unexec_read (&mh, sizeof (struct mach_header)))
741 if (mh.magic != target_MH_MAGIC)
744 if (mh.filetype != MH_EXECUTE)
749 printf ("Magic = 0x%08x\n", mh.magic);
750 printf ("CPUType = %d\n", mh.cputype);
751 printf ("CPUSubType = %d\n", mh.cpusubtype);
752 printf ("FileType = 0x%x\n", mh.filetype);
753 printf ("NCmds = %d\n", mh.ncmds);
754 printf ("SizeOfCmds = %d\n", mh
[all...]
/macosx-10.10.1/dtrace-147/libelf/
H A Dbegin.c190 Member *mh; local
206 OK_YES) || ((mh = _elf_armem(ref,
211 if (ref->ed_fsz - base < mh->m_hdr.ar_size) {
223 elf->ed_armem = mh;
224 elf->ed_fsz = mh->m_hdr.ar_size;
226 elf->ed_memoff = base - mh->m_slide;
233 elf->ed_ident = ref->ed_ident + base - mh->m_slide;
347 struct mach_header hdr, *mh = (struct mach_header *)elf->ed_image; local
348 struct load_command *thisLC = (struct load_command *)(&(mh[1]));
350 int needSwap = (MH_CIGAM == mh
[all...]
H A Dclscook.c548 struct _mach_header hdr, *mh = (struct _mach_header *)(elf->ed_image); local
549 struct load_command *thisLC = (struct load_command *)(&(mh[1]));
550 int needSwap = (_MH_CIGAM == mh->magic);
564 hdr = *mh;
565 mh = &hdr;
566 _swap_mh(mh);
569 for (i = 0; i < mh->ncmds; i++) {
/macosx-10.10.1/emacs-93/emacs/man/
H A Dmakefile.w32-in37 $(infodir)/info $(infodir)/mh-e $(infodir)/reftex \
48 gnus.dvi message.dvi sieve.dvi pgg.dvi mh-e.dvi \
234 $(infodir)/mh-e: mh-e.texi
235 $(MAKEINFO) mh-e.texi
236 mh-e.dvi: mh-e.texi
237 $(ENVADD) $(TEXI2DVI) $(srcdir)/mh-e.texi
362 $(infodir)/message* $(infodir)/mh-e* \
H A DMakefile.in39 ../info/info ../info/mh-e ../info/reftex \
48 gnus.dvi message.dvi sieve.dvi pgg.dvi mh-e.dvi \
229 ../info/mh-e: mh-e.texi
230 cd $(srcdir); $(MAKEINFO) mh-e.texi
231 mh-e.dvi: mh-e.texi
232 $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
/macosx-10.10.1/bind9-45.101/bind9/contrib/dbus/
H A Ddbus_service.h154 ( DBUS_SVC, dbus_svc_MessageHandler mh, void *obj, int n_matches, ... );
207 ( DBUS_SVC, dbus_svc_MessageHandler mh);
/macosx-10.10.1/dyld-353.2.1/src/
H A Ddyld.cpp121 extern void removeImageFromAllImages(const mach_header* mh);
146 struct RegisteredDOF { const mach_header* mh; int registrationID; }; member in struct:dyld::RegisteredDOF
589 info.mh = dofs[i].imageHeader;
995 if ( it->mh == image->machHeader() ) {
1640 static bool hasCodeSignatureLoadCommand(const macho_header* mh) argument
1642 const uint32_t cmd_count = mh->ncmds;
1643 const struct load_command* const cmds = (struct load_command*)(((char*)mh)+sizeof(macho_header));
2195 const mach_header* mh = (mach_header*)firstPage; local
2196 if ( mh->magic == sMainExecutableMachHeader->magic ) {
2197 if ( mh
2242 instantiateFromLoadedImage(const macho_header* mh, uintptr_t slide, const char* path) argument
2256 findInSharedCacheImage(const char* path, bool searchByPath, const struct stat* stat_buf, const macho_header** mh, const char** pathInCache, long* slide) argument
2375 const macho_header* mh = (macho_header*)firstPage; local
3706 bindLazySymbol(const mach_header* mh, uintptr_t* lazyPointer) argument
4031 hasRestrictedSegment(const macho_header* mh) argument
4092 const mach_header* mh = (mach_header*)firstPage; local
4395 const struct macho_header* mh = (macho_header*)&__dso_handle; local
4493 const macho_header* mh = (const macho_header*)firstPage; local
[all...]
H A DdyldExceptions.c119 info->mh = (struct mach_header*)&__dso_handle;
H A Ddyld.h56 typedef void (*ImageCallback)(const struct mach_header* mh, intptr_t slide);
H A DdyldAPIs.cpp321 intptr_t _dyld_get_image_slide(const struct mach_header* mh) argument
324 dyld::log("%s(%p)\n", __func__, mh);
325 ImageLoader* image = dyld::findImageByMachHeader(mh);
355 void _dyld_register_func_for_add_image(void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)) argument
362 void _dyld_register_func_for_remove_image(void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)) argument
614 bool NSIsSymbolNameDefinedInImage(const struct mach_header* mh, const char* symbolName) argument
617 dyld::log("%s(%p, \"%s\")\n", __func__, (void *)mh, symbolName);
618 ImageLoader* image = dyld::findImageByMachHeader(mh);
627 NSSymbol NSLookupSymbolInImage(const struct mach_header* mh, const char* symbolName, uint32_t options) argument
630 dyld::log("%s(%p, \"%s\", 0x%08X)\n", __func__, mh, symbolNam
1820 dyld_dynamic_interpose(const struct mach_header* mh, const struct dyld_interpose_tuple array[], size_t count) argument
[all...]
H A Dstub_binding_helper.s79 movl MH_LOCAL(%esp),%eax # call dyld::bindLazySymbol(mh, lazy_ptr)
156 movq MH_PARAM_BP(%rbp),%rdi # call dyld::bindLazySymbol(mh, lazy_ptr)
207 // call dyld::bindLazySymbol(mh, lazy_symbol_pointer_address)
H A DImageLoaderMachOCompressed.cpp104 ImageLoaderMachOCompressed* ImageLoaderMachOCompressed::instantiateMainExecutable(const macho_header* mh, uintptr_t slide, const char* path, argument
107 ImageLoaderMachOCompressed* image = ImageLoaderMachOCompressed::instantiateStart(mh, path, segCount, libCount);
199 ImageLoaderMachOCompressed* ImageLoaderMachOCompressed::instantiateFromCache(const macho_header* mh, const char* path, long slide, argument
203 ImageLoaderMachOCompressed* image = ImageLoaderMachOCompressed::instantiateStart(mh, path, segCount, libCount);
235 ImageLoaderMachOCompressed* ImageLoaderMachOCompressed::instantiateFromMemory(const char* moduleName, const macho_header* mh, uint64_t len, argument
238 ImageLoaderMachOCompressed* image = ImageLoaderMachOCompressed::instantiateStart(mh, moduleName, segCount, libCount);
241 if ( mh->filetype == MH_EXECUTE )
245 image->mapSegments((const void*)mh, len, context);
268 ImageLoaderMachOCompressed::ImageLoaderMachOCompressed(const macho_header* mh, const char* path, unsigned int segCount, argument
270 : ImageLoaderMachO(mh, pat
283 instantiateStart(const macho_header* mh, const char* path, unsigned int segCount, unsigned int libCount) argument
1639 const macho_header* mh = (macho_header*)fMachOData; local
[all...]
/macosx-10.10.1/libunwind-35.3/src/
H A DAddressSpace.hpp101 bool findUnwindSections(pint_t addr, pint_t& mh, pint_t& dwarfStart, pint_t& dwarfLen, pint_t& compactStart);
250 inline bool LocalAddressSpace::findUnwindSections(pint_t addr, pint_t& mh, pint_t& dwarfStart, pint_t& dwarfLen, pint_t& compactStart) argument
254 mh = (pint_t)info.mh;
/macosx-10.10.1/tcl-105/tk84/tk/macosx/
H A DtkMacOSXDebug.c523 const struct mach_header *mh = NULL;
544 mh = _dyld_get_image_header(i);
545 if (mh) {
551 lc = (struct load_command*)((const char*) mh +
553 m = mh->ncmds;
521 const struct mach_header *mh = NULL; local
/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A Ddsc_extractor.cpp101 int optimize_linkedit(macho_header<typename A::P>* mh, uint64_t textOffsetInCache, const void* mapped_cache, uint64_t* newSize) argument
108 mh->set_flags(mh->flags() & 0x7FFFFFFF); // remove in-cache bit
112 const macho_load_command<P>* const cmds = (macho_load_command<P>*)((uint8_t*)mh + sizeof(macho_header<P>));
113 const uint32_t cmd_count = mh->ncmds();
205 memcpy((char*)mh + newFunctionStartsOffset, (char*)mapped_cache + functionStarts->dataoff(), functionStartsSize);
212 memcpy((char*)mh + newDataInCodeOffset, (char*)mapped_cache + dataInCode->dataoff(), dataInCodeSize);
266 macho_nlist<P>* const newSymTabStart = (macho_nlist<P>*)(((uint8_t*)mh) + newSymTabOffset);
267 char* const newStringPoolStart = (char*)mh + newStringPoolOffset;
333 uint32_t* newIndSymTab = (uint32_t*)((char*)mh
[all...]
H A Ddsc_iterator.cpp75 const macho_header<P>* mh = (const macho_header<P>*)machHeader; local
77 if ( (machHeader+ mh->sizeofcmds()) > cacheEnd )
79 const uint32_t cmd_count = mh->ncmds();
H A Ddyld_shared_cache_util.cpp158 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader; local
160 const uint32_t cmd_count = mh->ncmds();
278 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader; local
279 uint32_t ncmds = mh->ncmds();
280 const macho_load_command<P>* const cmds = (macho_load_command<P>*)((long)mh + sizeof(macho_header<P>));
H A DMachORebaser.hpp1056 const mach_header* mh = (mach_header*)p;
1084 if ( (OSSwapLittleToHostInt32(mh->magic) == MH_MAGIC) && (OSSwapLittleToHostInt32(mh->cputype) == CPU_TYPE_I386)) {
1085 fRebasers.push_back(new Rebaser<x86>(mh));
1087 else if ( (OSSwapLittleToHostInt32(mh->magic) == MH_MAGIC_64) && (OSSwapLittleToHostInt32(mh->cputype) == CPU_TYPE_X86_64)) {
1088 fRebasers.push_back(new Rebaser<x86_64>(mh));
1090 else if ( (OSSwapLittleToHostInt32(mh->magic) == MH_MAGIC) && (OSSwapLittleToHostInt32(mh->cputype) == CPU_TYPE_ARM)) {
1091 fRebasers.push_back(new Rebaser<arm>(mh));
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dmld6.c2115 struct mbuf *mh, *md; local
2126 MGETHDR(mh, M_DONTWAIT, MT_HEADER);
2127 if (mh == NULL) {
2134 m_free(mh);
2139 mh->m_next = md;
2146 MH_ALIGN(mh, sizeof(struct ip6_hdr));
2147 mh->m_pkthdr.len = sizeof(struct ip6_hdr) + sizeof(struct mld_hdr);
2148 mh->m_len = sizeof(struct ip6_hdr);
2150 ip6 = mtod(mh, struct ip6_hdr *);
2174 mld->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV
3546 struct mbuf *mh; local
[all...]
/macosx-10.10.1/Csu-85/
H A Dcrt.c51 void* mh; member in struct:ProgramVars
/macosx-10.10.1/iodbc-42.5/iodbc/iodbcinst/
H A Ddlf.h209 struct mach_header *mh; /* the mach_header of the object file */ member in struct:ofile
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/i386/
H A Dfbt_x86.c917 kernel_mach_header_t *mh; local
927 mh = (kernel_mach_header_t *)(ctl->mod_address);
930 if (mh->magic != MH_MAGIC_KERNEL)
933 cmd = (struct load_command *) &mh[1];
934 for (i = 0; i < mh->ncmds; i++) {

Completed in 343 milliseconds

123456