Searched refs:file_options (Results 1 – 6 of 6) 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/grpc-grpc/third_party/nanopb/generator/ |
D | nanopb_generator.py | 995 def __init__(self, fdesc, file_options): argument 998 self.file_options = file_options 1017 enum_options = get_nanopb_suboptions(enum, self.file_options, base_name + enum.name) 1021 message_options = get_nanopb_suboptions(message, self.file_options, names) 1032 … field_options = get_nanopb_suboptions(extension, self.file_options, names + extension.name) 1454 file_options = get_nanopb_suboptions(fdesc, toplevel_options, Names([filename])) 1455 f = ProtoFile(fdesc, file_options)
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 1091 def __init__(self, fdesc, file_options): argument 1094 self.file_options = file_options 1113 enum_options = get_nanopb_suboptions(enum, self.file_options, base_name + enum.name) 1117 message_options = get_nanopb_suboptions(message, self.file_options, names) 1128 … field_options = get_nanopb_suboptions(extension, self.file_options, names + extension.name) 1562 file_options = get_nanopb_suboptions(fdesc, toplevel_options, Names([filename])) 1563 f = ProtoFile(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()
|