/external/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | LiteTest.java | 80 TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); 82 assertEquals(123, message2.getOptionalInt32()); 83 assertEquals(1, message2.getRepeatedStringCount()); 84 assertEquals("hello", message2.getRepeatedString(0)); 85 assertEquals(7, message2.getOptionalNestedMessage().getBb()); 106 TestAllExtensionsLite message2 = message.toBuilder().build(); 108 assertEquals(123, (int) message2.getExtension( 110 assertEquals(1, message2.getExtensionCount( 112 assertEquals(1, message2.getExtension( 114 assertEquals("hello", message2 [all...] |
H A D | WireFormatTest.java | 66 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); 68 TestUtil.assertAllFieldsSet(message2); 77 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); 79 TestUtil.assertPackedFieldsSet(message2); 91 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); 93 TestUtil.assertAllFieldsSet(message2); 102 TestPackedTypes message2 = TestUtil.getPackedSet(); 103 ByteString rawBytes2 = message2.toByteString(); 124 TestPackedTypes message2 = TestPackedTypes.parseFrom( 127 TestUtil.assertPackedFieldsSet(message2); [all...] |
H A D | DynamicMessageTest.java | 173 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); 175 TestUtil.assertAllFieldsSet(message2); 188 Message message2 = 190 reflectionTester.assertAllFieldsSetViaReflection(message2); 193 Message message3 = message2.getParserForType().parseFrom(rawBytes); 205 Message message2 = message.getParserForType().parseFrom( 207 extensionsReflectionTester.assertAllFieldsSetViaReflection(message2); 217 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); 219 TestUtil.assertPackedFieldsSet(message2); 232 Message message2 [all...] |
H A D | GeneratedMessageTest.java | 1239 message2 = OuterClassNameTest2OuterClass.TestMessage2.NestedMessage 1241 assertEquals(0, message2.getSerializedSize()); 1310 TestOneof2 message2 = builder.build(); 1311 assertFalse(message2.hasFooInt()); 1312 assertEquals(message2.getFooInt(), 0); 1326 TestOneof2 message2 = builder.build(); 1327 assertFalse(message2.hasFooEnum()); 1328 assertEquals(message2.getFooEnum(), TestOneof2.NestedEnum.FOO); 1344 TestOneof2 message2 = builder.buildPartial(); 1345 assertFalse(message2 [all...] |
H A D | UnknownFieldSetTest.java | 513 TestAllTypes message2 = TestAllTypes.newBuilder() 523 ByteString data2 = message2.toByteString(); 527 message1 = TestAllTypes.newBuilder(message1).mergeFrom(message2).build(); 532 message2 = TestAllTypes.parseFrom(data1); 534 assertEquals(message1, message2);
|
H A D | CodedInputStreamTest.java | 320 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); 321 TestUtil.assertAllFieldsSet(message2); 325 message2 = TestAllTypes.parseFrom( 327 TestUtil.assertAllFieldsSet(message2); 405 TestAllTypes message2 = 408 assertEquals(message.getOptionalBytes(), message2.getOptionalBytes()); 411 TestAllTypes message3 = TestAllTypes.newBuilder(message2)
|
H A D | AbstractMessageTest.java | 487 private void checkEqualsIsConsistent(Message message1, Message message2) { argument 488 assertEquals(message1, message2); 489 assertEquals(message2, message1); 490 assertEquals(message2.hashCode(), message1.hashCode());
|
H A D | CodedOutputStreamTest.java | 315 SparseEnumMessage message2 = SparseEnumMessage.parseFrom(rawBytes); 316 assertEquals(TestSparseEnum.SPARSE_E, message2.getSparseEnum());
|
/external/protobuf/src/google/protobuf/ |
H A D | lite_unittest.cc | 91 protobuf_unittest::TestAllTypesLite message, message2, message3; local 94 message2.CopyFrom(message); 98 google::protobuf::TestUtilLite::ExpectAllFieldsSet(message2); 107 protobuf_unittest::TestAllExtensionsLite message, message2, message3; local 110 message2.CopyFrom(message); 114 google::protobuf::TestUtilLite::ExpectAllExtensionsSet(message2); 123 protobuf_unittest::TestPackedTypesLite message, message2, message3; local 126 message2.CopyFrom(message); 130 google::protobuf::TestUtilLite::ExpectPackedFieldsSet(message2); 139 protobuf_unittest::TestPackedExtensionsLite message, message2, message local 209 protobuf_unittest::TestAllTypesLite message, message2; local 225 protobuf_unittest::TestAllExtensionsLite message, message2; local 241 protobuf_unittest::TestPackedTypesLite message, message2; local 257 protobuf_unittest::TestPackedExtensionsLite message, message2; local 295 protobuf_unittest::TestAllTypesLite message, message2; local [all...] |
H A D | reflection_ops_unittest.cc | 58 unittest::TestAllTypes message, message2; local 62 ReflectionOps::Copy(message, &message2); 64 TestUtil::ExpectAllFieldsSet(message2); 67 ReflectionOps::Copy(message2, &message2); 68 TestUtil::ExpectAllFieldsSet(message2); 72 unittest::TestAllExtensions message, message2; local 76 ReflectionOps::Copy(message, &message2); 78 TestUtil::ExpectAllExtensionsSet(message2); 82 unittest::TestOneof2 message, message2; local 97 unittest::TestAllTypes message, message2; local 124 unittest::TestAllExtensions message, message2; local 152 unittest::TestEmptyMessage message1, message2; local 168 unittest::TestOneof2 message1, message2; local [all...] |
H A D | generated_message_reflection_unittest.cc | 152 unittest::TestAllTypes message2; local 157 reflection->Swap(&message1, &message2); 160 TestUtil::ExpectAllFieldsSet(message2); 165 unittest::TestAllTypes message2; local 168 TestUtil::SetAllFields(&message2); 169 TestUtil::ModifyRepeatedFields(&message2); 172 reflection->Swap(&message1, &message2); 175 TestUtil::ExpectAllFieldsSet(message2); 179 reflection->Swap(&message1, &message2); 181 EXPECT_EQ(532819, message2 186 unittest::TestAllExtensions message2; local 198 unittest::TestEmptyMessage message1, message2; local 211 unittest::TestAllTypes message1, message2; local 248 unittest::TestAllTypes message2; local 263 unittest::TestAllExtensions message2; local 277 unittest::TestOneof2 message1, message2; local 288 unittest::TestOneof2 message1, message2; local 300 unittest::TestOneof2 message1, message2; local [all...] |
H A D | extension_set_unittest.cc | 208 unittest::TestAllExtensions message1, message2; local 211 message2.CopyFrom(message1); 212 TestUtil::ExpectAllExtensionsSet(message2); 213 message2.CopyFrom(message1); // exercise copy when fields already exist 214 TestUtil::ExpectAllExtensionsSet(message2); 218 unittest::TestPackedExtensions message1, message2; local 221 message2.CopyFrom(message1); 222 TestUtil::ExpectPackedExtensionsSet(message2); 223 message2.CopyFrom(message1); // exercise copy when fields already exist 224 TestUtil::ExpectPackedExtensionsSet(message2); 228 unittest::TestAllExtensions message1, message2; local 240 unittest::TestAllExtensions message1, message2; local 261 unittest::TestAllExtensions message2; local 290 unittest::TestAllExtensions message2; local 307 unittest::TestAllExtensions message2; local 1050 unittest::TestAllExtensions message2; local [all...] |
H A D | generated_message_reflection.cc | 344 Message* message2, 351 MutableRaw<RepeatedField<TYPE> >(message2, field)); \ 367 MutableRaw<RepeatedPtrFieldBase>(message2, field)); 378 *MutableRaw<TYPE>(message2, field)); \ 392 *MutableRaw<Message*>(message2, field)); 400 *MutableRaw<string*>(message2, field)); 413 Message* message2, 416 uint32 oneof_case2 = GetOneofCase(*message2, oneof_descriptor); 462 // Sets message1's oneof field from the message2's oneof field. 469 SetField<TYPE>(message1, field2, GetField<TYPE>(*message2, field 342 SwapField( Message* message1, Message* message2, const FieldDescriptor* field) const argument 411 SwapOneofField( Message* message1, Message* message2, const OneofDescriptor* oneof_descriptor) const argument 578 SwapFields( Message* message1, Message* message2, const vector<const FieldDescriptor*>& fields) const argument 1545 SwapBit( Message* message1, Message* message2, const FieldDescriptor* field) const argument [all...] |
H A D | generated_message_reflection.h | 191 void Swap(Message* message1, Message* message2) const; 192 void SwapFields(Message* message1, Message* message2, 387 Message* message2, 393 Message* message2, 397 Message* message2,
|
H A D | wire_format_unittest.cc | 451 unittest::TestMessageSetExtension2 message2; local 452 EXPECT_TRUE(message2.ParseFromString(raw.item(1).message())); 453 EXPECT_EQ("foo", message2.str()); 620 unittest::TestRecursiveMessage message2; local 621 EXPECT_TRUE(message2.ParseFromCodedStream(&input)); 628 unittest::TestRecursiveMessage message2; local 629 EXPECT_FALSE(message2.ParseFromCodedStream(&input)); 648 unittest::TestEmptyMessage message2; local 649 EXPECT_TRUE(message2.ParseFromCodedStream(&input)); 656 unittest::TestEmptyMessage message2; local [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_unittest.cc | 399 unittest::TestAllTypes message1, message2; local 402 message2.CopyFrom(message1); 403 TestUtil::ExpectAllFieldsSet(message2); 406 message2.CopyFrom(message2); 407 TestUtil::ExpectAllFieldsSet(message2); 412 unittest::TestAllTypes message1, message2; local 416 TestUtil::ExpectClear(message2); 417 message1.Swap(&message2); 418 TestUtil::ExpectAllFieldsSet(message2); 431 unittest::TestAllTypes message1, message2; local 500 unittest::TestAllTypes message2; local 514 unittest::TestAllTypes message1, message2; local 530 unittest::TestAllTypes message2; local 552 unittest::TestAllTypes message1, message2; local 591 unittest::TestAllTypes message1, message2; local 620 unittest::TestAllTypes message1, message2; local 639 unittest::TestPackedTypes message1, message2; local 708 unittest::TestReallyLargeTagNumber message1, message2; local 800 protobuf_unittest::TestOptimizedForSize message, message2; local 812 protobuf_unittest::TestEmbedOptimizedForSize message, message2; local 1655 unittest::TestOneof2 message1, message2; local 1674 unittest::TestOneof2 message1, message2; local 1700 unittest::TestOneof2 message1, message2; local 1719 unittest::TestOneof2 message2; local 1731 unittest::TestOneof2 message1, message2; local 1749 unittest::TestOneof2 message1, message2; local 1763 unittest::TestOneof2 message1, message2; local 1778 unittest::TestOneof2 message1, message2; local 1792 unittest::TestOneof2 message1, message2; local 1806 unittest::TestOneof2 message1, message2; local 1820 unittest::TestOneof2 message1, message2; local 1842 unittest::TestOneof2 message1, message2; local 1863 unittest::TestOneof2 message1, message2; local 1885 unittest::TestOneof2 message1, message2; local 1906 unittest::TestOneof2 message1, message2; local 1927 unittest::TestOneof2 message1, message2; local 1948 unittest::TestOneof2 message1, message2; local 1970 unittest::TestOneof2 message1, message2; local [all...] |
/external/v8/test/promises-aplus/lib/ |
H A D | assert.js | 30 function compose(message1, message2) { 31 return message2 ? message1 + ': ' + message2 : message1
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
H A D | RbnfSampleRuleSets.java | 1167 public static final String message2 = field in class:RbnfSampleRuleSets 1641 message2,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sqs/ |
H A D | test_connection.py | 290 message2 = (2, 'Message 2', 0, {'name2': {'data_type': 'Number', 293 self.service_connection.send_message_batch(queue, (message1, message2))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
H A D | messages_test.py | 1486 message2 = MyMessage() 1488 self.assertEquals(message1, message2) 1491 self.assertNotEquals(message1, message2) 1493 message2.field1 = 20 1494 self.assertNotEquals(message1, message2) 1496 message2.field1 = 10 1497 self.assertEquals(message1, message2) 1500 self.assertNotEquals(message1, message2) 1502 message2.field2 = MyEnum.val2 1503 self.assertNotEquals(message1, message2) [all...] |
H A D | descriptor_test.py | 409 message2 = descriptor.MessageDescriptor() 410 message2.name = 'Message2' 414 expected.message_types = [message1, message2]
|
/external/selinux/libsepol/cil/test/unit/ |
H A D | CuTest.c | 183 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message) argument 188 if (message2 != NULL) 190 CuStringAppend(&string, message2);
|
H A D | CuTest.h | 82 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message);
|
/external/dbus/dbus/ |
H A D | dbus-message-util.c | 1412 DBusMessage *message2; local 1425 message2 = dbus_message_demarshal (marshalled, len, &error); 1427 _dbus_assert (message2 != NULL); 1429 verify_test_message (message2); 1431 dbus_message_unref (message2); 1436 message2 = dbus_message_demarshal ("invalid", 7, &error); 1437 _dbus_assert (message2 == NULL); 1443 message2 = dbus_message_demarshal ("", 0, &error); 1444 _dbus_assert (message2 == NULL);
|
/external/dbus/bus/ |
H A D | signals.c | 2590 DBusMessage *message1, *message2; local 2613 message2 = dbus_message_new (DBUS_MESSAGE_TYPE_SIGNAL); 2614 _dbus_assert (message2 != NULL); 2615 if (!dbus_message_set_member (message2, "NameOwnerChanged")) 2620 if (!dbus_message_append_args (message2, 2625 check_matching (message2, 2, 2629 dbus_message_unref (message2); 2760 DBusMessage *message2; local 2768 message2 = dbus_message_new (DBUS_MESSAGE_TYPE_SIGNAL); 2769 _dbus_assert (message2 ! [all...] |