Home
last modified time | relevance | path

Searched refs:pbSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp482 uint64_t pbSize = 0u; in CompiledFile() local
483 if (!mIn.ReadLittleEndian64(&pbSize)) { in CompiledFile()
486 mIn.PushLimit(static_cast<int>(pbSize)); in CompiledFile()
491 const size_t padding = 4 - (pbSize & 0x03); in CompiledFile()
492 const size_t offset = sizeof(uint64_t) + pbSize + padding; in CompiledFile()
DTableProtoSerializer.cpp297 const uint64_t pbSize = mPbFile->ByteSize(); in ensureFileWritten() local
298 mOut.WriteLittleEndian64(pbSize); in ensureFileWritten()
300 const size_t padding = 4 - (pbSize & 0x03); in ensureFileWritten()