Home
last modified time | relevance | path

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

/external/pigweed/pw_protobuf/
Dencoder.cc34 std::span varint_buf = buffer_.last(RemainingSize()); in WriteVarint() local
35 if (varint_buf.empty()) { in WriteVarint()
40 size_t written = pw::varint::EncodeLittleEndianBase128(value, varint_buf); in WriteVarint()
162 std::span<std::byte> varint_buf(write_cursor, sizeof(*size_cursor)); in EncodeFrom() local
164 pw::varint::EncodeLittleEndianBase128(nested_size, varint_buf); in EncodeFrom()
169 read_cursor += varint_buf.size(); in EncodeFrom()
/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc332 byte varint_buf[varint::kMaxVarint32SizeBytes]; in FrontEntryInfo() local
334 RawRead(varint_buf, reader.read_idx, varint::kMaxVarint32SizeBytes); in FrontEntryInfo()
335 user_preamble_bytes = varint::Decode(varint_buf, &user_preamble_data); in FrontEntryInfo()
340 RawRead(varint_buf, in FrontEntryInfo()
344 size_t length_bytes = varint::Decode(varint_buf, &entry_bytes); in FrontEntryInfo()