Searched refs:file_desc_proto (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/python/google/protobuf/ |
D | descriptor_database.py | 53 def Add(self, file_desc_proto): argument 63 proto_name = file_desc_proto.name 65 self._file_desc_protos_by_file[proto_name] = file_desc_proto 66 elif self._file_desc_protos_by_file[proto_name] != file_desc_proto: 73 package = file_desc_proto.package 74 for message in file_desc_proto.message_type: 76 self._AddSymbol(name, file_desc_proto) 77 for enum in file_desc_proto.enum_type: 78 self._AddSymbol(('.'.join((package, enum.name))), file_desc_proto) 81 '.'.join((package, enum_value.name))] = file_desc_proto [all …]
|
D | descriptor_pool.py | 179 def Add(self, file_desc_proto): argument 186 self._internal_db.Add(file_desc_proto) 198 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString( 200 self.Add(file_desc_proto)
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_database_test.py | 56 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString( 60 db.Add(file_desc_proto) 63 self.assertEqual(file_desc_proto, db.FindFileByName( 66 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 69 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 72 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 75 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 77 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 80 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 83 self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/ext/ |
D | proto_server_reflection.cc | 200 protobuf::FileDescriptorProto file_desc_proto; in FillFileDescriptorResponse() local 202 file_desc->CopyTo(&file_desc_proto); in FillFileDescriptorResponse() 203 file_desc_proto.SerializeToString(&data); in FillFileDescriptorResponse()
|
/external/grpc-grpc/src/cpp/ext/ |
D | proto_server_reflection.cc | 201 protobuf::FileDescriptorProto file_desc_proto; in FillFileDescriptorResponse() local 203 file_desc->CopyTo(&file_desc_proto); in FillFileDescriptorResponse() 204 file_desc_proto.SerializeToString(&data); in FillFileDescriptorResponse()
|
/external/grpc-grpc/test/cpp/util/ |
D | proto_reflection_descriptor_database.cc | 293 protobuf::FileDescriptorProto file_desc_proto; in ParseFileDescriptorProtoResponse() local 294 file_desc_proto.ParseFromString(byte_fd_proto); in ParseFileDescriptorProtoResponse() 295 return file_desc_proto; in ParseFileDescriptorProtoResponse()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 7656 FileDescriptorProto file_desc_proto; in TEST_F() local 7657 ASSERT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 7659 file_desc->CopyTo(&file_desc_proto); in TEST_F() 7660 EXPECT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 7666 FileDescriptorProto file_desc_proto; in TEST_F() local 7667 ASSERT_FALSE(file_desc_proto.has_source_code_info()); in TEST_F() 7669 file_desc->CopySourceCodeInfoTo(&file_desc_proto); in TEST_F() 7670 const SourceCodeInfo& info = file_desc_proto.source_code_info(); in TEST_F()
|