Searched refs:file_options (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_generator.cc | 71 Options file_options; in Generate() local 75 file_options.output_list_file = options[i].second; in Generate() 77 file_options.generate_immutable_code = true; in Generate() 79 file_options.generate_mutable_code = true; in Generate() 81 file_options.generate_shared_code = true; in Generate() 83 file_options.annotate_code = true; in Generate() 85 file_options.annotation_list_file = options[i].second; in Generate() 92 if (file_options.enforce_lite && file_options.generate_mutable_code) { in Generate() 98 if (!file_options.generate_immutable_code && in Generate() 99 !file_options.generate_mutable_code && in Generate() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_generator.cc | 86 Options file_options; in Generate() local 90 file_options.dllexport_decl = options[i].second; in Generate() 92 file_options.safe_boundary_check = true; in Generate() 94 file_options.annotate_headers = true; in Generate() 96 file_options.annotation_pragma_name = options[i].second; in Generate() 98 file_options.annotation_guard_name = options[i].second; in Generate() 100 file_options.enforce_lite = true; in Generate() 112 FileGenerator file_generator(file, file_options); in Generate() 115 if (file_options.proto_h) { in Generate() 122 io::Printer printer(output.get(), '$', file_options.annotate_headers in Generate() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_test.py | 148 file_options = file_descriptor.GetOptions() 150 self.assertEqual(9876543210, file_options.Extensions[file_opt1]) 338 file_options = file_descriptor.GetOptions().Extensions[ 340 self.assertEqual(100, file_options.i) 341 self.assertEqual("FileAnnotation", file_options.s) 342 self.assertEqual("NestedFileAnnotation", file_options.sub.s) 343 self.assertEqual("FileExtensionAnnotation", file_options.file.Extensions[ 345 self.assertEqual("EmbeddedMessageSetElement", file_options.mset.Extensions[
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1251 string file_options = OptionsValue( in FixAllDescriptorOptions() local 1253 if (file_options != "None") { in FixAllDescriptorOptions() 1254 PrintDescriptorOptionsFixingCode(kDescriptorKey, file_options, printer_); in FixAllDescriptorOptions()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_unittest.cc | 3143 const protobuf_unittest::Aggregate& file_options = in TEST() local 3145 EXPECT_EQ(100, file_options.i()); in TEST() 3146 EXPECT_EQ("FileAnnotation", file_options.s()); in TEST() 3147 EXPECT_EQ("NestedFileAnnotation", file_options.sub().s()); in TEST() 3149 file_options.file().GetExtension(protobuf_unittest::fileopt).s()); in TEST() 3151 file_options.mset().GetExtension( in TEST()
|