Home
last modified time | relevance | path

Searched refs:message_type (Results 1 – 25 of 136) sorted by relevance

123456

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py191 message_type=None, enum_type=None, containing_type=None,
219 message_type=None, enum_type=None, containing_type=None,
226 message_type=None, enum_type=None, containing_type=None,
233 message_type=None, enum_type=None, containing_type=None,
240 message_type=None, enum_type=None, containing_type=None,
247 message_type=None, enum_type=None, containing_type=None,
254 message_type=None, enum_type=None, containing_type=None,
261 message_type=None, enum_type=None, containing_type=None,
268 message_type=None, enum_type=None, containing_type=None,
275 message_type=None, enum_type=None, containing_type=None,
[all …]
Dmessage_factory.py68 if field.message_type:
69 self.GetPrototype(field.message_type)
93 for desc in _GetAllDescriptors(file_proto.message_type, file_proto.package):
Ddescriptor_pool.py204 symbols = list(self._ExtractSymbols(dep_proto.message_type, package))
212 for message_type in file_proto.message_type:
214 message_type, file_proto.package, file_descriptor, scope)
219 for desc_proto in self._ExtractMessages(file_proto.message_type):
222 for desc_proto in file_proto.message_type:
367 message_type=None,
406 field_desc.message_type = desc
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dextended_descriptor.py216 def _EmptyMessage(message_type): argument
217 return not any((message_type.enum_types,
218 message_type.message_types,
219 message_type.fields))
235 def PrintMessage(self, message_type): argument
287 def __PrintMessageCommentLines(self, message_type): argument
289 description = message_type.description or '%s message type.' % (
290 message_type.name)
294 PrintIndentedDescriptions(self.__printer, message_type.enum_types,
296 PrintIndentedDescriptions(self.__printer, message_type.message_types,
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotorpc_test_pb2.py76 message_type=None, enum_type=None, containing_type=None,
104 message_type=None, enum_type=None, containing_type=None,
111 message_type=None, enum_type=None, containing_type=None,
139 message_type=None, enum_type=None, containing_type=None,
167 message_type=None, enum_type=None, containing_type=None,
174 message_type=None, enum_type=None, containing_type=None,
181 message_type=None, enum_type=None, containing_type=None,
188 message_type=None, enum_type=None, containing_type=None,
195 message_type=None, enum_type=None, containing_type=None,
202 message_type=None, enum_type=None, containing_type=None,
[all …]
Dregistry.py138 def __find_modules_for_message(self, message_type): argument
153 def get_dependencies(message_type, seen=None): argument
172 seen.add(message_type)
174 for field in message_type.all_fields():
176 if field.message_type not in seen:
177 get_dependencies(field.message_type, seen)
183 found_modules = self.__definition_to_modules.setdefault(message_type, set())
185 dependencies = get_dependencies(message_type)
209 for message_type in (method.remote.request_type,
212 self.__find_modules_for_message(message_type))
Dmessages.py806 issubclass(field.message_type, Message)):
879 message_type = type(self)
881 field = message_type.field_by_name(name)
884 message_type.__name__, name))
895 message_type = type(self)
897 field = message_type.field_by_name(name)
899 if name not in message_type.__by_name:
901 message_type.__name__, name))
1542 message_type, argument
1561 valid_type = (isinstance(message_type, six.string_types) or
[all …]
Dprotourlencode.py216 message_type = type(self.__messages[()]) # Get root message.
220 if not message_type:
232 field = message_type.field_by_name(attribute)
240 message_type = field.message_type
242 message_type = None
339 next_message = field.message_type()
543 def decode_message(message_type, encoded_message, **kwargs): argument
554 message = message_type()
Dprotojson.py187 def decode_message(self, message_type, encoded_message): argument
202 return message_type()
205 message = self.__decode_dictionary(message_type, dictionary)
244 def __decode_dictionary(self, message_type, dictionary): argument
252 message = message_type()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dencoding.py91 def JsonToMessage(message_type, message): argument
93 return _ProtoJsonApiTools.Get().decode_message(message_type, message)
97 def DictToMessage(d, message_type): argument
99 return JsonToMessage(message_type, json.dumps(d))
107 def PyValueToMessage(message_type, value): argument
109 return JsonToMessage(message_type, json.dumps(value))
261 def decode_message(self, message_type, encoded_message): argument
262 if message_type in _CUSTOM_MESSAGE_CODECS:
264 message_type].decoder(encoded_message)
270 result = _DecodeCustomFieldNames(message_type, encoded_message)
[all …]
/external/nanopb-c/generator/proto/
Dnanopb_pb2.py60 message_type=None, enum_type=None, containing_type=None,
68 message_type=None, enum_type=None, containing_type=None,
76 message_type=None, enum_type=None, containing_type=None,
84 message_type=None, enum_type=None, containing_type=None,
100 message_type=None, enum_type=None, containing_type=None,
107 message_type=None, enum_type=None, containing_type=None,
114 message_type=None, enum_type=None, containing_type=None,
121 message_type=None, enum_type=None, containing_type=None,
128 message_type=None, enum_type=None, containing_type=None,
154 nanopb_fileopt.message_type = _NANOPBOPTIONS
[all …]
Dplugin_pb2.py29 message_type=None, enum_type=None, containing_type=None,
36 message_type=None, enum_type=None, containing_type=None,
43 message_type=None, enum_type=None, containing_type=None,
71 message_type=None, enum_type=None, containing_type=None,
78 message_type=None, enum_type=None, containing_type=None,
85 message_type=None, enum_type=None, containing_type=None,
112 message_type=None, enum_type=None, containing_type=None,
119 message_type=None, enum_type=None, containing_type=None,
137 _CODEGENERATORREQUEST.fields_by_name['proto_file'].message_type = google.protobuf.descriptor_pb2._F…
139 _CODEGENERATORRESPONSE.fields_by_name['file'].message_type = _CODEGENERATORRESPONSE_FILE
/external/webrtc/talk/app/webrtc/
Dsctputils.cc56 uint8_t message_type; in IsOpenMessage() local
57 if (!buffer.ReadUInt8(&message_type)) { in IsOpenMessage()
61 return message_type == DATA_CHANNEL_OPEN_MESSAGE_TYPE; in IsOpenMessage()
71 uint8_t message_type; in ParseDataChannelOpenMessage() local
72 if (!buffer.ReadUInt8(&message_type)) { in ParseDataChannelOpenMessage()
76 if (message_type != DATA_CHANNEL_OPEN_MESSAGE_TYPE) { in ParseDataChannelOpenMessage()
78 << message_type; in ParseDataChannelOpenMessage()
142 uint8_t message_type; in ParseDataChannelOpenAckMessage() local
143 if (!buffer.ReadUInt8(&message_type)) { in ParseDataChannelOpenAckMessage()
147 if (message_type != DATA_CHANNEL_OPEN_ACK_MESSAGE_TYPE) { in ParseDataChannelOpenAckMessage()
[all …]
Dsctputils_unittest.cc37 uint8_t message_type; in VerifyOpenMessageFormat() local
45 ASSERT_TRUE(buffer.ReadUInt8(&message_type)); in VerifyOpenMessageFormat()
46 EXPECT_EQ(0x03, message_type); in VerifyOpenMessageFormat()
155 uint8_t message_type; in TEST_F() local
157 ASSERT_TRUE(buffer.ReadUInt8(&message_type)); in TEST_F()
158 EXPECT_EQ(0x02, message_type); in TEST_F()
/external/nanopb-c/generator/google/protobuf/compiler/
Dplugin_pb2.py33 message_type=None, enum_type=None, containing_type=None,
40 message_type=None, enum_type=None, containing_type=None,
47 message_type=None, enum_type=None, containing_type=None,
75 message_type=None, enum_type=None, containing_type=None,
82 message_type=None, enum_type=None, containing_type=None,
89 message_type=None, enum_type=None, containing_type=None,
116 message_type=None, enum_type=None, containing_type=None,
123 message_type=None, enum_type=None, containing_type=None,
139 _CODEGENERATORREQUEST.fields_by_name['proto_file'].message_type = google.protobuf.descriptor_pb2._F…
141 _CODEGENERATORRESPONSE.fields_by_name['file'].message_type = _CODEGENERATORRESPONSE_FILE
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1881 EXPECT_TRUE(HasSpan('a', 'd', file_.message_type(0))); in TEST_F()
1882 EXPECT_TRUE(HasSpan('b', 'c', file_.message_type(0), "name")); in TEST_F()
1883 EXPECT_TRUE(HasSpan('e', 'h', file_.message_type(1))); in TEST_F()
1884 EXPECT_TRUE(HasSpan('f', 'g', file_.message_type(1), "name")); in TEST_F()
1897 const FieldDescriptorProto& field1 = file_.message_type(0).field(0); in TEST_F()
1898 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F()
1914 EXPECT_TRUE(HasSpan(file_.message_type(0))); in TEST_F()
1915 EXPECT_TRUE(HasSpan(file_.message_type(0), "name")); in TEST_F()
1972 const FieldDescriptorProto& field1 = file_.message_type(0).extension(0); in TEST_F()
1973 const FieldDescriptorProto& field2 = file_.message_type(0).extension(1); in TEST_F()
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_unittest.py66 message = TestMessage(message_type=4, fake=5)
74 message = TestMessage(message_type=3)
77 self.assertEqual(message.message_type, 3)
86 message = TestMessage(message_type=3, transaction_id=4)
89 self.assertEqual(message.message_type, 3)
129 self.assertEqual(message.message_type, mbim_constants.MBIM_OPEN_DONE)
146 self.assertEqual(message.message_type, mbim_constants.MBIM_CLOSE_DONE)
163 self.assertEqual(message.message_type,
193 self.assertEqual(message.message_type, mbim_constants.MBIM_COMMAND_DONE)
266 self.assertEqual(message.message_type, mbim_constants.MBIM_COMMAND_DONE)
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Dpolomessage.cc21 PoloMessage::PoloMessage(PoloMessage::PoloMessageType message_type) in PoloMessage() argument
22 : message_type_(message_type) { in PoloMessage()
25 PoloMessage::PoloMessageType PoloMessage::message_type() const { in message_type() function in polo::pairing::message::PoloMessage
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py81 message_type=None, enum_type=None, containing_type=None,
602 message_type = file_descriptor_proto.message_type.add()
603 message_type.name = file_descriptor_proto.name
604 nested_type = message_type.nested_type.add()
611 field = message_type.field.add()
616 field = message_type.field.add()
629 result = descriptor.MakeDescriptor(message_type)
634 self.assertEqual(result.fields[1].message_type.containing_type,
644 message_type = file_descriptor_proto.message_type.add()
645 message_type.name = file_descriptor_proto.name
[all …]
/external/dbus/tools/
Ddbus-print-message.c30 type_to_name (int message_type) in type_to_name() argument
32 switch (message_type) in type_to_name()
363 int message_type; in print_message() local
365 message_type = dbus_message_get_type (message); in print_message()
372 type_to_name (message_type), in print_message()
376 switch (message_type) in print_message()
Ddbus-send.c241 int message_type = DBUS_MESSAGE_TYPE_SIGNAL; in main() local
286 message_type = DBUS_MESSAGE_TYPE_METHOD_CALL; in main()
321 message_type = dbus_message_type_from_string (type_str); in main()
322 if (!(message_type == DBUS_MESSAGE_TYPE_METHOD_CALL || in main()
323 message_type == DBUS_MESSAGE_TYPE_SIGNAL)) in main()
352 if (message_type == DBUS_MESSAGE_TYPE_METHOD_CALL) in main()
371 else if (message_type == DBUS_MESSAGE_TYPE_SIGNAL) in main()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_extension.cc91 string message_type = ClassName(params, descriptor->message_type()); in SetVariables() local
93 message_type += "[]"; in SetVariables()
95 (*variables)["class"] = message_type; in SetVariables()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc197 return ClassName(field->message_type(), true); in FieldMessageTypeName()
415 if (HasExtension(file->message_type(i))) { in StaticInitializersForced()
455 static bool HasEnumDefinitions(const Descriptor* message_type) { in HasEnumDefinitions() argument
456 if (message_type->enum_type_count() > 0) return true; in HasEnumDefinitions()
457 for (int i = 0; i < message_type->nested_type_count(); ++i) { in HasEnumDefinitions()
458 if (HasEnumDefinitions(message_type->nested_type(i))) return true; in HasEnumDefinitions()
466 if (HasEnumDefinitions(file->message_type(i))) return true; in HasEnumDefinitions()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc123 if (HasRequiredFields(field->message_type(), already_seen)) { in HasRequiredFields()
426 HasRequiredFields(field->message_type())) { in GenerateIsInitialized()
431 "type", ClassName(params_, field->message_type()), in GenerateIsInitialized()
439 "type", ClassName(params_, field->message_type()), in GenerateIsInitialized()
448 "type", ClassName(params_, field->message_type()), in GenerateIsInitialized()
455 "type", ClassName(params_, field->message_type()), in GenerateIsInitialized()
Djavamicro_file.cc135 if (file_->message_type(i)->name() == classname_) { in Validate()
180 MessageGenerator(file_->message_type(i), params_).Generate(printer); in Generate()
187 MessageGenerator(file_->message_type(i), params_).GenerateStaticVariables(printer); in Generate()
228 file_->message_type(i), in GenerateSiblings()

123456