/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 65 MessageDescriptor messageType = TestAllTypes.Descriptor; in FileDescriptor() 66 Assert.AreSame(typeof(TestAllTypes), messageType.ClrType); in FileDescriptor() 67 Assert.AreSame(TestAllTypes.Parser, messageType.Parser); in FileDescriptor() 68 Assert.AreEqual(messageType, file.MessageTypes[0]); in FileDescriptor() 69 Assert.AreEqual(messageType, file.FindTypeByName<MessageDescriptor>("TestAllTypes")); in FileDescriptor() 93 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptor() 96 Assert.AreEqual("TestAllTypes", messageType.Name); in MessageDescriptor() 97 Assert.AreEqual("protobuf_unittest.TestAllTypes", messageType.FullName); in MessageDescriptor() 98 Assert.AreEqual(UnittestProto3Reflection.Descriptor, messageType.File); in MessageDescriptor() 99 Assert.IsNull(messageType.ContainingType); in MessageDescriptor() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DescriptorMessageInfoFactory.java | 75 public boolean isSupported(Class<?> messageType) { in isSupported() argument 76 return GeneratedMessageV3.class.isAssignableFrom(messageType); in isSupported() 80 public MessageInfo messageInfoFor(Class<?> messageType) { in messageInfoFor() argument 81 if (!GeneratedMessageV3.class.isAssignableFrom(messageType)) { in messageInfoFor() 82 throw new IllegalArgumentException("Unsupported message type: " + messageType.getName()); in messageInfoFor() 85 return convert(messageType, descriptorForType(messageType)); in messageInfoFor() 88 private static Message getDefaultInstance(Class<?> messageType) { in getDefaultInstance() argument 90 Method method = messageType.getDeclaredMethod(GET_DEFAULT_INSTANCE_METHOD_NAME); in getDefaultInstance() 94 "Unable to get default instance for message class " + messageType.getName(), e); in getDefaultInstance() 98 private static Descriptor descriptorForType(Class<?> messageType) { in descriptorForType() argument [all …]
|
D | Protobuf.java | 88 public <T> Schema<T> schemaFor(Class<T> messageType) { in schemaFor() argument 89 checkNotNull(messageType, "messageType"); in schemaFor() 91 Schema<T> schema = (Schema<T>) schemaCache.get(messageType); in schemaFor() 93 schema = schemaFactory.createSchema(messageType); in schemaFor() 95 Schema<T> previous = (Schema<T>) registerSchema(messageType, schema); in schemaFor() 118 public Schema<?> registerSchema(Class<?> messageType, Schema<?> schema) { in registerSchema() argument 119 checkNotNull(messageType, "messageType"); in registerSchema() 121 return schemaCache.putIfAbsent(messageType, schema); in registerSchema() 133 public Schema<?> registerSchemaOverride(Class<?> messageType, Schema<?> schema) { in registerSchemaOverride() argument 134 checkNotNull(messageType, "messageType"); in registerSchemaOverride() [all …]
|
D | ManifestSchemaFactory.java | 52 public <T> Schema<T> createSchema(Class<T> messageType) { in createSchema() argument 53 SchemaUtil.requireGeneratedMessage(messageType); in createSchema() 55 MessageInfo messageInfo = messageInfoFactory.messageInfoFor(messageType); in createSchema() 59 if (GeneratedMessageLite.class.isAssignableFrom(messageType)) { in createSchema() 71 return newSchema(messageType, messageInfo); in createSchema() 74 private static <T> Schema<T> newSchema(Class<T> messageType, MessageInfo messageInfo) { in newSchema() argument 75 if (GeneratedMessageLite.class.isAssignableFrom(messageType)) { in newSchema() 78 messageType, in newSchema() 86 messageType, in newSchema() 96 messageType, in newSchema() [all …]
|
D | GeneratedMessageInfoFactory.java | 47 public boolean isSupported(Class<?> messageType) { in isSupported() argument 48 return GeneratedMessageLite.class.isAssignableFrom(messageType); in isSupported() 52 public MessageInfo messageInfoFor(Class<?> messageType) { in messageInfoFor() argument 53 if (!GeneratedMessageLite.class.isAssignableFrom(messageType)) { in messageInfoFor() 54 throw new IllegalArgumentException("Unsupported message type: " + messageType.getName()); in messageInfoFor() 59 messageType.asSubclass(GeneratedMessageLite.class)) in messageInfoFor() 62 throw new RuntimeException("Unable to get message info for " + messageType.getName(), e); in messageInfoFor()
|
D | TypeRegistry.java | 101 public Builder add(Descriptor messageType) { in add() argument 105 addFile(messageType.getFile()); in add()
|
D | SchemaFactory.java | 37 <T> Schema<T> createSchema(Class<T> messageType); in createSchema() argument
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 162 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptorFromGeneratedCodeFileDescriptor() 163 Assert.AreSame(typeof(TestAllTypes), messageType.ClrType); in MessageDescriptorFromGeneratedCodeFileDescriptor() 164 Assert.AreSame(TestAllTypes.Parser, messageType.Parser); in MessageDescriptorFromGeneratedCodeFileDescriptor() 165 Assert.AreEqual(messageType, file.MessageTypes[0]); in MessageDescriptorFromGeneratedCodeFileDescriptor() 166 Assert.AreEqual(messageType, file.FindTypeByName<MessageDescriptor>("TestAllTypes")); in MessageDescriptorFromGeneratedCodeFileDescriptor() 172 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptor() 175 Assert.AreEqual("TestAllTypes", messageType.Name); in MessageDescriptor() 176 Assert.AreEqual("protobuf_unittest3.TestAllTypes", messageType.FullName); in MessageDescriptor() 177 Assert.AreEqual(UnittestProto3Reflection.Descriptor, messageType.File); in MessageDescriptor() 178 Assert.IsNull(messageType.ContainingType); in MessageDescriptor() [all …]
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DescriptorsTest.java | 104 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor() local 105 assertEquals(messageType, file.getMessageTypes().get(0)); in testFileDescriptor() 106 assertEquals(messageType, file.findMessageTypeByName("TestAllTypes")); in testFileDescriptor() 151 Descriptor messageType = TestAllTypes.getDescriptor(); in testDescriptor() local 154 assertEquals("TestAllTypes", messageType.getName()); in testDescriptor() 155 assertEquals("protobuf_unittest.TestAllTypes", messageType.getFullName()); in testDescriptor() 156 assertEquals(UnittestProto.getDescriptor(), messageType.getFile()); in testDescriptor() 157 assertNull(messageType.getContainingType()); in testDescriptor() 159 messageType.getOptions()); in testDescriptor() 160 assertEquals("TestAllTypes", messageType.toProto().getName()); in testDescriptor() [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ExperimentalSerializationUtil.java | 75 public static <T> T fromByteArray(byte[] data, Class<T> messageType) { in fromByteArray() argument 77 return fromByteArrayFastPath(data, messageType); in fromByteArray() 79 return fromByteArray(data, messageType, ExtensionRegistryLite.getEmptyRegistry()); in fromByteArray() 88 byte[] data, Class<T> messageType, ExtensionRegistryLite extensionRegistry) { in fromByteArray() argument 90 Schema<T> schema = Protobuf.getInstance().schemaFor(messageType); in fromByteArray() 102 private static <T> T fromByteArrayFastPath(byte[] data, Class<T> messageType) { in fromByteArrayFastPath() argument 104 Schema<T> schema = Protobuf.getInstance().schemaFor(messageType); in fromByteArrayFastPath()
|
D | DescriptorsTest.java | 106 Descriptor messageType = TestAllTypes.getDescriptor(); in testFileDescriptor() local 107 assertEquals(messageType, file.getMessageTypes().get(0)); in testFileDescriptor() 108 assertEquals(messageType, file.findMessageTypeByName("TestAllTypes")); in testFileDescriptor() 149 Descriptor messageType = TestAllTypes.getDescriptor(); in testDescriptor() local 152 assertEquals("TestAllTypes", messageType.getName()); in testDescriptor() 153 assertEquals("protobuf_unittest.TestAllTypes", messageType.getFullName()); in testDescriptor() 154 assertEquals(UnittestProto.getDescriptor(), messageType.getFile()); in testDescriptor() 155 assertNull(messageType.getContainingType()); in testDescriptor() 156 assertEquals(DescriptorProtos.MessageOptions.getDefaultInstance(), messageType.getOptions()); in testDescriptor() 157 assertEquals("TestAllTypes", messageType.toProto().getName()); in testDescriptor() [all …]
|
D | CodedAdapterTest.java | 97 public static <T> T fromByteArray(byte[] data, Class<T> messageType) { in fromByteArray() argument 98 Schema<T> schema = Protobuf.getInstance().schemaFor(messageType); in fromByteArray()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Debug.cpp | 34 const char *EGLMessageTypeToString(egl::MessageType messageType) in EGLMessageTypeToString() argument 36 switch (messageType) in EGLMessageTypeToString() 431 for (MessageType messageType : angle::AllEnums<MessageType>()) in setCallback() 433 mEnabledMessageTypes[messageType] = in setCallback() 434 (attribs.getAsInt(egl::ToEGLenum(messageType), defaultMessageTypes[messageType]) == in setCallback() 452 MessageType messageType, in insertMessage() argument 459 const char *messageTypeString = EGLMessageTypeToString(messageType); in insertMessage() 466 if (mCallback && isMessageTypeEnabled(messageType)) in insertMessage() 468 mCallback(error, command, egl::ToEGLenum(messageType), threadLabel, objectLabel, in insertMessage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Debug.cpp | 34 const char *EGLMessageTypeToString(egl::MessageType messageType) in EGLMessageTypeToString() argument 36 switch (messageType) in EGLMessageTypeToString() 465 for (MessageType messageType : angle::AllEnums<MessageType>()) in setCallback() 467 mEnabledMessageTypes[messageType] = in setCallback() 468 (attribs.getAsInt(egl::ToEGLenum(messageType), defaultMessageTypes[messageType]) == in setCallback() 486 MessageType messageType, in insertMessage() argument 493 const char *messageTypeString = EGLMessageTypeToString(messageType); in insertMessage() 500 if (mCallback && isMessageTypeEnabled(messageType)) in insertMessage() 502 mCallback(error, command, egl::ToEGLenum(messageType), threadLabel, objectLabel, in insertMessage()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FieldDescriptor.cs | 46 private MessageDescriptor messageType; field in Google.Protobuf.Reflection.FieldDescriptor 223 …lic bool IsMap => fieldType == FieldType.Message && messageType.Proto.Options != null && messageTy… 300 return messageType; 385 messageType = (MessageDescriptor) typeDescriptor; in CrossLink()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDebugUtilsMessenger.cpp | 21 , messageType(pCreateInfo->messageType) in DebugUtilsMessenger()
|
D | VkDebugUtilsMessenger.hpp | 36 VkDebugUtilsMessageTypeFlagsEXT messageType = (VkDebugUtilsMessageTypeFlagsEXT)0; member in vk::DebugUtilsMessenger
|
/third_party/vk-gl-cts/executor/ |
D | xeTcpIpLink.cpp | 295 xs::MessageType messageType = (xs::MessageType)0; in run() local 299 xs::Message::parseHeader(&m_curMsgBuf[0], xs::MESSAGE_HEADER_SIZE, messageType, messageSize); in run() 306 …handleMessage(messageType, m_curMsgPos > xs::MESSAGE_HEADER_SIZE ? &m_curMsgBuf[xs::MESSAGE_HEADER… in run() 362 void TcpIpRecvThread::handleMessage (xs::MessageType messageType, const deUint8* data, size_t dataS… in handleMessage() argument 364 switch (messageType) in handleMessage() 398 if (messageType == xs::MESSAGETYPE_PROCESS_LOG_DATA) in handleMessage()
|
D | xeTcpIpLink.hpp | 107 void handleMessage (xs::MessageType messageType, const deUint8* data, size_t dataSize);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | tnc.h | 44 TNC_MessageType messageType); 63 TNC_MessageType messageType);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | tnc.h | 44 TNC_MessageType messageType); 63 TNC_MessageType messageType);
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLDebugTest.cpp | 26 EGLint messageType, in StubCallback() argument 34 EGLint messageType, in CheckBadBindAPIError() argument
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLDebugTest.cpp | 26 EGLint messageType, in StubCallback() argument 34 EGLint messageType, in CheckBadBindAPIError() argument
|
/third_party/protobuf/conformance/ |
D | conformance_objc.m | 77 if ([request.messageType isEqual:@"protobuf_test_messages.proto3.TestAllTypesProto3"]) { 79 … } else if ([request.messageType isEqual:@"protobuf_test_messages.proto2.TestAllTypesProto2"]) { 84 request.messageType];
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BackendVk.cpp | 345 utilsMessengerCreateInfo.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT | in CreateVkInstance() 382 createInfo.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT | in RegisterDebugUtils()
|