Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/binder/
DStatus.cpp83 int32_t header_size; in readFromParcel() local
84 status = parcel.readInt32(&header_size); in readFromParcel()
90 if (header_size < 0 || static_cast<size_t>(header_size) > header_avail) { in readFromParcel()
96 parcel.setDataPosition(header_start + header_size); in readFromParcel()
123 int32_t header_size; in readFromParcel() local
124 status = parcel.readInt32(&header_size); in readFromParcel()
130 if (header_size < 0 || static_cast<size_t>(header_size) > header_avail) { in readFromParcel()
136 parcel.setDataPosition(header_start + header_size); in readFromParcel()
/frameworks/base/libs/androidfw/
DChunkIterator.cpp57 const size_t header_size = dtohs(next_chunk_->headerSize); in VerifyNextChunk() local
59 if (header_size < sizeof(ResChunk_header)) { in VerifyNextChunk()
64 if (header_size > size) { in VerifyNextChunk()
74 if ((size | header_size) & 0x03) { in VerifyNextChunk()
DLoadedArsc.cpp224 const size_t offsets_offset = chunk.header_size(); in VerifyType()
/frameworks/base/libs/androidfw/include/androidfw/
DChunk.h49 inline size_t header_size() const { return dtohs(device_chunk_->headerSize); } in header_size() function
53 if (header_size() >= MinSize) { in header()
60 return reinterpret_cast<const uint8_t*>(device_chunk_) + header_size(); in data_ptr()
63 inline size_t data_size() const { return size() - header_size(); } in data_size()
/frameworks/ex/framesequence/jni/
DRegistry.h29 bool (*checkHeader)(void* header, int header_size);
DFrameSequence_webp.cpp382 static bool isWebP(void* header, int header_size) { in isWebP() argument
384 return (header_size >= RIFF_HEADER_SIZE) && in isWebP()
DFrameSequence_gif.cpp341 static bool isGif(void* header, int header_size) { in isGif() argument
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp305 unsigned int header_size = sizeof(ElfXX_Shdr) * sectNum; in emitSectionHeader() local
307 pOutput.request(getLastStartOffset<SIZE>(pModule), header_size); in emitSectionHeader()