Searched refs:header_size (Results 1 – 9 of 9) sorted by relevance
109 int32_t header_size; in readFromParcel() local110 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()171 int32_t header_size; in readFromParcel() local172 status = parcel.readInt32(&header_size); in readFromParcel()178 if (header_size < 0 || static_cast<size_t>(header_size) > header_avail) { in readFromParcel()184 parcel.setDataPosition(header_start + header_size); in readFromParcel()
87 const size_t header_size = dtohs(next_chunk_->headerSize); in VerifyNextChunk() local89 if (header_size < sizeof(ResChunk_header)) { in VerifyNextChunk()94 if (header_size > size) { in VerifyNextChunk()104 if ((size | header_size) & 0x03U) { in VerifyNextChunk()
49 inline size_t header_size() const { return dtohs(device_chunk_->headerSize); } in header_size() function53 return (header_size() >= MinSize) ? device_chunk_.convert<T>() : nullptr; in header()57 return device_chunk_.offset(header_size()); in data_ptr()60 inline size_t data_size() const { return size() - header_size(); } in data_size()
497 const uint32_t header_size = in writeToByteString() local499 + sizeof(header_size) // header size in writeToByteString()508 uint32_t size = header_size in writeToByteString()531 || insert(header_size, &filling, buildmax) != NO_ERROR in writeToByteString()571 uint32_t header_size; in readFromByteString() local580 || extract(&header_size, &read, readend) != NO_ERROR in readFromByteString()589 || header_size > size) { in readFromByteString()595 if (pos > header_size) { in readFromByteString()597 __func__, pos, header_size); in readFromByteString()599 } else if (pos < header_size) { in readFromByteString()[all …]
112 const size_t header_size = file.ByteSizeLong(); in AddResFileEntry() local113 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()
37 | `4` | `header_size` | The size of the `header` field. …39 | `header_size` | `header` | The serialized Protobuf message [aapt.pb.internal.CompiledFi…
547 int header_size = DIGEST_SIZE_BYTES + HEADER_SIZE; in formatPartitionLocked() local548 ByteBuffer buf = ByteBuffer.allocate(header_size); in formatPartitionLocked()557 int payload_size = (int) getBlockDeviceSize() - header_size; in formatPartitionLocked()
305 unsigned int header_size = sizeof(ElfXX_Shdr) * sectNum; in emitSectionHeader() local307 pOutput.request(getLastStartOffset<SIZE>(pModule), header_size); in emitSectionHeader()
860 const int headerCount = report.header_size(); in get_args_from_report()