Home
last modified time | relevance | path

Searched refs:descriptor_proto (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2069 FileDescriptorProto descriptor_proto; in TEST_F() local
2070 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()
2071 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL); in TEST_F()
2082 other_file.set_dependency(0, descriptor_proto.name()); in TEST_F()
2136 void SortMessages(DescriptorProto* descriptor_proto) { in SortMessages() argument
2137 int size = descriptor_proto->nested_type_size(); in SortMessages()
2140 SortMessages(descriptor_proto->mutable_nested_type(i)); in SortMessages()
2143 descriptor_proto->mutable_nested_type()->mutable_data(); in SortMessages()
2547 const Message* descriptor_proto = NULL; in Parse() local
2551 &descriptor_proto, &field, &index)) { in Parse()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/benchmarks/
DBUILD17 name = "descriptor_proto",
23 deps = [":descriptor_proto"],
28 deps = [":descriptor_proto"],
38 deps = [":descriptor_proto"],
DBUILD.googleapis20 "@com_google_protobuf//:descriptor_proto",
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/
DBUILD27 "@com_google_protobuf//:descriptor_proto",
50 deps = ["@com_google_protobuf//:descriptor_proto"],
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py1013 descriptor_proto = descriptor_pb2.DescriptorProto()
1015 aggregate_message.DESCRIPTOR.CopyToProto(descriptor_proto)
1016 reformed_descriptor = descriptor.MakeDescriptor(descriptor_proto)
1023 descriptor_proto = descriptor_pb2.DescriptorProto()
1024 descriptor_proto.name = 'Bar'
1028 field = descriptor_proto.field.add()
1031 result = descriptor.MakeDescriptor(descriptor_proto)
1037 descriptor_proto = descriptor_pb2.DescriptorProto()
1038 descriptor_proto.name = 'TestJsonName'
1044 field = descriptor_proto.field.add()
[all …]
Ddescriptor_pool_test.py444 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
446 self.pool.Add(descriptor_proto)
/external/perfetto/src/trace_processor/util/
Ddescriptors.cc97 protozero::ConstBytes descriptor_proto, in AddNestedProtoDescriptors() argument
100 protos::pbzero::DescriptorProto::Decoder decoder(descriptor_proto); in AddNestedProtoDescriptors()
169 protozero::ConstBytes descriptor_proto, in AddEnumProtoDescriptors() argument
171 protos::pbzero::EnumDescriptorProto::Decoder decoder(descriptor_proto); in AddEnumProtoDescriptors()
Ddescriptors.h169 protozero::ConstBytes descriptor_proto,
175 protozero::ConstBytes descriptor_proto,
/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc298 auto* descriptor_proto = in WriteEnergyEstimationBreakdown() local
302 auto* desc_proto = descriptor_proto->add_energy_consumers(); in WriteEnergyEstimationBreakdown()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/
DBUILD132 deps = ["@com_google_protobuf//:descriptor_proto"],
138 deps = ["@com_google_protobuf//:descriptor_proto"],
/external/protobuf/python/google/protobuf/
Ddescriptor.py951 def _OptionsOrNone(descriptor_proto): argument
953 if descriptor_proto.HasField('options'):
954 return descriptor_proto.options
Ddescriptor_pool.py86 def _OptionsOrNone(descriptor_proto): argument
88 if descriptor_proto.HasField('options'):
89 return descriptor_proto.options
/external/perfetto/bazel/standalone/
Dperfetto_cfg.bzl52 protobuf_descriptor_proto = ["@com_google_protobuf//:descriptor_proto"]
/external/tensorflow/third_party/systemlibs/
Dgrpc.bazel.protobuf.bzl11 "@com_google_protobuf//:descriptor_proto",
/external/nos/host/generic/nugget/proto/
DBUILD435 "@com_google_protobuf//:descriptor_proto",
/external/rust/crates/grpcio-sys/grpc/bazel/
Dprotobuf.bzl13 "@com_google_protobuf//:descriptor_proto",
/external/protobuf/php/ext/google/protobuf/
Ddef.c920 if (!parse_and_add_descriptor((char *)descriptor_proto, in parse_and_add_descriptor()
Dbuiltin_descriptors.inc1 unsigned char descriptor_proto[] = {
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc184 bool descriptor_proto) { in PrintTopBoilerplate() argument
/external/tensorflow/tensorflow/core/platform/default/
Dbuild_config.bzl22 "@com_google_protobuf//:descriptor_proto",