Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DStatus.cpp109 int32_t header_size; in readFromParcel() local
110 status = parcel.readInt32(&header_size); in readFromParcel()
116 if (header_size < 0 || static_cast<size_t>(header_size) > header_avail) { in readFromParcel()
122 parcel.setDataPosition(header_start + header_size); in readFromParcel()
165 int32_t header_size; in readFromParcel() local
166 status = parcel.readInt32(&header_size); in readFromParcel()
172 if (header_size < 0 || static_cast<size_t>(header_size) > header_avail) { in readFromParcel()
178 parcel.setDataPosition(header_start + header_size); in readFromParcel()
/frameworks/base/libs/androidfw/
DChunkIterator.cpp76 const size_t header_size = dtohs(next_chunk_->headerSize); in VerifyNextChunk() local
78 if (header_size < sizeof(ResChunk_header)) { in VerifyNextChunk()
83 if (header_size > size) { in VerifyNextChunk()
93 if ((size | header_size) & 0x03) { in VerifyNextChunk()
/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/base/tools/aapt2/format/
DContainer.cpp112 const ::google::protobuf::uint32 header_size = file.ByteSize(); in AddResFileEntry() local
113 const int header_padding = CalculatePaddingForAlignment(header_size); in AddResFileEntry()
116 coded_out.WriteLittleEndian64(kResFileEntryHeaderSize + header_size + header_padding + data_size + in AddResFileEntry()
120 coded_out.WriteLittleEndian32(header_size); in AddResFileEntry()
/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/base/tools/aapt2/
Dformats.md37 | `4` | `header_size` | The size of the `header` field. …
39 | `header_size` | `header` | The serialized Protobuf message [aapt.pb.internal.CompiledFi…
/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()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp824 const int headerCount = report.header_size(); in get_args_from_report()