/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 | 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 | 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 | 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/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/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()
|
/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/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/vulkan-loader/loader/ |
D | debug_utils.c | 61 pNewDbgFuncNode->messenger.messageType = pCreateInfo->messageType; in util_CreateDebugUtilsMessenger() 97 (pTrav->messenger.messageType & messageTypes)) { in util_SubmitDebugUtilsMessageEXT() 217 pNewDbgFuncNode->messenger.messageType = pCreateInfo->messageType; in terminator_CreateDebugUtilsMessengerEXT() 354 …enger && (pTrav->messenger.messageSeverity & severity) && (pTrav->messenger.messageType & types)) { in util_DebugReportMessage()
|
D | vk_loader_layer.h | 38 VkDebugUtilsMessageTypeFlagsEXT messageType; member
|
/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/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/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/ |
D | descriptor.js | 368 messageType: [], 387 messageType: Array.isArray(object?.messageType) 388 ? object.messageType.map((e) => exports.DescriptorProto.fromJSON(e)) 422 if (message.messageType) { 423 …obj.messageType = message.messageType.map((e) => e ? exports.DescriptorProto.toJSON(e) : undefined… 426 obj.messageType = [];
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_debug.txt | 130 EGLint messageType, 148 Tokens provided by the <messageType> parameter of EGLDEBUGPROCKHR 242 EGLint messageType, 259 <messageType> will contain one of the debug message types listed in 450 EGLint messageType, 457 error, command, messageType, threadLabel, objectLabel, message);
|