Searched refs:file_desc_proto (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/python/google/protobuf/ |
D | descriptor_database.py | 51 def Add(self, file_desc_proto): argument 61 proto_name = file_desc_proto.name 63 self._file_desc_protos_by_file[proto_name] = file_desc_proto 64 elif self._file_desc_protos_by_file[proto_name] != file_desc_proto: 68 package = file_desc_proto.package 69 for message in file_desc_proto.message_type: 71 (name, file_desc_proto) for name in _ExtractSymbols(message, package)) 72 for enum in file_desc_proto.enum_type: 74 '.'.join((package, enum.name))] = file_desc_proto
|
D | descriptor_pool.py | 104 def Add(self, file_desc_proto): argument 111 self._internal_db.Add(file_desc_proto)
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_database.py | 43 def Add(self, file_desc_proto): argument 50 self._file_desc_protos_by_file[file_desc_proto.name] = file_desc_proto 51 package = file_desc_proto.package 52 for message in file_desc_proto.message_type: 54 (name, file_desc_proto) for name in _ExtractSymbols(message, package)) 55 for enum in file_desc_proto.enum_type: 57 '.'.join((package, enum.name))] = file_desc_proto
|
D | descriptor_pool.py | 83 def Add(self, file_desc_proto): argument 90 self._internal_db.Add(file_desc_proto)
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_database_test.py | 47 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString( 49 db.Add(file_desc_proto) 51 self.assertEquals(file_desc_proto, db.FindFileByName( 53 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( 55 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( 57 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( 59 self.assertEquals(file_desc_proto, db.FindFileContainingSymbol(
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 5469 FileDescriptorProto file_desc_proto; in TEST_F() local 5470 ASSERT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 5472 file_desc->CopyTo(&file_desc_proto); in TEST_F() 5473 EXPECT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 5479 FileDescriptorProto file_desc_proto; in TEST_F() local 5480 ASSERT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 5482 file_desc->CopySourceCodeInfoTo(&file_desc_proto); in TEST_F() 5483 const SourceCodeInfo& info = file_desc_proto.source_code_info(); in TEST_F()
|