Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1645 FileDescriptorProto descriptor_proto; in TEST_F() local
1646 DescriptorProto::descriptor()->file()->CopyTo(&descriptor_proto); in TEST_F()
1647 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL); in TEST_F()
1658 other_file.set_dependency(0, descriptor_proto.name()); in TEST_F()
1712 void SortMessages(DescriptorProto *descriptor_proto) { in SortMessages() argument
1713 int size = descriptor_proto->nested_type_size(); in SortMessages()
1716 SortMessages(descriptor_proto->mutable_nested_type(i)); in SortMessages()
1719 descriptor_proto->mutable_nested_type()->mutable_data(); in SortMessages()
2125 const Message* descriptor_proto = NULL; in Parse() local
2129 &descriptor_proto, &field, &index)) { in Parse()
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py797 descriptor_proto = descriptor_pb2.DescriptorProto()
799 aggregate_message.DESCRIPTOR.CopyToProto(descriptor_proto)
800 reformed_descriptor = descriptor.MakeDescriptor(descriptor_proto)
807 descriptor_proto = descriptor_pb2.DescriptorProto()
808 descriptor_proto.name = 'Bar'
812 field = descriptor_proto.field.add()
815 result = descriptor.MakeDescriptor(descriptor_proto)
Ddescriptor_pool_test.py307 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
309 self.pool.Add(descriptor_proto)
/external/nos/host/generic/nugget/proto/
DBUILD341 "@com_google_protobuf//:descriptor_proto",
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc165 io::Printer* printer, const FileDescriptor* file, bool descriptor_proto) { in PrintTopBoilerplate() argument
190 if (!descriptor_proto) { in PrintTopBoilerplate()