Home
last modified time | relevance | path

Searched refs:BuildFile (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc345 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 …]
Ddynamic_message_unittest.cc95 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()
Ddescriptor_database_unittest.cc143 return pool_.BuildFile(file); in AddToDatabase()
Ddescriptor.cc3130 const FileDescriptor* BuildFile(const FileDescriptorProto& proto);
3549 const FileDescriptor* DescriptorPool::BuildFile( in BuildFile() function in google::protobuf::DescriptorPool
3558 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
Ddescriptor.h1683 const FileDescriptor* BuildFile(const FileDescriptorProto& proto);
Dmessage_unittest.inc563 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0);
Dextension_set_unittest.cc1207 const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); in TEST()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1771 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 …]
Dplugin.cc108 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode()
Dcommand_line_interface.cc958 GOOGLE_CHECK(pool.BuildFile(file) != NULL); in Run()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/benchmarks/
Dbenchmark.cc79 pool.BuildFile(*proto) != nullptr; in BM_LoadDescriptor_Proto2()
106 pool.BuildFile(*proto) != nullptr; in BM_LoadAdsDescriptor_Proto2()
/external/tensorflow/tensorflow/core/util/proto/
Ddescriptors.cc33 if ((*out_pool)->BuildFile(file) == nullptr) { in CreatePoolFromSet()
/external/protobuf/benchmarks/util/
Dprotoc-gen-gogoproto.cc88 string content = new_pool_.BuildFile(new_file)->DebugString(); in Generate()
Dprotoc-gen-proto2_to_proto3.cc76 string content = GetPool()->BuildFile(new_file)->DebugString(); in Generate()
/external/perfetto/tools/ftrace_proto_gen/
Dmain.cc122 PERFETTO_CHECK(descriptor_pool.BuildFile(d)); in main()
/external/perfetto/src/trace_processor/
Dtrace_processor_shell.cc363 pool->BuildFile(*file_desc); in ExtendMetricsProto()
864 pool.BuildFile(desc); in ExtendPoolWithBinaryDescriptor()