Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Ddescriptor_test.py798 descriptor_proto = descriptor_pb2.DescriptorProto()
800 aggregate_message.DESCRIPTOR.CopyToProto(descriptor_proto)
801 reformed_descriptor = descriptor.MakeDescriptor(descriptor_proto)
808 descriptor_proto = descriptor_pb2.DescriptorProto()
809 descriptor_proto.name = 'Bar'
813 field = descriptor_proto.field.add()
816 result = descriptor.MakeDescriptor(descriptor_proto)
Ddescriptor_pool_test.py308 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
310 self.pool.Add(descriptor_proto)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc171 io::Printer* printer, const FileDescriptor* file, bool descriptor_proto) { in PrintTopBoilerplate() argument
196 if (!descriptor_proto) { in PrintTopBoilerplate()