Home
last modified time | relevance | path

Searched refs:SIZE_RESERVED_LEN (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/proto_encoder/src/
H A Dbase_message.cpp56 if (!writeCtx_->getMemory(writeCtx_, SIZE_RESERVED_LEN, in FinishSubMessage()
71 EncodeVarintPadding(fieldMemory, subSize, SIZE_RESERVED_LEN); in FinishSubMessage()
72 size_ += SIZE_RESERVED_LEN + subSize; in FinishSubMessage()
74 writeCtx_->seek(writeCtx_, backfillOffset_ + SIZE_RESERVED_LEN + subSize); in FinishSubMessage()
88 if (!writeCtx_->getMemory(writeCtx_, VARINT_ENCODE_MAX_SIZE + SIZE_RESERVED_LEN + dataSize, in AddBytes()
120 if (!writeCtx_->getMemory(writeCtx_, VARINT_ENCODE_MAX_SIZE + SIZE_RESERVED_LEN, in StartAddBytes()
130 writeCtx_->seek(writeCtx_, backfillOffset_ + SIZE_RESERVED_LEN); in StartAddBytes()
144 if (!writeCtx_->getMemory(writeCtx_, SIZE_RESERVED_LEN, &fieldMemory, &backfillOffset_)) { in FinishAddBytes()
158 EncodeVarintPadding(fieldMemory, size, SIZE_RESERVED_LEN); in FinishAddBytes()
159 size_ += SIZE_RESERVED_LEN in FinishAddBytes()
[all...]
/developtools/profiler/proto_encoder/include/
H A Dbase_message.h47 constexpr uint8_t SIZE_RESERVED_LEN = 4; member
266 if (!writeCtx_->getMemory(writeCtx_, VARINT_ENCODE_MAX_SIZE + SIZE_RESERVED_LEN, in AddSubMessage()
276 writeCtx_->seek(writeCtx_, backfillOffset_ + SIZE_RESERVED_LEN); in AddSubMessage()
351 if (!writeCtx_->getMemory(writeCtx_, VARINT_ENCODE_MAX_SIZE + SIZE_RESERVED_LEN + dataSize, in AddPackedFixed()

Completed in 2 milliseconds