/external/protobuf/benchmarks/util/ |
D | protoc-gen-gogoproto.cc | 46 (new_pool_.FindFileByName(file->name()) == nullptr); in GenerateAll() 48 can_generate &= (new_pool_.FindFileByName( in GenerateAll() 52 can_generate &= (new_pool_.FindFileByName( in GenerateAll() 56 can_generate &= (new_pool_.FindFileByName( in GenerateAll()
|
D | protoc-gen-proto2_to_proto3.cc | 84 if (GetPool()->FindFileByName(file->name()) != nullptr) { in CanGenerate() 88 if (GetPool()->FindFileByName(file->dependency(j)->name()) == nullptr) { in CanGenerate() 93 if (GetPool()->FindFileByName( in CanGenerate() 99 if (GetPool()->FindFileByName( in CanGenerate()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 177 TEST_P(DescriptorDatabaseTest, FindFileByName) { in TEST_P() argument 187 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P() 194 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); in TEST_P() 202 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); in TEST_P() 622 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { in TEST_F() argument 626 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); in TEST_F() 634 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); in TEST_F() 642 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 650 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); in TEST_F() 658 EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); in TEST_F()
|
D | descriptor_database.h | 78 virtual bool FindFileByName(const std::string& filename, 177 bool FindFileByName(const std::string& filename, 323 bool FindFileByName(const std::string& filename, 354 bool FindFileByName(const std::string& filename, 384 bool FindFileByName(const std::string& filename,
|
D | descriptor_database.cc | 81 if (!db->FindFileByName(f, &file_proto)) { in ForAllFileProtos() 347 bool SimpleDescriptorDatabase::FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::SimpleDescriptorDatabase 411 bool EncodedDescriptorDatabase::FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::EncodedDescriptorDatabase 479 bool DescriptorPoolDatabase::FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::DescriptorPoolDatabase 481 const FileDescriptor* file = pool_.FindFileByName(filename); in FindFileByName() 539 bool MergedDescriptorDatabase::FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::MergedDescriptorDatabase 542 if (sources_[i]->FindFileByName(filename, output)) { in FindFileByName() 559 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingSymbol() 582 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingExtension()
|
D | descriptor_unittest.cc | 2728 return pool_->FindFileByName(proto.name()); in BuildFile() 2758 EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name())); in TEST_P() 2759 EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == nullptr); in TEST_P() 6549 bool FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase 6594 bool FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase 6597 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 6625 bool FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase 6627 return wrapped_db_->FindFileByName(filename, output); in FindFileByName() 6631 return FindFileByName("foo.proto", output); in FindFileContainingSymbol() 6636 return FindFileByName("foo.proto", output); in FindFileContainingExtension() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 70 file_desc1 = self.pool.FindFileByName(name1) 77 file_desc2 = self.pool.FindFileByName(name2) 85 self.pool.FindFileByName('Does not exist') 262 self.assertRaises(error_type, self.pool.FindFileByName, 0) 341 factory_test2 = self.pool.FindFileByName( 365 factory_test2 = self.pool.FindFileByName( 432 file_descriptor = symbol_database.Default().pool.FindFileByName( 448 file_descriptor = self.pool.FindFileByName( 546 pool.FindFileByName(unittest_fd.name) 548 pool.FindFileByName(conflict_fd.name) [all …]
|
D | symbol_database_test.py | 133 self._Database().pool.FindFileByName(
|
D | descriptor_database_test.py | 63 self.assertEqual(file_desc_proto, db.FindFileByName(
|
D | generator_test.py | 355 symbol_database.Default().pool.FindFileByName(
|
/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/pyext/ |
D | descriptor_pool.cc | 258 static PyObject* FindFileByName(PyObject* self, PyObject* arg) { in FindFileByName() function 267 py_pool->pool->FindFileByName(string(name, name_size)); in FindFileByName() 493 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindFileByName( in AddFileDescriptor() 599 generated_file = self->underlay->FindFileByName(file_proto.name()); in AddSerializedFile() 649 { "FindFileByName", 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/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 137 bool SourceTreeDescriptorDatabase::FindFileByName(const std::string& filename, in FindFileByName() function in google::protobuf::compiler::SourceTreeDescriptorDatabase 142 fallback_database_->FindFileByName(filename, output)) { in FindFileByName() 234 return pool_.FindFileByName(filename); in Import()
|
D | plugin.cc | 117 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in GenerateCode()
|
D | importer.h | 108 bool FindFileByName(const std::string& filename,
|
D | command_line_interface.cc | 1042 if (database->FindFileByName(file_descriptor_set.file(j).name(), in PopulateSimpleDescriptorDatabase() 1059 if (!database->FindFileByName(input_file, &file_descriptor)) { in VerifyInputFilesInDescriptors() 1085 descriptor_pool->FindFileByName(input_file); in ParseInputFiles() 1153 fallback_database->FindFileByName(*proto, &fallback_file); in MakeProtoProtoPathRelative()
|
/external/protobuf/python/google/protobuf/ |
D | symbol_database.py | 173 file_desc = self.pool.FindFileByName(file_name)
|
D | descriptor_pool.py | 342 def FindFileByName(self, file_name): member in DescriptorPool 361 file_proto = self._internal_db.FindFileByName(file_name) 364 file_proto = self._descriptor_db.FindFileByName(file_name) 702 direct_deps = [self.FindFileByName(n) for n in file_proto.dependency] 1162 dep_desc = self.FindFileByName(dependency)
|
D | descriptor_database.py | 87 def FindFileByName(self, name): member in DescriptorDatabase
|
D | message_factory.py | 114 file_desc = self.pool.FindFileByName(file_name)
|
/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()
|