/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 92 SimpleMessageNano newMsg = SimpleMessageNano.parseFrom(result); in testSimpleMessageNano() local 93 assertEquals(456, newMsg.d); in testSimpleMessageNano() 131 RecursiveMessageNano newMsg = RecursiveMessageNano.parseFrom(result); in testRecursiveMessageNano() local 132 assertEquals(1, newMsg.repeatedRecursiveMessageNano.length); in testRecursiveMessageNano() 134 assertEquals(0, newMsg.id); in testRecursiveMessageNano() 135 assertEquals(1, newMsg.nestedMessage.a.id); in testRecursiveMessageNano() 136 assertEquals(2, newMsg.optionalRecursiveMessageNano.id); in testRecursiveMessageNano() 137 assertEquals(3, newMsg.repeatedRecursiveMessageNano[0].id); in testRecursiveMessageNano() 161 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoRequiredInt32() local 162 assertEquals(123, newMsg.id); in testNanoRequiredInt32() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractSchemaTest.java | 78 T newMsg = schema.newInstance(); in invalidUtf8StringParsing() local 80 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in invalidUtf8StringParsing() 120 M newMsg = schema.newInstance(); in roundtrip() local 122 newMsg, serializedBytes, 0, serializedBytes.length, new ArrayDecoders.Registers()); in roundtrip() 123 schema.makeImmutable(newMsg); in roundtrip() 124 assertWithMessage(failureMessage).that(newMsg).isEqualTo(msg); in roundtrip() 126 M newMsg = schema.newInstance(); in roundtrip() local 128 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in roundtrip() 129 schema.makeImmutable(newMsg); in roundtrip() 131 assertWithMessage(failureMessage).that(newMsg).isEqualTo(msg); in roundtrip()
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractSchemaTest.java | 78 T newMsg = schema.newInstance(); in invalidUtf8StringParsing() local 80 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in invalidUtf8StringParsing() 120 M newMsg = schema.newInstance(); in roundtrip() local 122 newMsg, serializedBytes, 0, serializedBytes.length, new ArrayDecoders.Registers()); in roundtrip() 123 schema.makeImmutable(newMsg); in roundtrip() 124 assertWithMessage(failureMessage).that(newMsg).isEqualTo(msg); in roundtrip() 126 M newMsg = schema.newInstance(); in roundtrip() local 128 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in roundtrip() 129 schema.makeImmutable(newMsg); in roundtrip() 131 assertWithMessage(failureMessage).that(newMsg).isEqualTo(msg); in roundtrip()
|
/external/boringssl/src/ssl/test/runner/ |
D | sign.go | 56 newMsg := make([]byte, len(msg)) 57 copy(newMsg, msg) 58 newMsg[0] ^= 0x80 59 msg = newMsg
|
D | handshake_server.go | 785 newMsg, err := c.readHandshake() 789 newClientHello, ok := newMsg.(*clientHelloMsg) 792 return unexpectedMessageError(newClientHello, newMsg)
|
/external/cronet/third_party/boringssl/src/ssl/test/runner/ |
D | sign.go | 56 newMsg := make([]byte, len(msg)) 57 copy(newMsg, msg) 58 newMsg[0] ^= 0x80 59 msg = newMsg
|
D | handshake_server.go | 785 newMsg, err := c.readHandshake() 789 newClientHello, ok := newMsg.(*clientHelloMsg) 792 return unexpectedMessageError(newClientHello, newMsg)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePattern.java | 880 MessagePattern newMsg; in cloneAsThawed() local 882 newMsg=(MessagePattern)super.clone(); in cloneAsThawed() 886 newMsg.parts=(ArrayList<Part>)parts.clone(); in cloneAsThawed() 888 newMsg.numericValues=(ArrayList<Double>)numericValues.clone(); in cloneAsThawed() 890 newMsg.frozen=false; in cloneAsThawed() 891 return newMsg; in cloneAsThawed()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessagePattern.java | 811 MessagePattern newMsg; in cloneAsThawed() local 813 newMsg=(MessagePattern)super.clone(); in cloneAsThawed() 817 newMsg.parts=(ArrayList<Part>)parts.clone(); in cloneAsThawed() 819 newMsg.numericValues=(ArrayList<Double>)numericValues.clone(); in cloneAsThawed() 821 newMsg.frozen=false; in cloneAsThawed() 822 return newMsg; in cloneAsThawed()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHandlerTest.java | 379 Message newMsg = handler.obtainMessage(123); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused() local 380 assertWithMessage("new message").that(newMsg).isSameInstanceAs(msg); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused() 381 handler.sendMessageDelayed(newMsg, 400); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHandlerTest.java | 377 Message newMsg = handler.obtainMessage(123); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused() local 378 assertWithMessage("new message").that(newMsg).isSameInstanceAs(msg); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused() 379 handler.sendMessageDelayed(newMsg, 400); in scheduler_wontDispatchRemovedMessage_evenIfMessageReused()
|
/external/vulkan-validation-layers/layers/ |
D | vk_layer_logging.h | 569 std::string newMsg = "SrcObject name = " + marker_label; in debug_messenger_log_msg() local 570 newMsg.append(" "); in debug_messenger_log_msg() 571 newMsg.append(callback_data->pMessage); in debug_messenger_log_msg() 574 … newMsg.c_str(), layer_dbg_node->pUserData)) { in debug_messenger_log_msg()
|