Searched refs:sizePos (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/protoutil/src/ |
D | ProtoOutputStream.cpp | 223 makeToken(uint32_t tagSize, bool repeated, uint32_t depth, uint32_t objectId, size_t sizePos) { in makeToken() argument 228 | (UINT64_C(0x0ffffffff) & (uint64_t)sizePos); in makeToken() 263 size_t sizePos = mBuffer->wp()->pos(); in start() local 269 mExpectedObjectToken = makeToken(sizePos - prevPos, in start() 270 (bool)(fieldId & FIELD_COUNT_REPEATED), mDepth, mObjectId, sizePos); in start() 291 uint32_t sizePos = getSizePosFromToken(token); in end() local 293 int childRawSize = mBuffer->wp()->pos() - sizePos - 8; in end() 296 mBuffer->ep()->rewind()->move(sizePos); in end() 301 mBuffer->editRawFixed32(sizePos, -childRawSize); in end() 302 mBuffer->editRawFixed32(sizePos+4, -1); in end() [all …]
|
/frameworks/native/libs/binder/ |
D | ParcelableHolder.cpp | 37 size_t sizePos = p->dataPosition(); in writeToParcel() local 44 p->setDataPosition(sizePos); in writeToParcel()
|
/frameworks/base/core/java/android/os/ |
D | ParcelableHolder.java | 222 int sizePos = parcel.dataPosition(); in writeToParcel() local 228 parcel.setDataPosition(sizePos); in writeToParcel()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2068 final int sizePos = mBuffer.getWritePos(); in startObjectImpl() local 2080 mExpectedObjectToken = makeToken(getTagSize(id), repeated, mDepth, mNextObjectId, sizePos); in startObjectImpl() 2096 final int sizePos = getOffsetFromToken(token); in endObjectImpl() local 2097 final int childRawSize = mBuffer.getWritePos() - sizePos - 8; in endObjectImpl() 2120 mExpectedObjectToken = (((long)mBuffer.getRawFixed32At(sizePos)) << 32) in endObjectImpl() 2121 | (0x0ffffffffL & (long)mBuffer.getRawFixed32At(sizePos+4)); in endObjectImpl() 2125 mBuffer.editRawFixed32(sizePos, -childRawSize); in endObjectImpl() 2126 mBuffer.editRawFixed32(sizePos+4, -1); in endObjectImpl() 2128 mBuffer.editRawFixed32(sizePos, 0); in endObjectImpl() 2129 mBuffer.editRawFixed32(sizePos+4, 0); in endObjectImpl() [all …]
|