Searched refs:nsects (Results 1 - 25 of 40) sorted by relevance

12

/macosx-10.10/xnu-2782.1.97/SETUP/setsegname/
H A Dsetsegname.c132 uint32_t nsects = 0; local
204 nsects = 0;
211 nsects = segcmd->nsects;
221 nsects = segcmd->nsects;
229 nsects = OSSwapInt32(nsects);
230 while (nsects--) {
/macosx-10.10/objc4-646/
H A Dmarkgc.c203 seg->nsects = OSSwapInt32(seg->nsects);
205 if (debug) printf("segment name: %s, nsects %d\n", seg->segname, seg->nsects);
210 for (uint32_t nsects = 0; nsects < seg->nsects; ++nsects) {
213 dosect32(start, sect + nsects, needsFlip, gcip);
223 seg->nsects
[all...]
/macosx-10.10/xnu-2782.1.97/libkern/kxld/
H A Dkxld_seg.c93 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
122 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
275 u_int nsects = 0; local
327 nsects = sect_end - sect_start;
329 if (!nsects) continue;
348 for (j = 0; j < nsects; ++j) {
372 for (i = 0; i < nsects; ++i) {
654 seghdr->nsects = seg->sects.nitems;
694 seghdr->nsects = seg->sects.nitems;
H A Dkxld_util.c355 if (swap) swap_section(sects, seg_hdr->nsects, host_order);
366 for (j = 0; j < seg_hdr->nsects; ++j) {
524 if (swap) swap_section_64(sects, seg_hdr->nsects, host_order);
535 for (j = 0; j < seg_hdr->nsects; ++j) {
657 swap_section(sects, seg_hdr->nsects, target_order);
713 swap_section_64(sects, seg_hdr->nsects, target_order);
H A Dkxld_object.c527 u_int nsects = 0; local
551 nsects += seg_hdr->nsects;
565 nsects += seg_hdr->nsects;
580 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects);
851 u_int nsects = 0; local
901 nsects = seg_hdr->nsects;
930 nsects
1314 u_int nsects = object->sects.nitems; local
[all...]
/macosx-10.10/objc4-646/runtime/
H A Dobjc-file.mm90 for (i = 0; i < seg->nsects; i++) {
H A Dobjc-file-old.mm147 for (i = 0; i < seg->nsects; i++) {
/macosx-10.10/xnu-2782.1.97/libkern/
H A Dkernel_mach_header.c191 for(j = 0; j < sgp->nsects; j++){
319 if (!sgp || sgp->nsects == 0)
336 if (((uintptr_t)(sp - fsp) + 1) >= sgp->nsects)
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/
H A Dmach-o.c386 bfd_h_put_32 (abfd, seg->nsects, buf + 40);
418 for (i = 0; i < seg->nsects; i++)
773 if ((section > 0) && (section <= mdata->nsects))
785 s->name, section, mdata->nsects);
1275 seg->nsects = bfd_h_get_32 (abfd, buf + 40);
1297 if (seg->nsects != 0)
1299 seg->sections = bfd_alloc (abfd, seg->nsects * sizeof (bfd_mach_o_section));
1303 for (i = 0; i < seg->nsects; i++)
1396 mdata->nsects = 0;
1405 mdata->nsects
[all...]
H A Dmach-o.h213 unsigned long nsects; member in struct:bfd_mach_o_segment_command
458 unsigned long nsects; member in struct:mach_o_data_struct
/macosx-10.10/tcl-105/tk/tk/macosx/
H A DtkMacOSXDebug.c98 uint32_t k, ns = sg->nsects;
/macosx-10.10/dyld-353.2.1/src/
H A DthreadLocalVariables.c193 const macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
235 const macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
281 const macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
H A DdyldInitialization.cpp152 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
H A DImageLoaderMachO.cpp421 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
598 const struct macho_section* const sectionsEnd = &sectionsStart[segCmd->nsects];
613 const struct macho_section* const sectionsEnd = &sectionsStart[segCmd->nsects];
842 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1348 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1399 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1548 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1700 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1742 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1796 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
[all...]
H A DImageLoaderMachOClassic.cpp1170 if ( (currentSectionIndex <= sectionIndex) && (sectionIndex < currentSectionIndex+seg->nsects) ) {
1178 currentSectionIndex += seg->nsects;
1400 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1654 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1709 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1826 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
1949 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
2023 const struct macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
/macosx-10.10/dyld-353.2.1/launch-cache/
H A DMachOLayout.hpp457 if ( segCmd->nsects() > 0 ) {
459 const macho_section<P>* const lastSection = &sectionsStart[segCmd->nsects()-1];
477 if ( segCmd->nsects() > 0 ) {
479 const macho_section<P>* const sectionsEnd = &sectionsStart[segCmd->nsects()-1];
492 if ( segCmd->nsects() > 0 ) {
495 const macho_section<P>* const sectionsEnd = &sectionsStart[segCmd->nsects()];
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A Dmacho_util.c505 num_sects = CondSwapInt32(swap, seg_cmd->nsects);
541 num_sects = CondSwapInt32(swap, seg_cmd->nsects);
1000 for (i = 0; i < segment->nsects; ++i, ++section) {
1006 if (i == segment->nsects) {
1031 for (i = 0; i < segment->nsects; ++i, ++section) {
1037 if (i == segment->nsects) {
/macosx-10.10/emacs-93/emacs/src/
H A Dunexmacosx.c719 for (j = 0; j < scp->nsects; j++)
784 for (j = 0; j < scp->nsects; j++)
821 for (j = 0; j < scp->nsects; j++)
877 for (j = 0; j < scp->nsects; j++)
983 sc.nsects = 0;
/macosx-10.10/emacs-93/
H A Dunexmacosx.c719 for (j = 0; j < scp->nsects; j++)
784 for (j = 0; j < scp->nsects; j++)
821 for (j = 0; j < scp->nsects; j++)
877 for (j = 0; j < scp->nsects; j++)
983 sc.nsects = 0;
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dmacho++.cpp342 if (sizeof(*seg64) + (seg64->nsects * sizeof(section_64)) > seg64->cmdsize)
345 for (unsigned n = flip(seg64->nsects); n > 0; n--, sect++) {
351 for (unsigned n = flip(seg->nsects); n > 0; n--, sect++) {
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dmacho++.cpp342 if (sizeof(*seg64) + (seg64->nsects * sizeof(section_64)) > seg64->cmdsize)
345 for (unsigned n = flip(seg64->nsects); n > 0; n--, sect++) {
351 for (unsigned n = flip(seg->nsects); n > 0; n--, sect++) {
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A Dloader.h337 uint32_t nsects; /* number of sections in segment */ member in struct:segment_command
357 uint32_t nsects; /* number of sections in segment */ member in struct:segment_command_64
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_core.c418 sc64->nsects = 0;
431 sc->nsects = 0;
/macosx-10.10/Csu-85/
H A Dlazy_dylib_loader.c198 const macho_section* const sectionsEnd = &sectionsStart[seg->nsects];
/macosx-10.10/dtrace-147/libelf/
H A Dbegin.c88 SWAP32(segment->nsects);
103 SWAP32(segment->nsects);
377 n += thisSG->nsects;
483 n += thisSG64->nsects;

Completed in 243 milliseconds

12