/external/protobuf/src/google/protobuf/compiler/cpp/ |
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/protobuf/src/google/protobuf/ |
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, message3 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...] |
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...] |
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.optional_int32()) 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...] |
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...] |
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, field2)); [all...] |
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/java/src/test/java/com/google/protobuf/ |
LiteTest.java | 80 TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); local 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(); local 108 assertEquals(123, (int) message2.getExtension( 110 assertEquals(1, message2.getExtensionCount( 112 assertEquals(1, message2.getExtension( 114 assertEquals("hello", message2.getExtension [all...] |
WireFormatTest.java | 66 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 68 TestUtil.assertAllFieldsSet(message2); 77 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local 79 TestUtil.assertPackedFieldsSet(message2); 91 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 93 TestUtil.assertAllFieldsSet(message2); 102 TestPackedTypes message2 = TestUtil.getPackedSet(); local 103 ByteString rawBytes2 = message2.toByteString(); 124 TestPackedTypes message2 = TestPackedTypes.parseFrom( local 127 TestUtil.assertPackedFieldsSet(message2); 139 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 150 TestPackedTypes message2 = TestUtil.getPackedSet(); local 166 TestAllExtensions message2 = local 179 TestPackedExtensions message2 = local 195 TestAllExtensionsLite message2 = local 216 TestPackedExtensionsLite message2 = local 380 TestMessageSetExtension2 message2 = local 593 TestOneof2 message2 = TestOneof2.parseFrom(rawBytes); local [all...] |
DynamicMessageTest.java | 173 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 175 TestUtil.assertAllFieldsSet(message2); 188 Message message2 = local 190 reflectionTester.assertAllFieldsSetViaReflection(message2); 193 Message message3 = message2.getParserForType().parseFrom(rawBytes); 205 Message message2 = message.getParserForType().parseFrom( local 207 extensionsReflectionTester.assertAllFieldsSetViaReflection(message2); 217 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local 219 TestUtil.assertPackedFieldsSet(message2); 232 Message message2 local [all...] |
GeneratedMessageTest.java | 1239 message2 = OuterClassNameTest2OuterClass.TestMessage2.NestedMessage local 1310 TestOneof2 message2 = builder.build(); local 1326 TestOneof2 message2 = builder.build(); local 1344 TestOneof2 message2 = builder.buildPartial(); local 1374 TestOneof2 message2 = builder.build(); local 1393 TestOneof2 message2 = builder.build(); local 1439 TestOneof2 message2 = TestOneof2.newBuilder().mergeFrom(message).build(); local 1448 TestOneof2 message2 = TestOneof2.newBuilder().mergeFrom(message).build(); local 1457 TestOneof2 message2 = TestOneof2.newBuilder().mergeFrom(message).build(); local 1467 TestOneof2 message2 = TestOneof2.newBuilder().mergeFrom(message).build(); local 1479 TestOneof2 message2 = TestOneof2.parseFrom(serialized); local 1489 TestOneof2 message2 = TestOneof2.parseFrom(serialized); local 1499 TestOneof2 message2 = TestOneof2.parseFrom(serialized); local 1510 TestOneof2 message2 = TestOneof2.parseFrom(serialized); local [all...] |
CodedInputStreamTest.java | 320 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 321 TestUtil.assertAllFieldsSet(message2); 325 message2 = TestAllTypes.parseFrom( 327 TestUtil.assertAllFieldsSet(message2); 405 TestAllTypes message2 = local 408 assertEquals(message.getOptionalBytes(), message2.getOptionalBytes()); 411 TestAllTypes message3 = TestAllTypes.newBuilder(message2)
|
AbstractMessageTest.java | 487 private void checkEqualsIsConsistent(Message message1, Message message2) { 488 assertEquals(message1, message2); 489 assertEquals(message2, message1); 490 assertEquals(message2.hashCode(), message1.hashCode());
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
message_differencer.h | 117 // Descriptor (message1.GetDescriptor() == message2.GetDescriptor()). 118 static bool Equals(const Message& message1, const Message& message2); 129 // Descriptor (message1.GetDescriptor() == message2.GetDescriptor()). 130 static bool Equivalent(const Message& message1, const Message& message2); 141 // Descriptor (message1.GetDescriptor() == message2.GetDescriptor()). 143 const Message& message2); 156 // Descriptor (message1.GetDescriptor() == message2.GetDescriptor()). 158 const Message& message2); 221 // Reports that a field has been added into Message2. 223 const Message& message1, const Message& message2, [all...] |
/external/v8/test/promises-aplus/lib/ |
assert.js | 30 function compose(message1, message2) { 31 return message2 ? message1 + ': ' + message2 : message1
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
ChecksumCalculator.h | 94 // std::vector<unsigned char> message2(bufLen2 + encoder.checksumByteSize()); 102 // std::vector<unsigned char> message2(bufLen2 + encoder.checksumByteSize()); 103 // memcpy(&message2[0], buf2, bufLen2); 104 // encoder.writeChecksum(&message2[0] + bufLen2, encoder.checksumByteSize()); 109 // decoder.addBuffer(&message2[0], bufLen2); 112 // if (!decoder.validate(&message2[0]+bufLen2, decoder.checksumByteSize())) {
|
/external/nanopb-c/tests/options/ |
options.proto | 16 message Message2
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
AssetManagerTest.java | 99 manager.load("data/i18n/message2", I18NBundle.class, new I18NBundleLoader.I18NBundleParameter(reloads % 2 == 0 ? Locale.ITALIAN : Locale.ENGLISH)); 119 manager.unload("data/i18n/message2"); 164 if (manager.isLoaded("data/i18n/message2")) font.draw(batch, manager.get("data/i18n/message2", I18NBundle.class).get("msg"), 100, 400);
|
I18NSimpleMessageTest.java | 54 FileHandle bfh = Gdx.files.internal("data/i18n/message2");
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTests.java | 427 Message message2 = ProviderTestUtils.setupMessage("message1", local 433 long message2Id = message2.mId; 434 String text2 = message2.mText; 435 String html2 = message2.mHtml; 436 long sourceKey2 = message2.mSourceKey; 437 message2.mText = null; 438 message2.mHtml = null; 439 message2.mSourceKey = 0; 441 ProviderTestUtils.assertMessageEqual("testMessageSave", message2, message2get); 666 Message message2 = ProviderTestUtils.setupMessage("message1" local 721 Message message2 = ProviderTestUtils.setupMessage("message1", local 781 Message message2 = ProviderTestUtils.setupMessage("message1", local 831 Message message2 = ProviderTestUtils.setupMessage("message1", local 1098 Message message2 = ProviderTestUtils.setupMessage("message2", local 1149 Message message2 = ProviderTestUtils.setupMessage("message2", local 1214 Message message2 = ProviderTestUtils.setupMessage("message2", local 1355 Message message2 = ProviderTestUtils.setupMessage("message2", local 1452 Message message2 = ProviderTestUtils.setupMessage("message2", local 1752 Message message2 = local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
messages_test.py | [all...] |
descriptor_test.py | 404 'class Message2(messages.Message): pass\n') 409 message2 = descriptor.MessageDescriptor() 410 message2.name = 'Message2' 414 expected.message_types = [message1, message2]
|
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 55 Message message2 = mHandler.obtainMessage(MyHandler.MESSAGE_ADD_SECOND_FAKE_PRINTER); local 56 mHandler.sendMessageDelayed(message2, 10000);
|
/external/dbus/dbus/ |
dbus-message-util.c | 1412 DBusMessage *message2; local [all...] |
/external/selinux/libsepol/cil/test/unit/ |
CuTest.h | 82 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message);
|