Home
last modified time | relevance | path

Searched refs:proto_utils (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/src/protozero/
Dmessage.cc76 PERFETTO_DCHECK(size < proto_utils::kMaxMessageLength); in AppendBytes()
78 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; in AppendBytes()
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()
100 PERFETTO_DCHECK(size_ < proto_utils::kMaxMessageLength); in Finalize()
102 proto_utils::WriteRedundantVarInt(size_ - size_already_written_, in Finalize()
121 uint8_t data[proto_utils::kMaxTagEncodedSize]; in BeginNestedMessageInternal()
122 uint8_t* data_end = proto_utils::WriteVarInt( in BeginNestedMessageInternal()
123 proto_utils::MakeTagLengthDelimited(field_id), data); in BeginNestedMessageInternal()
133 stream_writer_->ReserveBytes(proto_utils::kMessageLengthFieldSize)); in BeginNestedMessageInternal()
[all …]
Dmessage_unittest.cc214 uint8_t root_msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
286 uint8_t msg1_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
287 uint8_t msg2_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
288 uint8_t msg3_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
348 memset(size_msg_1, 0, proto_utils::kMessageLengthFieldSize); in TEST_F()
353 memset(size_msg_2, 0, proto_utils::kMessageLengthFieldSize); in TEST_F()
371 uint8_t msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
Dproto_utils.cc31 namespace proto_utils { namespace
DBUILD.gn32 "proto_utils.cc",
Dproto_utils_unittest.cc26 namespace proto_utils { namespace
/external/perfetto/include/perfetto/protozero/
Dmessage.h100 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; in AppendVarInt()
103 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendVarInt()
105 pos = proto_utils::WriteVarInt(value, pos); in AppendVarInt()
112 AppendVarInt(field_id, proto_utils::ZigZagEncode(value)); in AppendSignedVarInt()
122 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; in AppendTinyVarInt()
125 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendTinyVarInt()
136 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; in AppendFixed()
139 pos = proto_utils::WriteVarInt(proto_utils::MakeTagFixed<T>(field_id), pos); in AppendFixed()
Dproto_utils.h26 namespace proto_utils {
/external/perfetto/src/tracing/core/
Dtrace_packet.cc51 using protozero::proto_utils::MakeTagLengthDelimited; in GetProtoPreamble()
52 using protozero::proto_utils::WriteVarInt; in GetProtoPreamble()
Dtrace_writer_impl.cc31 using protozero::proto_utils::kMessageLengthFieldSize;
32 using protozero::proto_utils::WriteRedundantVarInt;
Dtrace_buffer.cc645 std::min(packet_begin + protozero::proto_utils::kMessageLengthFieldSize, in ReadNextPacketInChunk()
647 const uint8_t* packet_data = protozero::proto_utils::ParseVarInt( in ReadNextPacketInChunk()
/external/perfetto/src/tracing/test/
Dfake_packet.cc26 using protozero::proto_utils::ParseVarInt;
27 using protozero::proto_utils::WriteVarInt;
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd.cc71 using protozero::proto_utils::WriteVarInt;
72 using protozero::proto_utils::MakeTagLengthDelimited;
/external/nos/host/android/hals/keymaster/
DAndroid.bp25 "proto_utils.cpp",
/external/perfetto/
DAndroid.bp61 "src/protozero/proto_utils.cc",
163 "src/protozero/proto_utils.cc",
306 "src/protozero/proto_utils.cc",
3444 "src/protozero/proto_utils.cc",
3658 "src/protozero/proto_utils.cc",