Searched refs:file_options (Results 1 - 5 of 5) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_generator.cc86 Options file_options; local
90 file_options.dllexport_decl = options[i].second;
92 file_options.safe_boundary_check = true;
94 file_options.annotate_headers = true;
96 file_options.annotation_pragma_name = options[i].second;
98 file_options.annotation_guard_name = options[i].second;
100 file_options.enforce_lite = true;
112 FileGenerator file_generator(file, file_options);
115 if (file_options.proto_h) {
122 io::Printer printer(output.get(), '$', file_options
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py150 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/
H A Dnanopb_generator.py624 def parse_file(fdesc, file_options):
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/
H A Dpython_generator.cc1216 string file_options = OptionsValue( local
1218 if (file_options != "None") {
1219 PrintDescriptorOptionsFixingCode(kDescriptorKey, file_options, printer_);
/external/protobuf/src/google/protobuf/
H A Ddescriptor_unittest.cc3141 const protobuf_unittest::Aggregate& file_options = local
3143 EXPECT_EQ(100, file_options.i());
3144 EXPECT_EQ("FileAnnotation", file_options.s());
3145 EXPECT_EQ("NestedFileAnnotation", file_options.sub().s());
3147 file_options.file().GetExtension(protobuf_unittest::fileopt).s());
3149 file_options.mset().GetExtension(

Completed in 268 milliseconds