/frameworks/base/core/jni/ |
D | android_backup_BackupHelperDispatcher.cpp | 34 int headerSize; member 53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize)); in readHeader_native() 54 if (amt != sizeof(flattenedHeader.headerSize)) { in readHeader_native() 58 int remainingHeader = flattenedHeader.headerSize - sizeof(flattenedHeader.headerSize); in readHeader_native() 60 if (flattenedHeader.headerSize < (int)sizeof(chunk_header_v1)) { in readHeader_native() 61 ALOGW("Skipping unknown header: %d bytes", flattenedHeader.headerSize); in readHeader_native() 70 sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize)); in readHeader_native() 75 remainingHeader -= sizeof(chunk_header_v1)-sizeof(flattenedHeader.headerSize); in readHeader_native() 79 flattenedHeader.headerSize); in readHeader_native() 89 ALOGD(" headerSize=%d", flattenedHeader.headerSize); in readHeader_native() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | Registry.cpp | 37 int headerSize = gHeaderBytesRequired; in Find() local 38 char header[headerSize]; in Find() 39 headerSize = stream->peek(header, headerSize); in Find() 41 if (headerSize >= registry->mImpl.requiredHeaderBytes in Find() 42 && 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/libs/androidfw/ |
D | ResourceTypes.cpp | 106 const uint16_t headerSize = dtohs(chunk->headerSize); in validate_chunk() local 109 if (headerSize >= minSize) { in validate_chunk() 110 if (headerSize <= size) { in validate_chunk() 111 if (((headerSize|size)&0x3) == 0) { in validate_chunk() 120 name, (int)size, (int)headerSize); in validate_chunk() 124 name, size, headerSize); in validate_chunk() 128 name, headerSize); in validate_chunk() 470 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo() 480 if (mHeader->header.headerSize > mHeader->header.size in setTo() 483 (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/compile/libbcc/lib/Renderscript/ |
D | RSInfoReader.cpp | 203 if ((header->headerSize != sizeof(rsinfo::Header)) || in ReadFromFile() 216 if (((header->headerSize + header->strPoolSize) > filesize) || in ReadFromFile() 248 ::memcpy(result->mStringPool, data + result->mHeader.headerSize, in ReadFromFile()
|
D | RSInfo.cpp | 97 mHeader.headerSize = sizeof(mHeader); in RSInfo() 125 mHeader.headerSize + in layout() 153 ALOGV("\tHeader size: %u", mHeader.headerSize); in dump()
|
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
D | RSInfo.h | 74 uint16_t headerSize; member
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1089 header.header.headerSize = htods(sizeof(header)); in flatten() 1103 idsHeader->headerSize = htods(sizeof(*idsHeader)); in flatten() 1454 node.header.headerSize = htods(sizeof(node)); in flatten_node()
|
D | StringPool.cpp | 548 header->header.headerSize = htods(sizeof(*header)); in writeStringBlock()
|
D | ResourceTable.cpp | 2909 header->header.headerSize = htods(sizeof(*header)); in flatten() 2979 tsHeader->header.headerSize = htods(sizeof(*tsHeader)); in flatten() 3071 tHeader->header.headerSize = htods(sizeof(*tHeader)); in flatten() 3175 header.header.headerSize = htods(sizeof(header)); in flatten() 3233 libHeader->header.headerSize = htods(sizeof(*libHeader)); in flattenLibraryTable()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 1519 int headerSize = readInt(); in readExceptionCode() local 1520 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 | 686 size_t headerSize = protection_absent ? 7 : 9; in dequeueAccessUnitAAC() local
|