Home
last modified time | relevance | path

Searched refs:message_options (Results 1 – 3 of 3) 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/nanopb-c/generator/
Dnanopb_generator.py503 def __init__(self, names, desc, message_options): argument
508 field_options = get_nanopb_suboptions(f, message_options, self.name + f.name)
513 field_options = get_nanopb_suboptions(desc, message_options, self.name + 'extensions')
518 self.packed = message_options.packed_struct
641 message_options = get_nanopb_suboptions(message, file_options, names)
642 messages.append(Message(names, message, message_options))
644 enum_options = get_nanopb_suboptions(enum, message_options, names + enum.name)
/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()