Searched refs:file_options (Results 1 – 9 of 9) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_generator.cc | 80 Options file_options; in Generate() local 82 file_options.opensource_runtime = opensource_runtime_; in Generate() 83 file_options.runtime_include_base = runtime_include_base_; in Generate() 87 file_options.dllexport_decl = options[i].second; in Generate() 89 file_options.safe_boundary_check = true; in Generate() 91 file_options.annotate_headers = true; in Generate() 93 file_options.annotation_pragma_name = options[i].second; in Generate() 95 file_options.annotation_guard_name = options[i].second; in Generate() 97 file_options.enforce_mode = EnforceOptimizeMode::kSpeed; in Generate() 99 file_options.enforce_mode = EnforceOptimizeMode::kLiteRuntime; in Generate() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_generator.cc | 70 Options file_options; in Generate() local 74 file_options.output_list_file = options[i].second; in Generate() 76 file_options.generate_immutable_code = true; in Generate() 78 file_options.generate_mutable_code = true; in Generate() 80 file_options.generate_shared_code = true; in Generate() 84 file_options.enforce_lite = true; in Generate() 86 file_options.annotate_code = true; in Generate() 88 file_options.annotation_list_file = options[i].second; in Generate() 95 if (file_options.enforce_lite && file_options.generate_mutable_code) { in Generate() 101 if (!file_options.generate_immutable_code && in Generate() [all …]
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | descriptor_test.py | 150 file_options = file_descriptor.GetOptions() 152 self.assertEqual(9876543210, file_options.Extensions[file_opt1]) 332 file_options = file_descriptor.GetOptions().Extensions[ 334 self.assertEqual(100, file_options.i) 335 self.assertEqual("FileAnnotation", file_options.s) 336 self.assertEqual("NestedFileAnnotation", file_options.sub.s) 337 self.assertEqual("FileExtensionAnnotation", file_options.file.Extensions[ 339 self.assertEqual("EmbeddedMessageSetElement", file_options.mset.Extensions[
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 156 file_options = file_descriptor.GetOptions() 158 self.assertEqual(9876543210, file_options.Extensions[file_opt1]) 359 file_options = file_descriptor.GetOptions().Extensions[ 361 self.assertEqual(100, file_options.i) 362 self.assertEqual("FileAnnotation", file_options.s) 363 self.assertEqual("NestedFileAnnotation", file_options.sub.s) 364 self.assertEqual("FileExtensionAnnotation", file_options.file.Extensions[ 366 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/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 430 auto file_options = File::OpenOptions(0); 432 file_options |= File::eOpenOptionRead; 434 file_options |= File::eOpenOptionWrite; 435 file = std::make_shared<NativeFile>(created_fd, file_options, true);
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1296 std::string file_options = OptionsValue(file_->options().SerializeAsString()); in FixAllDescriptorOptions() local 1297 if (file_options != "None") { in FixAllDescriptorOptions() 1298 PrintDescriptorOptionsFixingCode(kDescriptorKey, file_options, printer_); in FixAllDescriptorOptions()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 3432 const protobuf_unittest::Aggregate& file_options = in TEST() local 3434 EXPECT_EQ(100, file_options.i()); in TEST() 3435 EXPECT_EQ("FileAnnotation", file_options.s()); in TEST() 3436 EXPECT_EQ("NestedFileAnnotation", file_options.sub().s()); in TEST() 3438 file_options.file().GetExtension(protobuf_unittest::fileopt).s()); in TEST() 3440 file_options.mset() in TEST()
|