Searched refs:file_options (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/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 …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 150 file_options = file_descriptor.GetOptions() 152 self.assertEqual(9876543210, file_options.Extensions[file_opt1]) 337 file_options = file_descriptor.GetOptions().Extensions[ 339 self.assertEqual(100, file_options.i) 340 self.assertEqual("FileAnnotation", file_options.s) 341 self.assertEqual("NestedFileAnnotation", file_options.sub.s) 342 self.assertEqual("FileExtensionAnnotation", file_options.file.Extensions[ 344 self.assertEqual("EmbeddedMessageSetElement", file_options.mset.Extensions[
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 624 def parse_file(fdesc, file_options): argument 637 enum_options = get_nanopb_suboptions(enum, file_options, base_name + enum.name) 641 message_options = get_nanopb_suboptions(message, file_options, names) 648 field_options = get_nanopb_suboptions(extension, file_options, names) 1019 file_options = get_nanopb_suboptions(fdesc, toplevel_options, Names([filename])) 1020 enums, messages, extensions = parse_file(fdesc, file_options)
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1216 string file_options = OptionsValue( in FixAllDescriptorOptions() local 1218 if (file_options != "None") { in FixAllDescriptorOptions() 1219 PrintDescriptorOptionsFixingCode(kDescriptorKey, file_options, printer_); in FixAllDescriptorOptions()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 3141 const protobuf_unittest::Aggregate& file_options = in TEST() local 3143 EXPECT_EQ(100, file_options.i()); in TEST() 3144 EXPECT_EQ("FileAnnotation", file_options.s()); in TEST() 3145 EXPECT_EQ("NestedFileAnnotation", file_options.sub().s()); in TEST() 3147 file_options.file().GetExtension(protobuf_unittest::fileopt).s()); in TEST() 3149 file_options.mset().GetExtension( in TEST()
|