Searched refs:headerSize (Results 1 – 7 of 7) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | IsoInterface.java | 103 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/ |
D | nnCache.cpp | 165 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/ |
D | format_utils_test.cpp | 33 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/ |
D | BinaryDictDecoderUtils.java | 318 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/ |
D | DictionaryHeader.java | 60 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/ |
D | ReportDetails.java | 98 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/ |
D | header_read_write_utils.cpp | 71 const int headerSize = getHeaderSize(dictBuf); in fetchAllHeaderAttributes() local 79 while (pos < headerSize) { in fetchAllHeaderAttributes()
|