/external/perfetto/include/perfetto/protozero/ |
D | field.h | 57 inline proto_utils::ProtoWireType type() const { in type() 58 auto res = static_cast<proto_utils::ProtoWireType>(type_); in type() 59 PERFETTO_DCHECK(res == proto_utils::ProtoWireType::kVarInt || in type() 60 res == proto_utils::ProtoWireType::kLengthDelimited || in type() 61 res == proto_utils::ProtoWireType::kFixed32 || in type() 62 res == proto_utils::ProtoWireType::kFixed64); in type() 67 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt); in as_bool() 72 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_uint32() 73 type() == proto_utils::ProtoWireType::kFixed32); in as_uint32() 78 PERFETTO_DCHECK(!valid() || type() == proto_utils::ProtoWireType::kVarInt || in as_int32() [all …]
|
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 | BUILD.gn | 26 "proto_utils.h",
|
D | proto_utils.h | 29 namespace proto_utils {
|
/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() 97 PERFETTO_DCHECK(size < proto_utils::kMaxMessageLength); in AppendScatteredBytes() 99 uint8_t buffer[proto_utils::kMaxSimpleFieldEncodedSize]; in AppendScatteredBytes() 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() 125 PERFETTO_DCHECK(size_ < proto_utils::kMaxMessageLength); in Finalize() 127 proto_utils::WriteRedundantVarInt(size_ - size_already_written_, in Finalize() [all …]
|
D | message_unittest.cc | 237 uint8_t root_msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F() 308 uint8_t msg1_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F() 309 uint8_t msg2_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F() 310 uint8_t msg3_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F() 370 memset(size_msg_1, 0, proto_utils::kMessageLengthFieldSize); in TEST_F() 375 memset(size_msg_2, 0, proto_utils::kMessageLengthFieldSize); in TEST_F() 393 uint8_t msg_size[proto_utils::kMessageLengthFieldSize] = {}; in TEST_F()
|
D | proto_decoder.cc | 27 using namespace proto_utils; 99 if (PERFETTO_LIKELY(payload_length <= proto_utils::kMaxMessageLength)) { in ParseOneField()
|
D | proto_utils_unittest.cc | 26 namespace proto_utils { namespace
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_for_testing.cc | 84 uint8_t data[protozero::proto_utils::kMaxTagEncodedSize]; in NewTracePacket() 85 uint8_t* data_end = protozero::proto_utils::WriteVarInt( in NewTracePacket() 86 protozero::proto_utils::MakeTagLengthDelimited( in NewTracePacket() 93 stream_.ReserveBytes(protozero::proto_utils::kMessageLengthFieldSize)); in NewTracePacket()
|
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;
|
/external/tensorflow/tensorflow/core/util/proto/ |
D | BUILD | 65 name = "proto_utils", 66 srcs = ["proto_utils.cc"], 67 hdrs = ["proto_utils.h"], 82 ":proto_utils",
|
D | proto_utils_test.cc | 25 using proto_utils::ParseTextFormatFromString; 26 using proto_utils::StringErrorCollector;
|
D | proto_utils.h | 27 namespace proto_utils {
|
D | proto_utils.cc | 25 namespace proto_utils { namespace
|
/external/perfetto/src/traced/probes/ftrace/ |
D | event_info_constants.h | 143 protozero::proto_utils::ProtoSchemaType proto_field_type; 173 protozero::proto_utils::ProtoSchemaType proto, 178 protozero::proto_utils::ProtoSchemaType type);
|
D | event_info_unittest.cc | 24 using protozero::proto_utils::ProtoSchemaType;
|
D | event_info_constants.cc | 20 using protozero::proto_utils::ProtoSchemaType;
|
/external/tensorflow/tensorflow/core/kernels/ |
D | gpu_utils.cc | 119 proto_utils::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm() 122 proto_utils::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm() 130 proto_utils::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm() 133 proto_utils::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm()
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 36 using protozero::proto_utils::kMessageLengthFieldSize; 37 using protozero::proto_utils::MakeTagLengthDelimited; 38 using protozero::proto_utils::WriteRedundantVarInt; 39 using protozero::proto_utils::WriteVarInt;
|
/external/nos/host/android/hals/keymaster/ |
D | Android.bp | 25 "proto_utils.cpp", 31 "-Wno-implicit-fallthrough", // in proto_utils.cpp:836
|
/external/perfetto/src/tracing/test/ |
D | fake_packet.cc | 26 using protozero::proto_utils::ParseVarInt; 27 using protozero::proto_utils::WriteVarInt;
|
/external/perfetto/src/trace_processor/ |
D | ftrace_descriptors.h | 26 using protozero::proto_utils::ProtoSchemaType;
|
D | proto_trace_tokenizer.cc | 44 using protozero::proto_utils::MakeTagLengthDelimited; 45 using protozero::proto_utils::MakeTagVarInt; 46 using protozero::proto_utils::ParseVarInt;
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_conv_algorithm_picker.cc | 265 tensorflow::proto_utils::ToDurationProto( in PickBestAlgorithm() 339 tensorflow::proto_utils::FromDurationProto( in PickBestAlgorithm() 343 tensorflow::proto_utils::FromDurationProto( in PickBestAlgorithm()
|