Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java103 public int headerSize; field in IsoInterface.Box
139 int headerSize = 8; in parseNextBox() local
140 if (end - pos < headerSize) { in parseNextBox()
152 headerSize += 8; in parseNextBox()
158 if (len < headerSize || pos + len > end) { in parseNextBox()
165 box.headerSize = headerSize; in parseNextBox()
169 box.headerSize += 16; in parseNextBox()
181 box.data = new byte[(int) (len - box.headerSize)]; in parseNextBox()
194 box.data = new byte[(int) (len - box.headerSize)]; in parseNextBox()
200 } else if (type == BOX_META && len != headerSize) { in parseNextBox()
[all …]
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp165 size_t headerSize = cacheFileHeaderSize; in saveBlobCacheLocked() local
188 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked()
198 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
210 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
228 size_t headerSize = cacheFileHeaderSize; in loadBlobCacheLocked() local
263 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked()
270 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
276 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dformat_utils_test.cpp33 const size_t headerSize) { in getBuffer() argument
46 buffer.push_back(headerSize >> 24); in getBuffer()
47 buffer.push_back(headerSize >> 16); in getBuffer()
48 buffer.push_back(headerSize >> 8); in getBuffer()
49 buffer.push_back(headerSize); in getBuffer()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java318 final int headerSize, final int pos) { in getWordAtPosition() argument
322 result = getWordAtPositionWithoutParentAddress(dictDecoder, headerSize, pos); in getWordAtPosition()
328 final DictDecoder dictDecoder, final int headerSize, final int pos) { in getWordAtPositionWithoutParentAddress() argument
329 dictDecoder.setPosition(headerSize); in getWordAtPositionWithoutParentAddress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DDictionaryHeader.java60 public DictionaryHeader(final int headerSize, in DictionaryHeader() argument
65 mBodyOffset = formatOptions.mVersion < FormatSpec.VERSION4 ? headerSize : 0; in DictionaryHeader()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DReportDetails.java98 final int headerSize = incident.getHeaderCount(); in parseReasons() local
99 for (int i = 0; i < headerSize; i++) { in parseReasons()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp71 const int headerSize = getHeaderSize(dictBuf); in fetchAllHeaderAttributes() local
79 while (pos < headerSize) { in fetchAllHeaderAttributes()