Home
last modified time | relevance | path

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

12

/external/cronet/third_party/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2093 FileDescriptorProto descriptor_proto; in TEST_F() local
2094 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()
2095 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != nullptr); in TEST_F()
2106 other_file.set_dependency(0, descriptor_proto.name()); in TEST_F()
2160 void SortMessages(DescriptorProto* descriptor_proto) { in SortMessages() argument
2161 int size = descriptor_proto->nested_type_size(); in SortMessages()
2164 SortMessages(descriptor_proto->mutable_nested_type(i)); in SortMessages()
2167 descriptor_proto->mutable_nested_type()->mutable_data(); in SortMessages()
2578 const Message* descriptor_proto = nullptr; in Parse() local
2582 &descriptor_proto, &field, &index)) { in Parse()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2095 FileDescriptorProto descriptor_proto; in TEST_F() local
2096 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()
2097 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != nullptr); in TEST_F()
2108 other_file.set_dependency(0, descriptor_proto.name()); in TEST_F()
2162 void SortMessages(DescriptorProto* descriptor_proto) { in SortMessages() argument
2163 int size = descriptor_proto->nested_type_size(); in SortMessages()
2166 SortMessages(descriptor_proto->mutable_nested_type(i)); in SortMessages()
2169 descriptor_proto->mutable_nested_type()->mutable_data(); in SortMessages()
2580 const Message* descriptor_proto = nullptr; in Parse() local
2584 &descriptor_proto, &field, &index)) { in Parse()
[all …]
/external/cronet/testing/libfuzzer/fuzzers/mach/
Dmach_message_converter.cc69 const Descriptor& descriptor_proto, in ConvertDescriptor() argument
71 switch (descriptor_proto.descriptor_oneof_case()) { in ConvertDescriptor()
74 SendablePort port = ConvertPort(descriptor_proto.port()); in ConvertDescriptor()
86 const_cast<char*>(descriptor_proto.ool().data().data()); in ConvertDescriptor()
87 descriptor->size = descriptor_proto.ool().data().size(); in ConvertDescriptor()
/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/protobuf-parse/src/pure/
Dparse_and_typecheck.rs112 let descriptor_proto = convert::file_descriptor(protobuf_path, &parsed, &this_file_deps) in add_file_content() localVariable
123 let descriptor = FileDescriptor::new_dynamic(descriptor_proto.clone(), &deps)?; in add_file_content()
129 descriptor_proto, in add_file_content()
279 .map(|(_, v)| v.descriptor_proto) in parse_and_typecheck()
306 .map(|(_, v)| v.descriptor_proto) in parse_and_typecheck_custom()
/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.py1034 descriptor_proto = descriptor_pb2.DescriptorProto()
1036 aggregate_message.DESCRIPTOR.CopyToProto(descriptor_proto)
1037 reformed_descriptor = descriptor.MakeDescriptor(descriptor_proto)
1044 descriptor_proto = descriptor_pb2.DescriptorProto()
1045 descriptor_proto.name = 'Bar'
1049 field = descriptor_proto.field.add()
1052 result = descriptor.MakeDescriptor(descriptor_proto)
1058 descriptor_proto = descriptor_pb2.DescriptorProto()
1059 descriptor_proto.name = 'TestJsonName'
1065 field = descriptor_proto.field.add()
[all …]
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py1034 descriptor_proto = descriptor_pb2.DescriptorProto()
1036 aggregate_message.DESCRIPTOR.CopyToProto(descriptor_proto)
1037 reformed_descriptor = descriptor.MakeDescriptor(descriptor_proto)
1044 descriptor_proto = descriptor_pb2.DescriptorProto()
1045 descriptor_proto.name = 'Bar'
1049 field = descriptor_proto.field.add()
1052 result = descriptor.MakeDescriptor(descriptor_proto)
1058 descriptor_proto = descriptor_pb2.DescriptorProto()
1059 descriptor_proto.name = 'TestJsonName'
1065 field = descriptor_proto.field.add()
[all …]
/external/perfetto/src/trace_processor/util/
Ddescriptors.cc101 protozero::ConstBytes descriptor_proto, in AddNestedProtoDescriptors() argument
104 protos::pbzero::DescriptorProto::Decoder decoder(descriptor_proto); in AddNestedProtoDescriptors()
172 protozero::ConstBytes descriptor_proto, in AddEnumProtoDescriptors() argument
174 protos::pbzero::EnumDescriptorProto::Decoder decoder(descriptor_proto); in AddEnumProtoDescriptors()
Ddescriptors.h188 protozero::ConstBytes descriptor_proto,
194 protozero::ConstBytes descriptor_proto,
/external/rust/crates/protobuf-parse/src/
Dlib.rs47 pub(crate) descriptor_proto: protobuf::descriptor::FileDescriptorProto, field
/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc344 auto* descriptor_proto = in WriteEnergyEstimationBreakdown() local
348 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/build_defs/
DBUILD.bazel99 deps = ["//:descriptor_proto"],
/external/cronet/third_party/protobuf/python/google/protobuf/
Ddescriptor.py1095 def _OptionsOrNone(descriptor_proto): argument
1097 if descriptor_proto.HasField('options'):
1098 return descriptor_proto.options
Ddescriptor_pool.py102 def _OptionsOrNone(descriptor_proto): argument
104 if descriptor_proto.HasField('options'):
105 return descriptor_proto.options
/external/protobuf/python/google/protobuf/
Ddescriptor.py1099 def _OptionsOrNone(descriptor_proto): argument
1101 if descriptor_proto.HasField('options'):
1102 return descriptor_proto.options
Ddescriptor_pool.py102 def _OptionsOrNone(descriptor_proto): argument
104 if descriptor_proto.HasField('options'):
105 return descriptor_proto.options
/external/protobuf/java/core/
DBUILD.bazel157 "//:descriptor_proto",
223 "//:descriptor_proto",
244 "//:descriptor_proto",
/external/pigweed/pw_tokenizer/
DBUILD.bazel119 "@com_google_protobuf//:descriptor_proto",
/external/rust/crates/protobuf/src/reflect/message/
Dmod.rs346 use crate::descriptor::descriptor_proto::ExtensionRange;
/external/pigweed/pw_protobuf/
DBUILD.bazel220 "@com_google_protobuf//:descriptor_proto",
/external/protobuf/java/kotlin/
DBUILD.bazel311 "//:descriptor_proto",
/external/rust/crates/protobuf-parse/src/pure/convert/
Dmod.rs7 use protobuf::descriptor::descriptor_proto::ReservedRange;
298 let mut extension_range = protobuf::descriptor::descriptor_proto::ExtensionRange::new(); in message()

12