Home
last modified time | relevance | path

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

123

/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/skia/src/pdf/
DSkPDFDocument.cpp163 off_t fileOffset = headerSize(); in emitPDF() local
164 fileOffset += fCatalog->setFileOffset(fDocCatalog, fileOffset); in emitPDF()
165 fileOffset += fCatalog->setFileOffset(fPages[0], fileOffset); in emitPDF()
166 fileOffset += fPages[0]->getPageSize(fCatalog.get(), in emitPDF()
167 (size_t) fileOffset); in emitPDF()
169 fileOffset += fCatalog->setFileOffset((*fFirstPageResources)[i], in emitPDF()
170 fileOffset); in emitPDF()
173 fileOffset += fCatalog->setSubstituteResourcesOffsets(fileOffset, true); in emitPDF()
180 fileOffset += fCatalog->setFileOffset(fPageTree[i], fileOffset); in emitPDF()
184 fileOffset += fPages[i]->getPageSize(fCatalog.get(), fileOffset); in emitPDF()
[all …]
DSkPDFCatalog.cpp195 off_t SkPDFCatalog::setSubstituteResourcesOffsets(off_t fileOffset, in setSubstituteResourcesOffsets() argument
198 off_t offsetSum = fileOffset; in setSubstituteResourcesOffsets()
202 return offsetSum - fileOffset; in setSubstituteResourcesOffsets()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFDocument.cpp163 off_t fileOffset = headerSize(); in emitPDF() local
164 fileOffset += fCatalog->setFileOffset(fDocCatalog, fileOffset); in emitPDF()
165 fileOffset += fCatalog->setFileOffset(fPages[0], fileOffset); in emitPDF()
166 fileOffset += fPages[0]->getPageSize(fCatalog.get(), in emitPDF()
167 (size_t) fileOffset); in emitPDF()
169 fileOffset += fCatalog->setFileOffset((*fFirstPageResources)[i], in emitPDF()
170 fileOffset); in emitPDF()
173 fileOffset += fCatalog->setSubstituteResourcesOffsets(fileOffset, true); in emitPDF()
180 fileOffset += fCatalog->setFileOffset(fPageTree[i], fileOffset); in emitPDF()
184 fileOffset += fPages[i]->getPageSize(fCatalog.get(), fileOffset); in emitPDF()
[all …]
DSkPDFCatalog.cpp195 off_t SkPDFCatalog::setSubstituteResourcesOffsets(off_t fileOffset, in setSubstituteResourcesOffsets() argument
198 off_t offsetSum = fileOffset; in setSubstituteResourcesOffsets()
202 return offsetSum - fileOffset; in setSubstituteResourcesOffsets()
/external/lzma/CPP/Windows/
DFileMapping.h39 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap) in Map() argument
41 …return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numbe… in Map()
45 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap, LPVOID baseAddress) in Map() argument
47 …return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, num… in Map()
/external/chromium_org/third_party/skia/src/utils/win/
DSkDWriteFontFileStream.cpp173 UINT64 fileOffset, in ReadFileFragment() argument
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
192 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset); in ReadFileFragment()
205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) { in ReadFileFragment()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.cpp173 UINT64 fileOffset, in ReadFileFragment() argument
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
192 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset); in ReadFileFragment()
205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) { in ReadFileFragment()
/external/sonivox/arm-hybrid-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_wavefile.h49 EAS_I32 fileOffset; member
Deas_rtttldata.h54 EAS_I32 fileOffset; /* offset to start of data */ member
/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
/external/sonivox/arm-fm-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_wavefile.h49 EAS_I32 fileOffset; member
Deas_rtttldata.h54 EAS_I32 fileOffset; /* offset to start of data */ member
/external/chromium_org/third_party/icu/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/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.cpp36 … STDMETHODCALLTYPE ReadFileFragment(void const** fragmentStart, UINT64 fileOffset, UINT64 fragment…
310 UINT64 fileOffset, in ReadFileFragment() argument
315 if (fileOffset <= resourceSize_ && in ReadFileFragment()
316 fragmentSize <= resourceSize_ - fileOffset) { in ReadFileFragment()
317 … *fragmentStart = static_cast<FX_BYTE const*>(resourcePtr_) + static_cast<size_t>(fileOffset); in ReadFileFragment()

123