/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 188 TEST_P(DescriptorDatabaseTest, FindFileByName) { in TEST_P() argument 198 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P() 205 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); in TEST_P() 213 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); in TEST_P() 567 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { in TEST_F() argument 571 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); in TEST_F() 579 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); in TEST_F() 587 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 595 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 603 EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); in TEST_F()
|
D | descriptor_database.h | 72 virtual bool FindFileByName(const string& filename, 145 bool FindFileByName(const string& filename, 290 bool FindFileByName(const string& filename, 319 bool FindFileByName(const string& filename, 348 bool FindFileByName(const string& filename,
|
D | descriptor_database.cc | 266 bool SimpleDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::SimpleDescriptorDatabase 328 bool EncodedDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::EncodedDescriptorDatabase 396 bool DescriptorPoolDatabase::FindFileByName( in FindFileByName() function in google::protobuf::DescriptorPoolDatabase 399 const FileDescriptor* file = pool_.FindFileByName(filename); in FindFileByName() 461 bool MergedDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::MergedDescriptorDatabase 465 if (sources_[i]->FindFileByName(filename, output)) { in FindFileByName() 483 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingSymbol() 507 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingExtension()
|
D | descriptor_unittest.cc | 2453 return pool_->FindFileByName(proto.name()); in BuildFile() 2483 EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name())); in TEST_P() 2484 EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL); in TEST_P() 5897 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase 5944 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase 5947 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 5975 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase 5977 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 5981 return FindFileByName("foo.proto", output); in FindFileContainingSymbol() 5986 return FindFileByName("foo.proto", output); in FindFileContainingExtension() [all …]
|
D | empty.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto()
|
D | field_mask.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
|
D | duration.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fduration_2eproto()
|
D | source_context.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fsource_5fcontext_2eproto()
|
D | timestamp.pb.cc | 35 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 75 file_desc1 = self.pool.FindFileByName(name1) 82 file_desc2 = self.pool.FindFileByName(name2) 90 self.pool.FindFileByName('Does not exist') 301 file_descriptor = symbol_database.Default().pool.FindFileByName( 311 file_descriptor = self.pool.FindFileByName( 365 file_desc = pool.FindFileByName(self.name) 543 pool.FindFileByName( 579 pool.FindFileByName( 600 pool.FindFileByName( 613 self.assertRaises(KeyError, pool.FindFileByName, proto_file_name) [all …]
|
D | descriptor_database_test.py | 55 self.assertEqual(file_desc_proto, db.FindFileByName(
|
D | symbol_database_test.py | 124 self._Database().pool.FindFileByName(
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 221 PyObject* FindFileByName(PyDescriptorPool* self, PyObject* arg) { in FindFileByName() function 229 self->pool->FindFileByName(string(name, name_size)); in FindFileByName() 341 self->pool->FindFileByName(file_descriptor->name())) { in AddFileDescriptor() 436 generated_file = self->underlay->FindFileByName(file_proto.name()); in AddSerializedFile() 482 { "FindFileByName", (PyCFunction)FindFileByName, METH_O,
|
D | descriptor_database.h | 51 bool FindFileByName(const string& filename,
|
D | descriptor_database.cc | 111 bool PyDescriptorDatabase::FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::python::PyDescriptorDatabase
|
/external/grpc-grpc/test/cpp/util/ |
D | proto_reflection_descriptor_database.cc | 59 bool ProtoReflectionDescriptorDatabase::FindFileByName( in FindFileByName() function in grpc::ProtoReflectionDescriptorDatabase 61 if (cached_db_.FindFileByName(filename, output)) { in FindFileByName() 103 return cached_db_.FindFileByName(filename, output); in FindFileByName()
|
D | proto_reflection_descriptor_database.h | 49 bool FindFileByName(const string& filename,
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 179 def FindFileByName(self, file_name): member in DescriptorPool 198 file_proto = self._internal_db.FindFileByName(file_name) 201 file_proto = self._descriptor_db.FindFileByName(file_name) 321 direct_deps = [self.FindFileByName(n) for n in file_proto.dependency] 709 dep_desc = self.FindFileByName(dependency)
|
D | descriptor_database.py | 80 def FindFileByName(self, name): member in DescriptorDatabase
|
D | message_factory.py | 105 file_desc = self.pool.FindFileByName(file_name)
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 126 bool SourceTreeDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::compiler::SourceTreeDescriptorDatabase 214 return pool_.FindFileByName(filename); in Import()
|
D | plugin.cc | 110 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in GenerateCode()
|
D | importer.h | 99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
|
/external/grpc-grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/ |
D | reflection.py | 59 descriptor = self._pool.FindFileByName(filename)
|
/external/grpc-grpc/src/cpp/ext/ |
D | proto_server_reflection.cc | 120 descriptor_pool_->FindFileByName(filename); in GetFileByName()
|