Home
last modified time | relevance | path

Searched refs:fileOffset (Results 1 – 23 of 23) sorted by relevance

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DSection.java40 private int fileOffset; field in Section
79 this.fileOffset = -1; in Section()
108 if (fileOffset < 0) { in getFileOffset()
112 return fileOffset; in getFileOffset()
124 public final int setFileOffset(int fileOffset) { in setFileOffset() argument
125 if (fileOffset < 0) { in setFileOffset()
129 if (this.fileOffset >= 0) { in setFileOffset()
134 fileOffset = (fileOffset + mask) & ~mask; in setFileOffset()
136 this.fileOffset = fileOffset; in setFileOffset()
138 return fileOffset; in setFileOffset()
[all …]
/external/libvncserver/webclients/novnc/include/
Djsunzip.js83 var fileOffset = centralDirectoryOffset;
86 if (this.getInt(fileOffset + 0, 4) != 0x02014b50)
88 if (this.getInt(fileOffset + 6, 2) > 20)
90 if (this.getInt(fileOffset + 8, 2) & 1)
93 var compressionMethod = this.getInt(fileOffset + 10, 2);
97 var lastModFileTime = this.getInt(fileOffset + 12, 2);
98 var lastModFileDate = this.getInt(fileOffset + 14, 2);
101 var crc = this.getInt(fileOffset + 16, 4);
104 var compressedSize = this.getInt(fileOffset + 20, 4);
105 var uncompressedSize = this.getInt(fileOffset + 24, 4);
[all …]
/external/lzma/CPP/Windows/
DFileMapping.h43 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap) in Map() argument
45 …return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numbe… in Map()
49 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap, LPVOID baseAddress) in Map() argument
51 …return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, num… in Map()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp177 UINT64 fileOffset, in ReadFileFragment() argument
184 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
190 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
196 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset); in ReadFileFragment()
206 if (!fStream->seek(static_cast<size_t>(fileOffset))) { in ReadFileFragment()
DSkDWriteFontFileStream.h60 UINT64 fileOffset,
/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c211 pData->fileOffset = offset; in OTA_CheckFileType()
373 else if (pData->restore.fileOffset < 0) in OTA_Event()
416 if (pData->patterns[pData->currentPattern].fileOffset < 0) in OTA_Event()
856 pData->patterns[0].fileOffset = pData->patterns[1].fileOffset = in OTA_ParseHeader()
857 pData->patterns[2].fileOffset = pData->patterns[3].fileOffset = -1; in OTA_ParseHeader()
861 pData->restore.fileOffset = -1; in OTA_ParseHeader()
869 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in OTA_ParseHeader()
1052 return EAS_HWFilePos(hwInstData, pData->fileHandle, &pLoc->fileOffset); in OTA_SavePosition()
1074 pData->restore.fileOffset = -1; in OTA_RestorePosition()
1075 return EAS_HWFileSeek(hwInstData, pData->fileHandle, pLoc->fileOffset); in OTA_RestorePosition()
Deas_otadata.h50 EAS_I32 fileOffset; /* offset to location in file */ member
60 EAS_I32 fileOffset; /* offset to start of data */ member
Deas_xmfdata.h48 EAS_I32 fileOffset; member
Deas_wavefile.h49 EAS_I32 fileOffset; member
Deas_tcdata.h48 EAS_I32 fileOffset; /* offset to start of data */ member
Deas_rtttldata.h54 EAS_I32 fileOffset; /* offset to start of data */ member
Deas_imelodydata.h52 EAS_I32 fileOffset; /* offset to start of data */ member
Deas_tonecontrol.c142 data.fileOffset = offset; in TC_CheckFileType()
485 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_Reset()
661 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_ParseHeader()
799 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in TC_PlayBlock()
Deas_miditypes.h106 EAS_I32 fileOffset; /* for embedded files */ member
Deas_rtttl.c140 data.fileOffset = offset; in RTTTL_CheckFileType()
156 pData->fileOffset = offset; in RTTTL_CheckFileType()
615 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_Reset()
999 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in RTTTL_ParseHeader()
Deas_smf.c147 pSMFData->fileOffset = offset; in SMF_CheckFileType()
1063 …if ((result = EAS_HWFileSeek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_HEAD… in SMF_ParseHeader()
1069 …if ((result = EAS_HWFileSeek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_NUM_… in SMF_ParseHeader()
1110 chunkStart = (EAS_U32) pSMFData->fileOffset; in SMF_ParseHeader()
Deas_xmf.c178 pXMFData->fileOffset = offset; in XMF_CheckFileType()
613 offset += pXMFData->fileOffset; in XMF_ReadNode()
Deas_wavefile.c159 pWaveData->fileOffset = offset; in WaveCheckFileType()
195 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pWaveData->fileHandle, pWaveData->fileOffset)) … in WavePrepare()
Deas_imelody.c218 pData->fileOffset = offset; in IMY_CheckFileType()
696 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in IMY_Reset()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_gencmn.c84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; member
123 uint32_t i, fileOffset, basenameOffset, length, nread; in createCommonDataFile() local
225 fileOffset=(basenameOffset+(basenameTotal+15))&~0xf; in createCommonDataFile()
227 files[i].fileOffset=fileOffset; in createCommonDataFile()
228 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
249 udata_write32(out, files[i].fileOffset); in createCommonDataFile()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_dwrite.cpp43 UINT64 fileOffset,
284 UINT64 fileOffset, in ReadFileFragment() argument
287 if (fileOffset <= resourceSize_ && in ReadFileFragment()
288 fragmentSize <= resourceSize_ - fileOffset) { in ReadFileFragment()
290 static_cast<size_t>(fileOffset); in ReadFileFragment()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java427 long fileOffset = (sectionOffset + (getValue() - sectionAddress));
428 assert fileOffset <= Integer.MAX_VALUE;
429 return (int)fileOffset;
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp1852 uint64_t fileOffset; in ParseSymtab() member