Searched refs:mh (Results 1 - 25 of 131) sorted by relevance

123456

/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/image-slide/
H A Dmain.c32 intptr_t findSlide(const struct mach_header* mh) argument
36 if ( mh == _dyld_get_image_header(i) ) {
48 const struct mach_header* mh; local
51 mh = info.dli_fbase;
59 intptr_t slide1 = _dyld_get_image_slide(mh);
60 intptr_t slide2 = findSlide(mh);
/macosx-10.10.1/dtrace-147/libelf/
H A Dgetarhdr.c42 Member * mh; local
48 if ((mh = elf->ed_armem) == 0) {
53 if (mh->m_err != 0) {
56 _elf_seterr((Msg)mh->m_err, 0);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/NSAddImage-RETURN_ONLY_IF_LOADED/
H A Dmain.c37 const struct mach_header * mh = NSAddImage("/System/Library/Frameworks/Cocoa.framework/Cocoa", NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED); local
38 if ( mh != NULL )
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/NSAddImage-leafname/
H A Dmain.c37 const struct mach_header * mh = NSAddImage("libzzz.dylib", NSADDIMAGE_OPTION_WITH_SEARCHING); local
38 if ( mh == NULL )
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/partial-library-load/
H A Dmain.c49 const struct mach_header* mh = NSAddImage("libfoo.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR); local
50 if ( mh != NULL ) {
56 NSSymbol sym = NSLookupSymbolInImage(mh, "_foo", NSLOOKUPSYMBOLINIMAGE_OPTION_BIND);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlopen-init-dlopen-notify/
H A Dmain.cxx62 static void notify(const struct mach_header *mh, intptr_t vmaddr_slide) argument
64 //fprintf(stderr, "mh=%p\n", mh);
65 if ( sCurrentImages.count(mh) != 0 ) {
66 FAIL("notified twice about %p", mh);
69 sCurrentImages.insert(mh);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/unloadable-library-residue/
H A Dmain.c36 const struct mach_header* mh = NSAddImage("libfoo.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR); local
37 if ( mh != NULL ) {
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-mobility.c173 const struct ip6_mobility *mh; local
177 mh = (struct ip6_mobility *)bp;
182 if (!TTEST(mh->ip6m_len)) {
198 mhlen = (int)((mh->ip6m_len + 1) << 3);
202 TCHECK(mh->ip6m_type);
203 type = mh->ip6m_type;
215 TCHECK2(*mh, hlen + 8);
227 TCHECK(mh->ip6m_data16[0]);
228 printf(" nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]));
231 TCHECK2(*mh, hle
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblber/
H A Dmemory.c136 struct ber_mem_hdr *mh = (struct ber_mem_hdr *) local
138 assert( mh->bm_top == LBER_MEM_JUNK);
139 assert( testdatatop( mh));
140 assert( testend( (char *)&mh[1] + mh->bm_length) );
141 ber_int_meminuse -= mh->bm_length;
145 (long)mh->bm_sequence, (long)mh, (long)mh->bm_length,
149 memset( mh,
207 struct ber_mem_hdr *mh = new; local
264 struct ber_mem_hdr *mh = new; local
324 struct ber_mem_hdr *mh = (struct ber_mem_hdr *) local
[all...]
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlopen-notify-bind/
H A Dmain.c35 static void notify(const struct mach_header *mh, intptr_t vmaddr_slide) argument
39 //fprintf(stderr, "mh=%p\n", mh);
40 NSLookupSymbolInImage(mh, "_bar", NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/shared-cache-symlink/
H A Dmain.c58 const struct mach_header* mh = (struct mach_header*)info.dli_fbase; local
59 if ( mh->flags & 0x80000000 )
/macosx-10.10.1/libunwind-35.3/src/
H A Dlibunwind_priv.h35 extern void unw_iterate_dwarf_unwind_cache(void (*func)(unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh));
H A DUnwindCursor.hpp91 static pint_t findFDE(pint_t mh, pint_t pc);
92 static void add(pint_t mh, pint_t ip_start, pint_t ip_end, pint_t fde);
93 static void removeAllIn(pint_t mh);
94 static void iterateCacheEntries(void (*func)(unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh));
96 static void dyldUnloadHook(const struct mach_header* mh, intptr_t vmaddr_slide);
98 struct entry { pint_t mh; pint_t ip_start; pint_t ip_end; pint_t fde; }; member in struct:libunwind::DwarfFDECache::entry
124 typename A::pint_t DwarfFDECache<A>::findFDE(pint_t mh, pint_t pc) argument
129 if ( (mh == p->mh) || (mh
142 add(pint_t mh, pint_t ip_start, pint_t ip_end, pint_t fde) argument
174 removeAllIn(pint_t mh) argument
191 dyldUnloadHook(const struct mach_header* mh, intptr_t vmaddr_slide) argument
197 iterateCacheEntries(void (*func)(unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh)) argument
485 getInfoFromDwarfSection(pint_t pc, pint_t mh, pint_t ehSectionStart, uint32_t sectionLength, uint32_t sectionOffsetOfFDE) argument
542 getInfoFromCompactEncodingSection(pint_t pc, pint_t mh, pint_t unwindSectionStart) argument
758 pint_t mh; local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/quicktimetcl/quicktimetcl/ExampleCode/
H A DCoolDialog.tcl10 set mh [lindex $theSize 1]
16 place .bt2 -x [expr $mw - 10] -y [expr $mh - 10] -anchor se
H A DAnyMemLeaks.tcl21 set mh [lindex $theSize 1]
24 place .bt1 -x 10 -y [expr $mh - 10] -anchor sw
26 place .bt2 -x 10 -y [expr $mh - 40] -anchor sw
28 place .bt3 -x [expr $mw - 10] -y [expr $mh - 10] -anchor se
/macosx-10.10.1/dyld-353.2.1/include/mach-o/
H A Ddyld_priv.h133 extern intptr_t _dyld_get_image_slide(const struct mach_header* mh);
147 const struct mach_header* mh; member in struct:dyld_unwind_sections
157 // info->mh mach header of image containing addr
208 extern uint32_t dyld_get_sdk_version(const struct mach_header* mh);
226 extern uint32_t dyld_get_min_os_version(const struct mach_header* mh);
274 extern void dyld_dynamic_interpose(const struct mach_header* mh, const struct dyld_interpose_tuple array[], size_t count);
/macosx-10.10.1/objc4-646/
H A Dmarkgc.c310 struct mach_header *mh = (struct mach_header *)start; local
312 if (mh->magic == MH_CIGAM || mh->magic == MH_CIGAM_64) {
314 mh->magic = OSSwapInt32(mh->magic);
315 mh->cputype = OSSwapInt32(mh->cputype);
316 mh->cpusubtype = OSSwapInt32(mh->cpusubtype);
317 mh
[all...]
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/bundle-reload/
H A Dmain.c76 static void myRemoveImage(const struct mach_header *mh, intptr_t vmaddr_slide) argument
81 _dyld_get_image_header_containing_address(mh);
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/image-remove-crash/
H A Dmain.c34 static void removeNotification2(const struct mach_header *mh, intptr_t vmaddr_slide) argument
38 static void removeNotification(const struct mach_header *mh, intptr_t vmaddr_slide) argument
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/image-remove-notification/
H A Dmain.c35 static void removeNotification(const struct mach_header *mh, intptr_t vmaddr_slide) argument
37 if ( mh == sExpectedBundleBaseAddress )
/macosx-10.10.1/libunwind-35.3/testsuite/dwarf_cache_dlclose.mk/
H A Dmain.c5 extern void unw_iterate_dwarf_unwind_cache(void (*func)(unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh));
13 static void callback(unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh) argument
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/crt-libSystem/
H A Dmain.c33 const void* mh; member in struct:ProgramVars
98 if ( sVars->mh != &_mh_execute_header ) {
99 FAIL("crt-libSystem sVars->mh != &_mh_execute_header (%p!=%p) for %s", sVars->mh, &_mh_execute_header, argv[0]);
/macosx-10.10.1/tcl-105/tk/tk/library/ttk/
H A Dmenubutton.tcl81 set mh [winfo reqheight $menu]
83 set sh [expr {[winfo screenheight $menu] - $bh - $mh}]
86 above { if {$y >= $mh} { incr y -$mh } { incr y $bh } }
87 below { if {$y <= $sh} { incr y $bh } { incr y -$mh } }
/macosx-10.10.1/tcl-105/tk/tk/macosx/
H A DtkMacOSXDebug.c60 const struct mach_header *mh = NULL;
81 mh = _dyld_get_image_header(i);
82 if (mh) {
88 lc = (struct load_command*)((const char*) mh +
90 m = mh->ncmds;
59 const struct mach_header *mh = NULL; local
/macosx-10.10.1/xar-254/xar/lib/
H A Dmacho.c56 struct mach_header mh; member in struct:machexecutables
193 struct mach_header *mh = (struct mach_header *)tmpin; local
194 switch(mh->magic) {
215 context->me[context->curme].mh.magic = xar_swap32(mh->magic);
216 context->me[context->curme].mh.cputype = xar_swap32(mh->cputype);
217 context->me[context->curme].mh.cpusubtype = xar_swap32(mh->cpusubtype);
218 context->me[context->curme].mh
[all...]

Completed in 347 milliseconds

123456