Searched refs:fileoff (Results 1 - 25 of 61) sorted by relevance

123

/macosx-10.9.5/cctools-845/misc/
H A Dsegedit.c85 uint32_t fileoff; /* original file offset */ member in struct:rep_seg
534 if(sgp->fileoff + sgp->filesize > high_noreloc_seg)
535 high_noreloc_seg = sgp->fileoff + sgp->filesize;
536 if(sgp->fileoff < low_noreloc_seg)
537 low_noreloc_seg = sgp->fileoff;
542 sgp->fileoff + sgp->filesize > high_reloc_seg)
543 high_reloc_seg = sgp->fileoff + sgp->filesize;
569 if(sgp64->fileoff + sgp64->filesize >
571 high_noreloc_seg = sgp64->fileoff +
573 if(sgp64->fileoff < low_noreloc_se
[all...]
H A Dctf_insert.c243 offset = object->seg_linkedit->fileoff;
250 offset = object->seg_linkedit64->fileoff;
410 object->seg_linkedit->fileoff += move_size;
414 object->seg_linkedit64->fileoff += move_size;
513 if(sg->filesize != 0 && sg->fileoff < low_fileoff)
514 low_fileoff = sg->fileoff;
537 if(sg64->filesize != 0 && sg64->fileoff < low_fileoff)
538 low_fileoff = sg64->fileoff;
566 sg_CTF->fileoff = offset;
601 sg64_CTF->fileoff
[all...]
H A Dsize.c264 printf(" (vmaddr 0x%x fileoff %u)\n",
265 (unsigned int)sg->vmaddr, sg->fileoff);
309 printf(" (vmaddr 0x%llx fileoff %llu)\n",
310 sg64->vmaddr, sg64->fileoff);
H A Dcodesign_allocate.c589 linkedit_end = object->seg_linkedit->fileoff +
592 linkedit_end = object->seg_linkedit64->fileoff +
690 if(sg->filesize != 0 && sg->fileoff < low_fileoff)
691 low_fileoff = sg->fileoff;
710 if(sg64->filesize != 0 && sg64->fileoff < low_fileoff)
711 low_fileoff = sg64->fileoff;
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dmach_loader.c251 scp->fileoff = scp32->fileoff;
954 if (scp->fileoff + scp->filesize < scp->fileoff ||
955 scp->fileoff + scp->filesize > (uint64_t)macho_size)
966 if ((scp->fileoff & PAGE_MASK_64) != 0)
1026 map_offset = pager_offset + scp->fileoff; /* limited to 32 bits */
1085 if ( (scp->fileoff == 0) && (scp->filesize != 0) )
1089 ret = unprotect_segment(scp->fileoff,
1732 if ((seg64->fileoff <
[all...]
H A Dkern_core.c410 sc64->fileoff = foffset;
423 sc->fileoff = CAST_DOWN_EXPLICIT(uint32_t,foffset); /* will never truncate */
/macosx-10.9.5/emacs-92/emacs/src/
H A Dunexmacosx.c810 unsigned long old_fileoff = scp->fileoff;
814 scp->fileoff = curr_file_offset;
824 scp->segname, (long) (scp->fileoff), (long) (scp->filesize),
827 if (!unexec_copy (scp->fileoff, old_fileoff, scp->filesize))
975 sc.fileoff = curr_file_offset;
983 sc.segname, (long) (sc.fileoff), (long) (sc.filesize),
986 if (!unexec_write (sc.fileoff, (void *) sc.vmaddr, sc.filesize))
1092 off_t dst_off = data_segment_scp->fileoff
1216 data_segment_old_fileoff = scp->fileoff;
1228 linkedit_delta = curr_file_offset - scp->fileoff;
[all...]
H A Dunexnext.c295 fdatastart = segment->fileoff;
305 ((struct segment_command *)the_commands[i])->fileoff += fgrowth;
/macosx-10.9.5/emacs-92/
H A Dunexmacosx.c810 unsigned long old_fileoff = scp->fileoff;
814 scp->fileoff = curr_file_offset;
824 scp->segname, (long) (scp->fileoff), (long) (scp->filesize),
827 if (!unexec_copy (scp->fileoff, old_fileoff, scp->filesize))
975 sc.fileoff = curr_file_offset;
983 sc.segname, (long) (sc.fileoff), (long) (sc.filesize),
986 if (!unexec_write (sc.fileoff, (void *) sc.vmaddr, sc.filesize))
1092 off_t dst_off = data_segment_scp->fileoff
1216 data_segment_old_fileoff = scp->fileoff;
1228 linkedit_delta = curr_file_offset - scp->fileoff;
[all...]
/macosx-10.9.5/xnu-2422.115.4/libkern/kxld/
H A Dkxld_seg.c88 seg->fileoff = src->fileoff;
117 seg->fileoff = src->fileoff;
650 seghdr->fileoff = (uint32_t) data_offset;
690 seghdr->fileoff = (uint64_t) data_offset;
H A Dkxld_seg.h52 kxld_size_t fileoff; member in struct:kxld_seg
/macosx-10.9.5/cctools-845/libmacho/
H A Dgetsecbyname.c280 if(zero == 0 && sgp->fileoff == 0 && sgp->nsects != 0){
326 if(zero == 0 && sgp->fileoff == 0 && sgp->nsects != 0){
366 if(zero == 0 && sgp->fileoff == 0 && sgp->nsects != 0){
412 if(zero == 0 && sgp->fileoff == 0 && sgp->nsects != 0){
H A Dswap.c103 sg->fileoff = OSSwapInt32(sg->fileoff);
121 sg->fileoff = OSSwapInt64(sg->fileoff);
/macosx-10.9.5/objc4-551.1/
H A Dmarkgc.c202 seg->fileoff = OSSwapInt32(seg->fileoff);
222 seg->fileoff = OSSwapInt64(seg->fileoff);
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXDebug.c133 base = (intptr_t) sg->vmaddr + slide - sg->fileoff;
/macosx-10.9.5/cctools-845/libstuff/
H A Dcheckout.c320 object->seg_linkedit->fileoff +
326 offset = object->seg_linkedit->fileoff;
333 object->seg_linkedit64->fileoff +
339 offset = object->seg_linkedit64->fileoff;
668 if(object->seg_linkedit->fileoff +
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Dcoff-rs6000.c1595 file_ptr fileoff;
1624 fileoff = SIZEOF_AR_FILE_HDR;
1632 H_PUT_32 (abfd, fileoff, buf);
1639 fileoff += (SIZEOF_AR_HDR
1643 fileoff = (fileoff + 1) &~ 1;
1859 file_ptr fileoff;
1899 fileoff = SIZEOF_AR_FILE_HDR_BIG;
1907 bfd_h_put_64 (abfd, fileoff, st);
1914 fileoff
1592 file_ptr fileoff; local
1856 file_ptr fileoff; local
1957 file_ptr fileoff; local
[all...]
H A Dmach-o.c382 bfd_h_put_32 (abfd, seg->fileoff, buf + 24);
396 bfd_vma curoff = seg->fileoff;
1271 seg->fileoff = bfd_h_get_32 (abfd, buf + 24);
1292 bfdsec->filepos = seg->fileoff;
1914 unsigned long start = seg->fileoff;
1915 unsigned long end = seg->fileoff + seg->filesize;
1951 bottom = seg->fileoff + seg->filesize - offset;
1952 top = seg->fileoff + seg->filesize - 4;
H A Dmach-o.h211 bfd_vma fileoff; member in struct:bfd_mach_o_segment_command
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/mach-o/
H A Dloader.h319 * filesize. The file is mapped starting at fileoff to the beginning of
333 uint32_t fileoff; /* file offset of this segment */ member in struct:segment_command
353 uint64_t fileoff; /* file offset of this segment */ member in struct:segment_command_64
/macosx-10.9.5/Csu-79/
H A Dlazy_dylib_loader.c136 linkEditBase = (uint8_t*)(seg->vmaddr + slide - seg->fileoff);
/macosx-10.9.5/cctools-845/ld/
H A Dfvmlibs.c297 print("\t fileoff %u\n", msg->sg.fileoff);
/macosx-10.9.5/dyld-239.4/launch-cache/
H A Ddsc_iterator.cpp95 uint64_t fileOffset = segCmd->fileoff();
/macosx-10.9.5/dyld-239.4/src/
H A DdyldInitialization.cpp183 const relocation_info* const relocsStart = (struct relocation_info*)(linkEditSeg->vmaddr + slide + dynamicSymbolTable->locreloff - linkEditSeg->fileoff);
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dmacho++.cpp211 isValid = flip(seg->fileoff) + flip(seg->filesize) == this->length();
217 isValid = flip(seg64->fileoff) + flip(seg64->filesize) == this->length();

Completed in 301 milliseconds

123