Home
last modified time | relevance | path

Searched refs:message_class (Results 1 – 25 of 26) sorted by relevance

12

/external/libchrome/ipc/
Dmessage_filter_router.cc40 bool ValidMessageClass(int message_class) { in ValidMessageClass() argument
41 return message_class >= 0 && message_class < LastIPCMsgStart; in ValidMessageClass()
56 const int message_class = supported_message_classes[i]; in AddFilter() local
57 DCHECK(ValidMessageClass(message_class)); in AddFilter()
60 if (!message_class_filters_[message_class].empty() && in AddFilter()
61 message_class_filters_[message_class].back() == filter) { in AddFilter()
64 message_class_filters_[message_class].push_back(filter); in AddFilter()
83 const int message_class = IPC_MESSAGE_CLASS(message); in TryFilters() local
84 if (!ValidMessageClass(message_class)) in TryFilters()
87 return TryFiltersImpl(message_class_filters_[message_class], message); in TryFilters()
/external/protobuf/benchmarks/python/
Dpy_benchmark.py68 global benchmark_dataset, message_class, message_list, counter, total_bytes
77 message_class = benchmark_message1_proto3_pb2.GoogleMessage1
79 message_class = benchmark_message1_proto2_pb2.GoogleMessage1
81 message_class = benchmark_message2_pb2.GoogleMessage2
83 message_class = benchmark_message3_pb2.GoogleMessage3
85 message_class = benchmark_message4_pb2.GoogleMessage4
90 temp = message_class()
97 global counter, message_class, benchmark_dataset
98 …m = message_class().ParseFromString(benchmark_dataset.payload[counter % len(benchmark_dataset.payl…
103 global counter, message_list, message_class
/external/protobuf/python/google/protobuf/pyext/
Dmessage_factory.cc142 CMessageClass* message_class) { in RegisterMessageClass() argument
143 Py_INCREF(message_class); in RegisterMessageClass()
146 std::make_pair(message_descriptor, message_class)); in RegisterMessageClass()
150 ret.first->second = message_class; in RegisterMessageClass()
180 ScopedPyObjectPtr message_class(PyObject_CallObject( in GetOrCreateMessageClass() local
182 if (message_class == NULL) { in GetOrCreateMessageClass()
219 return reinterpret_cast<CMessageClass*>(message_class.release()); in GetOrCreateMessageClass()
Dmap_container.h67 CMessageClass* message_class; member
85 CMessageClass* message_class);
Dmap_container.cc330 CMessageClass* message_class = message_factory::GetMessageClass( in GetEntryClass() local
333 Py_XINCREF(message_class); in GetEntryClass()
334 return reinterpret_cast<PyObject*>(message_class); in GetEntryClass()
635 self->message_class) in GetCMessage()
641 CMessageClass* message_class) { in NewMessageMapContainer() argument
664 Py_INCREF(message_class); in NewMessageMapContainer()
665 self->message_class = message_class; in NewMessageMapContainer()
808 Py_DECREF(self->message_class); in MessageMapDealloc()
Dextension_dict.cc179 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in subscript() local
183 reinterpret_cast<PyObject*>(message_class)); in subscript()
184 if (message_class == NULL) { in subscript()
188 self->parent, descriptor, message_class); in subscript()
Dmessage_factory.h84 CMessageClass* message_class);
Dmessage.cc1986 CMessageClass *message_class = reinterpret_cast<CMessageClass*>(cls); in RegisterExtension() local
1987 if (message_class == NULL) { in RegisterExtension()
1992 message_class->py_message_factory->pool->pool->FindExtensionByNumber( in RegisterExtension()
2244 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in InternalGetSubMessage() local
2247 reinterpret_cast<PyObject*>(message_class)); in InternalGetSubMessage()
2248 if (message_class == NULL) { in InternalGetSubMessage()
2252 CMessage* cmsg = cmessage::NewEmptyMessage(message_class); in InternalGetSubMessage()
2666 CMessageClass* message_class = message_factory::GetMessageClass( in GetFieldValue() local
2668 if (message_class == NULL) { in GetFieldValue()
2672 self, field_descriptor, message_class); in GetFieldValue()
[all …]
Dmessage.h140 CMessageClass* message_class);
Ddescriptor.cc243 CMessageClass* message_class = message_factory::GetOrCreateMessageClass( in GetOrBuildOptions() local
245 if (message_class == NULL) { in GetOrBuildOptions()
251 PyEval_CallObject(message_class->AsPyObject(), NULL)); in GetOrBuildOptions()
252 Py_DECREF(message_class); in GetOrBuildOptions()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_response.py145 message_class = MBIMControlMessageResponse
148 while message_class is not None:
150 message = message_class(raw_data=first_packet)
161 message_class = message.find_payload_class()
Dmbim_message.py202 message_class = namedtuple(name, field_names)
207 mcs, name, (message_class,) + bases, attrs)
500 message_class = self.__class__
501 total_len = message_class.get_struct_len(get_all=True)
541 message_class = message.__class__
542 format_string = message_class.get_field_format_string()
543 field_names = message_class.get_field_names()
Dmbim_message_request.py171 message_class = message.__class__
/external/perfetto/test/trace_processor/track_event/
Dtrack_event_typed_args_args.out6 "chrome_legacy_ipc.message_class","chrome_legacy_ipc.message_class","[NULL]","CLASS_AUTOMATION"
Dtrack_event_typed_args.textproto36 message_class: 1
/external/libtextclassifier/native/actions/
Dactions_jni.cc280 ScopedLocalRef<jclass> message_class, in FromJavaConversationMessage()
286 JniHelper::GetMethodID(env, message_class.get(), "getText", in FromJavaConversationMessage()
295 JniHelper::GetMethodID(env, message_class.get(), "getUserId", "()I")); in FromJavaConversationMessage()
301 JniHelper::GetMethodID(env, message_class.get(), in FromJavaConversationMessage()
310 JniHelper::GetMethodID(env, message_class.get(), "getReferenceTimezone", in FromJavaConversationMessage()
318 JniHelper::GetMethodID(env, message_class.get(), in FromJavaConversationMessage()
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py1101 message_class = self.__field.message_definition()
1102 if message_class is None:
1104 return None, message_class, self.__field.number
1116 field_instance, message_class, number = state
1118 self.__field = message_class.field_by_number(number)
1296 def __get__(self, message_instance, message_class): argument
Dmessages_test.py1946 message_class = type(name, (messages.Message,), dict(children))
1948 setattr(module_instance, name, message_class)
1949 return message_class
/external/perfetto/protos/perfetto/trace/track_event/
Dchrome_legacy_ipc.proto67 optional MessageClass message_class = 1; field
/external/clang/test/SemaObjC/
Dobjc-class-property.m44 void message_class(Class me) { function
/external/llvm-project/clang/test/SemaObjC/
Dobjc-class-property.m53 void message_class(Class me) { function
/external/protobuf/python/google/protobuf/internal/
Dcontainers.py405 message_class = self._message_descriptor._concrete_class
409 new_element = message_class()
Dpython_message.py964 message_class = factory.GetPrototype(descriptor)
965 message = message_class()
Ddescriptor_pool_test.py485 message_class = message_factory.MessageFactory(pool).GetPrototype(
488 _CheckDefaultValues(message_class())
/external/protobuf/python/google/protobuf/
Djson_format.py390 message_class = db.GetPrototype(message_descriptor)
391 return message_class()

12