Home
last modified time | relevance | path

Searched refs:oneof_options (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc1318 std::string oneof_options = OptionsValue(oneof.options().SerializeAsString()); in FixOptionsForOneof() local
1319 if (oneof_options != "None") { in FixOptionsForOneof()
1323 PrintDescriptorOptionsFixingCode(oneof_name, oneof_options, printer_); in FixOptionsForOneof()
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py790 oneof_options = get_nanopb_suboptions(desc, message_options, self.name + f.name)
791 if oneof_options.no_unions:
793 elif oneof_options.type == nanopb_pb2.FT_IGNORE:
797 if oneof_options.anonymous_oneof:
/external/nanopb-c/generator/
Dnanopb_generator.py884 oneof_options = get_nanopb_suboptions(desc, message_options, self.name + f.name)
885 if oneof_options.no_unions:
887 elif oneof_options.type == nanopb_pb2.FT_IGNORE:
891 if oneof_options.anonymous_oneof:
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py167 oneof_options = oneof_descriptor.GetOptions()
169 self.assertEqual(-99, oneof_options.Extensions[oneof_opt1])