/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/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/rs/ |
D | rsFileA3D.cpp | 117 uint64_t headerSize = 0; in load() local 118 if (lengthRemaining < sizeof(headerSize)) { in load() 122 memcpy(&headerSize, localData, sizeof(headerSize)); in load() 123 localData += sizeof(headerSize); in load() 124 lengthRemaining -= sizeof(headerSize); in load() 126 if (lengthRemaining < headerSize) { in load() 134 localData += headerSize; in load() 135 lengthRemaining -= headerSize; in load() 169 uint64_t headerSize = 0; in load() local 170 len = fread(&headerSize, 1, sizeof(headerSize), f); in load() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 220 size_t headerSize = cacheFileHeaderSize; in saveBlobCacheLocked() local 245 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked() 256 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked() 269 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 288 size_t headerSize = cacheFileHeaderSize; in loadBlobCacheLocked() local 324 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() 331 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked() 337 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
|
/frameworks/av/media/libstagefright/ |
D | AACExtractor.cpp | 95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { in getAdtsFrameLength() argument 128 if (headerSize != NULL) { in getAdtsFrameLength() 129 *headerSize = headSize; in getAdtsFrameLength() 301 size_t frameSize, frameSizeWithoutHeader, headerSize; in read() local 302 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { in read() 312 frameSizeWithoutHeader = frameSize - headerSize; in read() 313 if (mDataSource->readAt(mOffset + headerSize, buffer->data(), in read()
|
/frameworks/base/tools/aapt2/ |
D | ResChunkPullParser.h | 79 if (chunk->headerSize < sizeof(T)) { in convertTo() 86 return reinterpret_cast<const uint8_t*>(&chunk) + chunk.headerSize; in getChunkData() 90 return chunk.size - chunk.headerSize; in getChunkDataLen()
|
D | ResChunkPullParser.cpp | 52 if (mCurrentChunk->headerSize < sizeof(ResChunk_header)) { in next() 56 } else if (mCurrentChunk->size < mCurrentChunk->headerSize) { in next()
|
D | TableFlattener.cpp | 343 spec->header.headerSize = sizeof(*spec); in flatten() 344 spec->header.size = spec->header.headerSize + (type->entries.size() * sizeof(uint32_t)); in flatten() 396 publicHeader->header.headerSize = sizeof(*publicHeader); in flatten() 448 typeHeader->header.headerSize = sizeof(*typeHeader); in flatten() 451 typeHeader->entriesStart = typeHeader->header.headerSize in flatten() 483 header->header.headerSize = sizeof(*header); in flatten() 492 symbolHeader->header.headerSize = sizeof(*symbolHeader); in flatten() 517 sourceHeader->headerSize = sizeof(*sourceHeader); in flatten() 528 package->header.headerSize = sizeof(*package); in flatten() 552 package->typeStrings = package->header.headerSize; in flatten()
|
D | XmlFlattener.cpp | 482 header->header.headerSize = sizeof(*header); in flattenXml() 491 resIdMapChunk->headerSize = sizeof(*resIdMapChunk); in flattenXml()
|
D | StringPool.cpp | 295 header->header.headerSize = sizeof(*header); in flatten()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 109 const uint16_t headerSize = dtohs(chunk->headerSize); in validate_chunk() local 112 if (headerSize >= minSize) { in validate_chunk() 113 if (headerSize <= size) { in validate_chunk() 114 if (((headerSize|size)&0x3) == 0) { in validate_chunk() 123 name, (int)size, (int)headerSize); in validate_chunk() 127 name, size, headerSize); in validate_chunk() 131 name, headerSize); in validate_chunk() 473 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo() 483 if (mHeader->header.headerSize > mHeader->header.size in setTo() 486 (int)mHeader->header.headerSize, (int)mHeader->header.size, (int)size); in setTo() [all …]
|
D | TypeWrappers.cpp | 39 reinterpret_cast<uintptr_t>(type) + dtohs(type->header.headerSize)); in operator *()
|
/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/services/radio/ |
D | RadioService.cpp | 308 size_t headerSize = in prepareEvent() local 327 size_t size = headerSize + metadataSize; in prepareEvent() 345 memcpy((char *)event + headerSize, halEvent->info.metadata, metadataSize); in prepareEvent() 348 event->info.metadata = (radio_metadata_t *)headerSize; in prepareEvent() 357 memcpy((char *)event + headerSize, halEvent->metadata, metadataSize); in prepareEvent() 360 event->metadata = (radio_metadata_t *)headerSize; in prepareEvent()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1094 header.header.headerSize = htods(sizeof(header)); in flatten() 1108 idsHeader->headerSize = htods(sizeof(*idsHeader)); in flatten() 1470 node.header.headerSize = htods(sizeof(node)); in flatten_node()
|
D | StringPool.cpp | 566 header->header.headerSize = htods(sizeof(*header)); in writeStringBlock()
|
D | ResourceTable.cpp | 2963 header->header.headerSize = htods(sizeof(*header)); in flatten() 3033 tsHeader->header.headerSize = htods(sizeof(*tsHeader)); in flatten() 3130 tHeader->header.headerSize = htods(sizeof(*tHeader)); in flatten() 3236 header.header.headerSize = htods(sizeof(header)); in flatten() 3293 libHeader->header.headerSize = htods(sizeof(*libHeader)); in flattenLibraryTable()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 1593 int headerSize = readInt(); in readExceptionCode() local 1594 if (headerSize == 0) { in readExceptionCode()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 200 uint16_t headerSize; member
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 733 size_t headerSize __unused = protection_absent ? 7 : 9; in dequeueAccessUnitAAC()
|