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])
186 message_options = message_descriptor.GetOptions()
187 self.assertEqual(False, message_options.Extensions[
189 self.assertEqual(kint32min, message_options.Extensions[
191 self.assertEqual(kint64min, message_options.Extensions[
193 self.assertEqual(0, message_options.Extensions[
195 self.assertEqual(0, message_options.Extensions[
197 self.assertEqual(kint32min, message_options.Extensions[
199 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.cc1249 string message_options = OptionsValue( in FixOptionsForMessage() local
1251 if (message_options != "None") { in FixOptionsForMessage()
1254 message_options, in FixOptionsForMessage()