Searched refs:sizePos (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/protoutil/src/ |
D | ProtoOutputStream.cpp | 228 makeToken(uint32_t tagSize, bool repeated, uint32_t depth, uint32_t objectId, size_t sizePos) { in makeToken() argument 233 | (UINT64_C(0x0ffffffff) & (uint64_t)sizePos); in makeToken() 268 size_t sizePos = mBuffer.wp()->pos(); in start() local 274 mExpectedObjectToken = makeToken(sizePos - prevPos, in start() 275 (bool)(fieldId & FIELD_COUNT_REPEATED), mDepth, mObjectId, sizePos); in start() 294 uint32_t sizePos = getSizePosFromToken(token); in end() local 296 int childRawSize = mBuffer.wp()->pos() - sizePos - 8; in end() 299 mBuffer.ep()->rewind()->move(sizePos); in end() 304 mBuffer.editRawFixed32(sizePos, -childRawSize); in end() 305 mBuffer.editRawFixed32(sizePos+4, -1); in end() [all …]
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2019 int sizePos) { in makeToken() argument 2024 | (0x0ffffffffL & (long)sizePos); in makeToken() 2150 final int sizePos = mBuffer.getWritePos(); in startObjectImpl() local 2162 mExpectedObjectToken = makeToken(getTagSize(id), repeated, mDepth, mNextObjectId, sizePos); in startObjectImpl() 2178 final int sizePos = getSizePosFromToken(token); in endObjectImpl() local 2179 final int childRawSize = mBuffer.getWritePos() - sizePos - 8; in endObjectImpl() 2202 mExpectedObjectToken = (((long)mBuffer.getRawFixed32At(sizePos)) << 32) in endObjectImpl() 2203 | (0x0ffffffffL & (long)mBuffer.getRawFixed32At(sizePos+4)); in endObjectImpl() 2207 mBuffer.editRawFixed32(sizePos, -childRawSize); in endObjectImpl() 2208 mBuffer.editRawFixed32(sizePos+4, -1); in endObjectImpl() [all …]
|