Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py153 message_options = message_descriptor.GetOptions()
155 self.assertEqual(-56, message_options.Extensions[message_opt1])
191 message_options = message_descriptor.GetOptions()
192 self.assertEqual(False, message_options.Extensions[
194 self.assertEqual(kint32min, message_options.Extensions[
196 self.assertEqual(kint64min, message_options.Extensions[
198 self.assertEqual(0, message_options.Extensions[
200 self.assertEqual(0, message_options.Extensions[
202 self.assertEqual(kint32min, message_options.Extensions[
204 self.assertEqual(kint64min, message_options.Extensions[
[all …]
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py779 def __init__(self, names, desc, message_options): argument
785 if message_options.msgid:
786 self.msgid = message_options.msgid
790 oneof_options = get_nanopb_suboptions(desc, message_options, self.name + f.name)
803 field_options = get_nanopb_suboptions(f, message_options, self.name + f.name)
817 field_options = get_nanopb_suboptions(desc, message_options, self.name + 'extensions')
822 self.packed = message_options.packed_struct
1021 message_options = get_nanopb_suboptions(message, self.file_options, names)
1023 if message_options.skip_message:
1026 self.messages.append(Message(names, message, message_options))
[all …]
/external/nanopb-c/generator/
Dnanopb_generator.py873 def __init__(self, names, desc, message_options): argument
879 if message_options.msgid:
880 self.msgid = message_options.msgid
884 oneof_options = get_nanopb_suboptions(desc, message_options, self.name + f.name)
899 field_options = get_nanopb_suboptions(f, message_options, self.name + f.name)
913 field_options = get_nanopb_suboptions(desc, message_options, self.name + 'extensions')
918 self.packed = message_options.packed_struct
1117 message_options = get_nanopb_suboptions(message, self.file_options, names)
1119 if message_options.skip_message:
1122 self.messages.append(Message(names, message, message_options))
[all …]
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc1306 string message_options = OptionsValue( in FixOptionsForMessage() local
1308 if (message_options != "None") { in FixOptionsForMessage()
1311 message_options, in FixOptionsForMessage()