Searched refs:proto_utils (Results 1 – 14 of 14) sorted by relevance
/external/perfetto/src/protozero/ |
D | message.cc | 76 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 …]
|
D | message_unittest.cc | 214 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()
|
D | proto_utils.cc | 31 namespace proto_utils { namespace
|
D | BUILD.gn | 32 "proto_utils.cc",
|
D | proto_utils_unittest.cc | 26 namespace proto_utils { namespace
|
/external/perfetto/include/perfetto/protozero/ |
D | message.h | 100 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()
|
D | proto_utils.h | 26 namespace proto_utils {
|
/external/perfetto/src/tracing/core/ |
D | trace_packet.cc | 51 using protozero::proto_utils::MakeTagLengthDelimited; in GetProtoPreamble() 52 using protozero::proto_utils::WriteVarInt; in GetProtoPreamble()
|
D | trace_writer_impl.cc | 31 using protozero::proto_utils::kMessageLengthFieldSize; 32 using protozero::proto_utils::WriteRedundantVarInt;
|
D | trace_buffer.cc | 645 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/ |
D | fake_packet.cc | 26 using protozero::proto_utils::ParseVarInt; 27 using protozero::proto_utils::WriteVarInt;
|
/external/perfetto/src/perfetto_cmd/ |
D | perfetto_cmd.cc | 71 using protozero::proto_utils::WriteVarInt; 72 using protozero::proto_utils::MakeTagLengthDelimited;
|
/external/nos/host/android/hals/keymaster/ |
D | Android.bp | 25 "proto_utils.cpp",
|
/external/perfetto/ |
D | Android.bp | 61 "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",
|