Searched refs:fileOffset (Results 1 - 20 of 20) sorted by relevance

/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Ddyld_cache_format.h47 uint64_t fileOffset; member in struct:dyld_cache_mapping_info
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Ddyld_cache_format.h47 uint64_t fileOffset; member in struct:dyld_cache_mapping_info
/macosx-10.10.1/tcl-105/tcl_ext/tclx/tclx/generic/
H A DtclXbsearch.c46 ReadAndCompare _ANSI_ARGS_((off_t fileOffset,
156 * o fileOffset (I) - The offset of the next byte of the search, not
167 ReadAndCompare (fileOffset, searchCBPtr)
168 off_t fileOffset;
171 if (Tcl_Seek (searchCBPtr->channel, fileOffset, SEEK_SET) < 0)
178 if (fileOffset != 0) {
191 fileOffset = (off_t) Tcl_Tell (searchCBPtr->channel); /* Offset of next line */
197 if (fileOffset == searchCBPtr->lastRecOffset)
200 searchCBPtr->lastRecOffset = fileOffset;
/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A Ddsc_iterator.cpp96 uint64_t fileOffset = segCmd->fileoff(); local
98 if ( fileOffset == 0 ) {
99 fileOffset = (machHeader - cache);
104 if ( (fileOffset+sizem) > (uint64_t)(cacheEnd-cache) )
105 sizem = (cacheEnd-cache)-fileOffset;
109 segInfo.fileOffset = fileOffset;
211 callback(dylibInfo->path, segInfo->name, segInfo->fileOffset, segInfo->fileSize, segInfo->address, 0);
H A Ddsc_iterator.h44 uint64_t fileOffset; // of segment in cache file member in struct:dyld_shared_cache_segment_info
H A Ddyld_cache_format.h52 uint64_t fileOffset; member in struct:dyld_cache_mapping_info
H A DMachOLayout.hpp82 uint64_t fileOffset() const { return fFileOffset; } function in struct:MachOLayoutAbstraction::Segment
386 uint32_t fileOffset = OSSwapBigToHostInt32(slices[i].offset); local
387 if ( fileOffset > stat_buf.st_size ) {
391 if ( (fileOffset+OSSwapBigToHostInt32(slices[i].size)) > stat_buf.st_size ) {
398 fLayouts.push_back(new MachOLayout<x86>(&p[fileOffset], fileOffset, fPath, stat_buf.st_ino, stat_buf.st_mtime, stat_buf.st_uid));
401 fLayouts.push_back(new MachOLayout<x86_64>(&p[fileOffset], fileOffset, fPath, stat_buf.st_ino, stat_buf.st_mtime, stat_buf.st_uid));
404 fLayouts.push_back(new MachOLayout<arm>(&p[fileOffset], fileOffset, fPat
[all...]
H A DCacheFileAbstraction.hpp88 uint64_t file_offset() const INLINE { return E::get64(fields.fileOffset); }
89 void set_file_offset(uint64_t value) INLINE { E::set64(fields.fileOffset, value); }
H A DMachORebaser.hpp141 fLinkEditBase = (uint8_t*)seg.mappedAddress() - seg.fileOffset();
1061 uint32_t fileOffset = OSSwapBigToHostInt32(archs[i].offset);
1065 fRebasers.push_back(new Rebaser<x86>(&p[fileOffset]));
1068 fRebasers.push_back(new Rebaser<x86_64>(&p[fileOffset]));
1071 fRebasers.push_back(new Rebaser<arm>(&p[fileOffset]));
H A Ddsc_extractor.cpp522 map[dylibInfo->path].push_back(seg_info(segInfo->name, segInfo->fileOffset, segInfo->fileSize));
H A Dupdate_dyld_shared_cache.cpp1572 fLinkEditBase = (uint8_t*)seg.mappedAddress() - seg.fileOffset();
2546 fprintf(stderr, "update_dyld_shared_cache: cache mappings: address=0x%0llX, size=0x%0llX, fileOffset=0x%0llX, prot=0x%X\n",
2606 const uint64_t segmentSrcStartOffset = it->layout->getOffsetInUniversalFile()+seg.fileOffset();
/macosx-10.10.1/kext_tools-384.1.4/
H A Dkernelcache.h88 off_t fileOffset,
92 off_t fileOffset,
H A Dkernelcache.c632 off_t fileOffset,
651 seekedBytes = lseek(fileDescriptor, fileOffset, SEEK_SET);
652 if (seekedBytes != fileOffset) {
630 readMachOSlice( int fileDescriptor, off_t fileOffset, size_t fileSliceSize) argument
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dpkg_gencmn.c84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member in struct:__anon1267
123 uint32_t i, fileOffset, basenameOffset, length, nread; local
225 fileOffset=(basenameOffset+(basenameTotal+15))&~0xf;
227 files[i].fileOffset=fileOffset;
228 fileOffset+=(files[i].fileSize+15)&~0xf;
249 udata_write32(out, files[i].fileOffset);
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DBlockCache.c247 UInt64 fileOffset; local
261 fileOffset = (UInt64)blockNum * (UInt64)blockSize;
279 fileOffset >> kSectorShift,
295 fileOffset += fragSize;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Archive/
H A DArchiveReader.cpp468 unsigned fileOffset = local
473 ModuleMap::iterator MI = modules.find(fileOffset);
478 const char* modptr = base + fileOffset;
495 modules.insert(std::make_pair(fileOffset, std::make_pair(m, mbr)));
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/ico/
H A Dico.c83 UInt fileOffset; member in struct:__anon12983
229 sprintf(str, " File offset: %d\n", th->entries[i].fileOffset); OUT;
273 !readUInt (handle, &th->entries[i].fileOffset)) {
286 printf (" FileOffset: %d\n", th->entries[i].fileOffset);
317 !writeUInt (handle, th->entries[i].fileOffset)) {
642 nBytesToSkip = icoHeader.entries[opts.index].fileOffset -6 -
999 icoHeader.entries[0].fileOffset = 6 + icoHeader.nIcons * 16;
/macosx-10.10.1/dyld-353.2.1/src/
H A Ddyld.cpp2402 uint64_t fileOffset = 0; local
2426 if ( fatFindBest(fileStartAsFat, &fileOffset, &fileLength) ) {
2427 if ( (fileOffset+fileLength) > (uint64_t)(stat_buf.st_size) )
2428 throwf("truncated fat file. file length=%llu, but needed slice goes to %llu", stat_buf.st_size, fileOffset+fileLength);
2429 if (pread(fd, firstPage, 4096, fileOffset) != 4096)
2460 ImageLoader* image = ImageLoaderMachO::instantiateFromFile(path, fd, firstPage, fileOffset, fileLength, stat_buf, gLinkContext);
3374 mappings[i].sfm_file_offset = p->fileOffset;
3379 if ( p->fileOffset+p->size > (uint64_t)(stat_buf.st_size+4095 & (-4096)) ) {
3470 dyld::log(" address=0x%08llX, size=0x%08llX, fileOffset=0x%08llX\n", mappings[i].sfm_address, mappings[i].sfm_size, mappings[i].sfm_file_offset);
3610 uint64_t fileOffset local
4080 uint64_t fileOffset; local
[all...]
H A DImageLoaderMachO.cpp1926 vm_offset_t fileOffset = segFileOffset(i) + offsetInFat; local
1947 if ( (fileOffset+size) > fileLen ) {
1949 segName(i), (uint64_t)(fileOffset+size), fileLen);
1951 void* loadAddress = xmmap((void*)requestedLoadAddress, size, protection, MAP_FIXED | MAP_PRIVATE, fd, fileOffset);
/macosx-10.10.1/IOKitUser-1050.1.21/kext.subproj/
H A DOSKext.c795 uint64_t fileOffset);
814 uint32_t fileOffset);
846 u_long fileOffset,
14108 uint32_t fileOffset = 0; local
14118 fileOffset = seg->fileoff;
14127 fileOffset = seg->fileoff;
14131 if (fileOffsetOut) *fileOffsetOut = fileOffset;
14242 CFDataRef kernelImage, const char *segname, uint64_t fileOffset)
14253 seg->fileoff = (uint32_t) fileOffset;
14261 seg->fileoff = fileOffset;
14241 __OSKextSetSegmentOffset( CFDataRef kernelImage, const char *segname, uint64_t fileOffset) argument
14367 __OSKextSetSectionOffset( CFDataRef kernelImage, const char *segname, const char *sectname, uint32_t fileOffset) argument
14941 u_long fileOffset = fileOffsetBase; local
15018 __OSKextCopyPrelinkInfoDictionary( CFMutableDataRef prelinkImage, CFDataRef prelinkInfoData, u_long fileOffset, uint64_t sourceAddr) argument
15103 uint32_t fileOffset = 0; local
[all...]

Completed in 226 milliseconds