Searched refs:BuildFile (Results 1 – 16 of 16) sorted by relevance
345 foo_file_ = pool_.BuildFile(foo_file); in SetUp()348 bar_file_ = pool_.BuildFile(bar_file); in SetUp()351 baz_file_ = pool_.BuildFile(baz_file); in SetUp()486 EXPECT_EQ(foo_file_, pool_.BuildFile(file)); in TEST_F()490 EXPECT_TRUE(pool_.BuildFile(file) == nullptr); in TEST_F()500 const FileDescriptor* proto2_descriptor = pool_.BuildFile(proto_syntax2); in TEST_F()502 EXPECT_EQ(proto2_descriptor, pool_.BuildFile(proto_syntax2)); in TEST_F()508 pool_.BuildFile(implicit_proto2); in TEST_F()513 EXPECT_EQ(implicit_proto2_descriptor, pool_.BuildFile(implicit_proto2)); in TEST_F()519 const FileDescriptor* proto3_descriptor = pool_.BuildFile(proto_syntax3); in TEST_F()[all …]
95 ASSERT_TRUE(pool_.BuildFile(unittest_import_public_file) != NULL); in SetUp()96 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL); in SetUp()97 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL); in SetUp()98 ASSERT_TRUE(pool_.BuildFile(unittest_no_field_presence_file) != NULL); in SetUp()
143 return pool_.BuildFile(file); in AddToDatabase()
3130 const FileDescriptor* BuildFile(const FileDescriptorProto& proto);3549 const FileDescriptor* DescriptorPool::BuildFile( in BuildFile() function in google::protobuf::DescriptorPool3558 return DescriptorBuilder(this, tables_.get(), nullptr).BuildFile(proto); in BuildFile()3571 .BuildFile(proto); in BuildFileCollectingErrors()3582 .BuildFile(proto); in BuildFileFromDatabase()4214 const FileDescriptor* DescriptorBuilder::BuildFile( in BuildFile() function in google::protobuf::DescriptorBuilder
1683 const FileDescriptor* BuildFile(const FileDescriptorProto& proto);
563 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0);
1207 const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); in TEST()
1771 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()1792 EXPECT_TRUE(pool_.BuildFile(other_file) != nullptr); in TEST_F()1805 EXPECT_TRUE(pool_.BuildFile(other_file) != nullptr); in TEST_F()2050 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()2071 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL); in TEST_F()2100 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()2207 ASSERT_TRUE(pool_.BuildFile(public_import_proto) != NULL); in TEST_F()2212 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL); in TEST_F()2213 const FileDescriptor* actual = pool_.BuildFile(parsed); in TEST_F()2255 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL); in TEST_F()[all …]
108 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
958 GOOGLE_CHECK(pool.BuildFile(file) != NULL); in Run()
79 pool.BuildFile(*proto) != nullptr; in BM_LoadDescriptor_Proto2()106 pool.BuildFile(*proto) != nullptr; in BM_LoadAdsDescriptor_Proto2()
33 if ((*out_pool)->BuildFile(file) == nullptr) { in CreatePoolFromSet()
88 string content = new_pool_.BuildFile(new_file)->DebugString(); in Generate()
76 string content = GetPool()->BuildFile(new_file)->DebugString(); in Generate()
122 PERFETTO_CHECK(descriptor_pool.BuildFile(d)); in main()
363 pool->BuildFile(*file_desc); in ExtendMetricsProto()864 pool.BuildFile(desc); in ExtendPoolWithBinaryDescriptor()