/frameworks/base/core/jni/ |
D | android_backup_BackupHelperDispatcher.cpp | 35 int headerSize; member 54 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); in readHeader_native() 55 if (amt != sizeof(flattenedHeader.headerSize)) { in readHeader_native() 59 int remainingHeader = flattenedHeader.headerSize - sizeof(flattenedHeader.headerSize); in readHeader_native() 61 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { in readHeader_native() 62 ALOGW("Skipping unknown header: %d bytes", flattenedHeader.headerSize); in readHeader_native() 71 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); in readHeader_native() 76 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); in readHeader_native() 80 flattenedHeader.headerSize); in readHeader_native() 90 ALOGD(" headerSize=%d", flattenedHeader.headerSize); in readHeader_native() [all …]
|
/frameworks/rs/ |
D | rsFileA3D.cpp | 102 uint64_t headerSize = 0; in load() local 103 if (lengthRemaining < sizeof(headerSize)) { in load() 107 memcpy(&headerSize, localData, sizeof(headerSize)); in load() 108 localData += sizeof(headerSize); in load() 109 lengthRemaining -= sizeof(headerSize); in load() 111 if (lengthRemaining < headerSize) { in load() 119 localData += headerSize; in load() 120 lengthRemaining -= headerSize; in load() 154 uint64_t headerSize = 0; in load() local 155 len = fread(&headerSize, 1, sizeof(headerSize), f); in load() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | Registry.cpp | 46 int headerSize = gHeaderBytesRequired; in Find() local 47 char header[headerSize]; in Find() 48 headerSize = stream->peek(header, headerSize); in Find() 50 if (headerSize >= registry->mImpl.requiredHeaderBytes in Find() 51 && registry->mImpl.checkHeader(header, headerSize)) { in Find()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 53 size_t headerSize = cacheFileHeaderSize; in FileBlobCache() local 90 size_t cacheSize = fileSize - headerSize; in FileBlobCache() 97 if (crc32c(buf + headerSize, cacheSize) != *crc) { in FileBlobCache() 103 int err = unflatten(buf + headerSize, cacheSize); in FileBlobCache() 120 size_t headerSize = cacheFileHeaderSize; in writeToFile() local 145 size_t fileSize = headerSize + cacheSize; in writeToFile() 156 int err = flatten(buf + headerSize, cacheSize); in writeToFile() 169 *crc = crc32c(buf + headerSize, cacheSize); in writeToFile()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 167 size_t headerSize = cacheFileHeaderSize; in saveBlobCacheLocked() local 192 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked() 203 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked() 216 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 235 size_t headerSize = cacheFileHeaderSize; in loadBlobCacheLocked() local 272 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() 279 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked() 285 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 92 static size_t getAdtsFrameLength(DataSourceHelper *source, off64_t offset, size_t* headerSize) { in getAdtsFrameLength() argument 125 if (headerSize != NULL) { in getAdtsFrameLength() 126 *headerSize = headSize; in getAdtsFrameLength() 289 size_t frameSize, frameSizeWithoutHeader, headerSize; in read() local 290 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { in read() 300 frameSizeWithoutHeader = frameSize - headerSize; in read() 301 if (mDataSource->readAt(mOffset + headerSize, buffer->data(), in read()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | ResChunkPullParser.cpp | 35 util::DeviceToHost16(header->type), util::DeviceToHost16(header->headerSize), in ChunkHeaderDump() 64 if (util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next() 69 util::DeviceToHost16(current_chunk_->headerSize)) { in Next()
|
D | ResChunkPullParser.h | 72 if (util::DeviceToHost16(chunk->headerSize) < MinSize) { in ConvertTo() 79 return reinterpret_cast<const uint8_t*>(chunk) + util::DeviceToHost16(chunk->headerSize); in GetChunkData() 83 return util::DeviceToHost32(chunk->size) - util::DeviceToHost16(chunk->headerSize); in GetChunkDataLen()
|
D | ChunkWriter.h | 41 header_->headerSize = util::HostToDevice16(sizeof(T)); in StartChunk() 81 header_->headerSize = util::HostToDevice16(sizeof(android::ResChunk_header)); in StartChunk()
|
D | BinaryResourceParser.cpp | 309 util::DeviceToHost16(type_spec->header.headerSize); in ParseTypeSpec() 318 reinterpret_cast<uintptr_t>(type_spec) + util::DeviceToHost16(type_spec->header.headerSize)); in ParseTypeSpec() 488 ((uint8_t *)policy_header) + util::DeviceToHost32(policy_header->header.headerSize)); in ParseOverlayable()
|
/frameworks/av/media/libstagefright/foundation/ |
D | OpusHeader.cpp | 210 int headerSize = WriteOpusHeader(header, inputSampleRate, output + headerLen, in WriteOpusHeaders() local 212 if (headerSize < 0) { in WriteOpusHeaders() 216 headerLen += headerSize; in WriteOpusHeaders() 219 uint64_t length = headerSize; in WriteOpusHeaders()
|
/frameworks/base/libs/androidfw/ |
D | TypeWrappers.cpp | 28 reinterpret_cast<uintptr_t>(data) + dtohs(data->header.headerSize)); in TypeVariant() 61 reinterpret_cast<uintptr_t>(type) + dtohs(type->header.headerSize)); in operator *()
|
D | ResourceTypes.cpp | 113 const uint16_t headerSize = dtohs(chunk->headerSize); in validate_chunk() local 116 if (headerSize >= minSize) { in validate_chunk() 117 if (headerSize <= size) { in validate_chunk() 118 if (((headerSize|size)&0x3) == 0) { in validate_chunk() 127 name, (int)size, (int)headerSize); in validate_chunk() 131 name, size, headerSize); in validate_chunk() 135 name, headerSize); in validate_chunk() 495 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo() 505 if (mHeader->header.headerSize > mHeader->header.size in setTo() 508 (int)mHeader->header.headerSize, (int)mHeader->header.size, (int)size); in setTo() [all …]
|
D | ChunkIterator.cpp | 76 const size_t header_size = dtohs(next_chunk_->headerSize); in VerifyNextChunk()
|
D | LoadedArsc.cpp | 107 const size_t offsets_offset = dtohs(header->header.headerSize); in VerifyResTableType() 252 const size_t offsets_offset = dtohs(type_chunk->header.headerSize); in GetEntryOffset() 377 reinterpret_cast<const uint8_t*>(type) + dtohs(type->header.headerSize)); in FindEntryByName() 433 if (header->header.headerSize >= sizeof(ResTable_package)) { in Load()
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 29 t.header.headerSize = sizeof(t); in createTypeData() 34 t.entriesStart = t.header.headerSize + sizeof(offsets); in createTypeData()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 299 size_t headerSize = 0; in parseAC4SyncFrame() local 306 headerSize += 2; in parseAC4SyncFrame() 309 headerSize += 2; in parseAC4SyncFrame() 312 headerSize += 3; in parseAC4SyncFrame() 319 frameSize += headerSize; in parseAC4SyncFrame() 1160 size_t headerSize; in dequeueAccessUnitAAC() member 1240 size_t headerSize = protection_absent ? 7 : 9; in dequeueAccessUnitAAC() local 1246 .headerSize = headerSize, in dequeueAccessUnitAAC() 1262 mSampleDecryptor->processAAC(frame.headerSize, in dequeueAccessUnitAAC()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Chunk.h | 49 inline size_t header_size() const { return dtohs(device_chunk_->headerSize); } in header_size()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 155 int headerSize = WriteOpusHeader(header, samplerate, (uint8_t*)header_data, in audioTrack() local 158 if (headerSize < 0) { in audioTrack() 165 codecPrivateSize += headerSize; in audioTrack() 171 memcpy(codecPrivateData + off, (uint8_t*)header_data, headerSize); in audioTrack()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 2204 size_t headerSize = protection_absent ? 7 : 9; in extractAndQueueAccessUnits() local 2207 mSeqNumber, protection_absent, adtsHeader[1], headerSize); in extractAndQueueAccessUnits() 2210 sampleDecryptor->processAAC(headerSize, adtsFrame, aac_frame_length); in extractAndQueueAccessUnits()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1109 header.header.headerSize = htods(sizeof(header)); in flatten() 1123 idsHeader->headerSize = htods(sizeof(*idsHeader)); in flatten() 1485 node.header.headerSize = htods(sizeof(node)); in flatten_node()
|
D | StringPool.cpp | 555 header->header.headerSize = htods(sizeof(*header)); in writeStringBlock()
|
/frameworks/base/tools/aapt2/ |
D | StringPool.cpp | 440 header->header.headerSize = util::HostToDevice16(sizeof(*header)); in Flatten()
|
/frameworks/minikin/tests/unittest/ |
D | CmapCoverageTest.cpp | 237 const size_t headerSize = in CmapBuilder() local 239 out.resize(headerSize); in CmapBuilder()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 2009 int headerSize = readInt(); in readExceptionCode() local 2010 if (headerSize == 0) { in readExceptionCode()
|