Home
last modified time | relevance | path

Searched refs:FindFileByName (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_database_unittest.cc187 TEST_P(DescriptorDatabaseTest, FindFileByName) { in TEST_P() argument
197 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P()
204 EXPECT_TRUE(database_->FindFileByName("bar.proto", &file)); in TEST_P()
212 EXPECT_FALSE(database_->FindFileByName("baz.proto", &file)); in TEST_P()
566 TEST_F(MergedDescriptorDatabaseTest, FindFileByName) { in TEST_F() argument
570 EXPECT_TRUE(forward_merged_.FindFileByName("foo.proto", &file)); in TEST_F()
578 EXPECT_TRUE(forward_merged_.FindFileByName("bar.proto", &file)); in TEST_F()
586 EXPECT_TRUE(forward_merged_.FindFileByName("baz.proto", &file)); in TEST_F()
594 EXPECT_TRUE(reverse_merged_.FindFileByName("baz.proto", &file)); in TEST_F()
602 EXPECT_FALSE(forward_merged_.FindFileByName("no_such.proto", &file)); in TEST_F()
Ddescriptor_database.h72 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,
Ddescriptor_database.cc266 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()
Ddescriptor_unittest.cc2452 return pool_->FindFileByName(proto.name()); in BuildFile()
2482 EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name())); in TEST_P()
2483 EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL); in TEST_P()
5899 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
5946 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
5949 return wrapped_db_->FindFileByName(filename, output); in FindFileByName()
5977 bool FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
5979 return wrapped_db_->FindFileByName(filename, output); in FindFileByName()
5983 return FindFileByName("foo.proto", output); in FindFileContainingSymbol()
5988 return FindFileByName("foo.proto", output); in FindFileContainingExtension()
[all …]
Dempty.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fempty_2eproto()
Dsource_context.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fsource_5fcontext_2eproto()
Dduration.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fduration_2eproto()
Dtimestamp.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
Dfield_mask.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
Dany.pb.cc36 ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( in protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Ddescriptor_pool_test.py76 file_desc1 = self.pool.FindFileByName(name1)
83 file_desc2 = self.pool.FindFileByName(name2)
91 self.pool.FindFileByName('Does not exist')
302 file_descriptor = symbol_database.Default().pool.FindFileByName(
312 file_descriptor = self.pool.FindFileByName(
366 file_desc = pool.FindFileByName(self.name)
544 pool.FindFileByName(
580 pool.FindFileByName(
601 pool.FindFileByName(
614 self.assertRaises(KeyError, pool.FindFileByName, proto_file_name)
[all …]
Ddescriptor_database_test.py55 self.assertEqual(file_desc_proto, db.FindFileByName(
Dsymbol_database_test.py126 self._Database().pool.FindFileByName(
Dgenerator_test.py344 symbol_database.Default().pool.FindFileByName(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_pool.cc221 PyObject* FindFileByName(PyDescriptorPool* self, PyObject* arg) { in FindFileByName() function
229 self->pool->FindFileByName(string(name, name_size)); in FindFileByName()
375 self->pool->FindFileByName(file_descriptor->name())) { in AddFileDescriptor()
470 generated_file = self->underlay->FindFileByName(file_proto.name()); in AddSerializedFile()
516 { "FindFileByName", (PyCFunction)FindFileByName, METH_O,
Ddescriptor_database.h51 bool FindFileByName(const string& filename,
Ddescriptor_database.cc111 bool PyDescriptorDatabase::FindFileByName(const string& filename, in FindFileByName() function in google::protobuf::python::PyDescriptorDatabase
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_pool.py179 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]
772 dep_desc = self.FindFileByName(dependency)
Dsymbol_database.py153 file_desc = self.pool.FindFileByName(file_name)
Ddescriptor_database.py80 def FindFileByName(self, name): member in DescriptorDatabase
Dmessage_factory.py105 file_desc = self.pool.FindFileByName(file_name)
Ddescriptor.py938 result = _message.default_pool.FindFileByName(file_descriptor_proto.name)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dimporter.cc126 bool SourceTreeDescriptorDatabase::FindFileByName( in FindFileByName() function in google::protobuf::compiler::SourceTreeDescriptorDatabase
214 return pool_.FindFileByName(filename); in Import()
Dplugin.cc110 parsed_files.push_back(pool.FindFileByName(request.file_to_generate(i))); in GenerateCode()
Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);

12