Searched refs:WriteVarInt (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/src/protozero/ |
D | proto_utils_unittest.cc | 112 uint8_t* res = WriteVarInt<uint64_t>(exp.int_value, buf); in TEST() 118 WriteVarInt<uint32_t>(static_cast<uint32_t>(exp.int_value), buf); in TEST() 131 uint8_t* res = WriteVarInt<int8_t>(-100, buf); in TEST() 137 uint8_t* res = WriteVarInt<int16_t>(-100, buf); in TEST() 143 uint8_t* res = WriteVarInt<int32_t>(-100, buf); in TEST() 149 uint8_t* res = WriteVarInt<int64_t>(-100, buf); in TEST()
|
D | message.cc | 80 pos = proto_utils::WriteVarInt(proto_utils::MakeTagLengthDelimited(field_id), in AppendBytes() 82 pos = proto_utils::WriteVarInt(static_cast<uint32_t>(size), pos); in AppendBytes() 101 pos = proto_utils::WriteVarInt(proto_utils::MakeTagLengthDelimited(field_id), in AppendScatteredBytes() 103 pos = proto_utils::WriteVarInt(static_cast<uint32_t>(size), pos); in AppendScatteredBytes() 147 uint8_t* data_end = proto_utils::WriteVarInt( in BeginNestedMessageInternal()
|
/external/perfetto/include/perfetto/protozero/ |
D | message.h | 103 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendVarInt() 105 pos = proto_utils::WriteVarInt(value, pos); in AppendVarInt() 125 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendTinyVarInt() 139 pos = proto_utils::WriteVarInt(proto_utils::MakeTagFixed<T>(field_id), pos); in AppendFixed()
|
D | proto_utils.h | 149 inline uint8_t* WriteVarInt(T value, uint8_t* target) { in WriteVarInt() function
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.cc | 27 using protozero::proto_utils::WriteVarInt; 52 WriteVarInt(size - 2, &header_[0]); in FakePacketFragment() 79 uint8_t* end = WriteVarInt(payload_.size(), &header_[0]); in FakePacketFragment()
|
/external/perfetto/src/tracing/core/ |
D | trace_packet.cc | 52 using protozero::proto_utils::WriteVarInt; in GetProtoPreamble() 59 ptr = WriteVarInt(size(), ptr); in GetProtoPreamble()
|
D | trace_writer_for_testing.cc | 85 uint8_t* data_end = protozero::proto_utils::WriteVarInt( in NewTracePacket()
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 39 using protozero::proto_utils::WriteVarInt; 57 ptr = WriteVarInt(tag, ptr); in GetPreamble() 58 ptr = WriteVarInt(sz, ptr); in GetPreamble()
|
D | perfetto_cmd.cc | 165 using protozero::proto_utils::WriteVarInt;
|