/third_party/protobuf/src/google/protobuf/util/ |
D | message_differencer_unittest.cc | 82 const Message& msg1, const Message& msg2) { in ExpectEqualsWithDifferencer() argument 84 EXPECT_TRUE(differencer->Compare(msg1, msg2)); in ExpectEqualsWithDifferencer() 87 EXPECT_TRUE(differencer->Compare(msg1, msg2)); in ExpectEqualsWithDifferencer() 93 unittest::TestAllTypes msg2; in TEST() local 96 TestUtil::SetAllFields(&msg2); in TEST() 99 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 105 unittest::TestAllTypes msg2; in TEST() local 108 TestUtil::SetAllFields(&msg2); in TEST() 113 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST() 119 unittest::TestAllTypes msg2; in TEST() local [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBSwiftTests.swift | 40 let msg2 = Message2() in testProto2Basics() variable 46 msg2.optionalString = "other" in testProto2Basics() 47 msg.optional = msg2 in testProto2Basics() 67 XCTAssertTrue(msg2.hasOptionalString) in testProto2Basics() 77 XCTAssertEqual(msg2.optionalString, "other") in testProto2Basics() 78 XCTAssertTrue(msg.optional === msg2) in testProto2Basics() 108 msg2.optionalString = nil in testProto2Basics() 109 XCTAssertFalse(msg2.hasOptionalString) in testProto2Basics() 110 XCTAssertEqual(msg2.optionalString, "") in testProto2Basics() 127 XCTAssertTrue(msg.optional !== msg2) // New instance in testProto2Basics() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 127 String msg2 = "\", \""; in reportCResult() local 136 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 138 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 142 msg2 = "\").compareTo(key(\""; in reportCResult() 146 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 148 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 150 msg2 = " vs. "; in reportCResult() 151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 155 msg2 = "\", \""; in reportCResult() 161 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | LotusCollationKoreanTest.java | 90 String msg2 = "\", \""; in reportCResult() local 99 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 101 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 105 msg2 = "\").compareTo(key(\""; in reportCResult() 109 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 111 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 113 msg2 = " vs. "; in reportCResult() 114 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 118 msg2 = "\", \""; in reportCResult() 124 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationTurkishTest.java | 131 String msg2 = "\", \""; in reportCResult() local 140 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 142 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 146 msg2 = "\").compareTo(key(\""; in reportCResult() 150 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 152 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 154 msg2 = " vs. "; in reportCResult() 155 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 159 msg2 = "\", \""; in reportCResult() 165 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationFinnishTest.java | 112 String msg2 = "\", \""; in reportCResult() local 121 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 123 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 127 msg2 = "\").compareTo(key(\""; in reportCResult() 131 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 133 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 135 msg2 = " vs. "; in reportCResult() 136 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 140 msg2 = "\", \""; in reportCResult() 146 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationSpanishTest.java | 124 String msg2 = "\", \""; in reportCResult() local 133 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 135 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 139 msg2 = "\").compareTo(key(\""; in reportCResult() 143 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 145 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 147 msg2 = " vs. "; in reportCResult() 148 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 152 msg2 = "\", \""; in reportCResult() 158 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationGermanTest.java | 159 String msg2 = "\", \""; in reportCResult() local 168 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 170 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 174 msg2 = "\").compareTo(key(\""; in reportCResult() 178 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 180 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 182 msg2 = " vs. "; in reportCResult() 183 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 187 msg2 = "\", \""; in reportCResult() 193 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationFrenchTest.java | 223 String msg2 = "\", \""; in reportCResult() local 232 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 234 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 238 msg2 = "\").compareTo(key(\""; in reportCResult() 242 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 244 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 246 msg2 = " vs. "; in reportCResult() 247 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 251 msg2 = "\", \""; in reportCResult() 257 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationEnglishTest.java | 358 String msg2 = "\", \""; in reportCResult() local 367 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 369 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 373 msg2 = "\").compareTo(key(\""; in reportCResult() 377 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 379 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 381 msg2 = " vs. "; in reportCResult() 382 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 386 msg2 = "\", \""; in reportCResult() 392 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationKanaTest.java | 232 String msg2 = "\", \""; in reportCResult() local 241 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 243 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 247 msg2 = "\").compareTo(key(\""; in reportCResult() 251 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 253 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 255 msg2 = " vs. "; in reportCResult() 256 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 260 msg2 = "\", \""; in reportCResult() 266 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 130 String msg2 = "\", \""; in reportCResult() local 139 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 141 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 145 msg2 = "\").compareTo(key(\""; in reportCResult() 149 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 151 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 153 msg2 = " vs. "; in reportCResult() 154 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 158 msg2 = "\", \""; in reportCResult() 164 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | LotusCollationKoreanTest.java | 93 String msg2 = "\", \""; in reportCResult() local 102 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 104 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 108 msg2 = "\").compareTo(key(\""; in reportCResult() 112 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 114 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 116 msg2 = " vs. "; in reportCResult() 117 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 121 msg2 = "\", \""; in reportCResult() 127 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationFinnishTest.java | 115 String msg2 = "\", \""; in reportCResult() local 124 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 126 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 130 msg2 = "\").compareTo(key(\""; in reportCResult() 134 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 136 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 138 msg2 = " vs. "; in reportCResult() 139 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 143 msg2 = "\", \""; in reportCResult() 149 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationSpanishTest.java | 127 String msg2 = "\", \""; in reportCResult() local 136 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 138 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 142 msg2 = "\").compareTo(key(\""; in reportCResult() 146 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 148 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 150 msg2 = " vs. "; in reportCResult() 151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 155 msg2 = "\", \""; in reportCResult() 161 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationTurkishTest.java | 134 String msg2 = "\", \""; in reportCResult() local 143 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 145 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 149 msg2 = "\").compareTo(key(\""; in reportCResult() 153 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 155 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 157 msg2 = " vs. "; in reportCResult() 158 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 162 msg2 = "\", \""; in reportCResult() 168 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationGermanTest.java | 162 String msg2 = "\", \""; in reportCResult() local 171 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 173 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 177 msg2 = "\").compareTo(key(\""; in reportCResult() 181 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 183 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 185 msg2 = " vs. "; in reportCResult() 186 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 190 msg2 = "\", \""; in reportCResult() 196 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationFrenchTest.java | 226 String msg2 = "\", \""; in reportCResult() local 235 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 237 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 241 msg2 = "\").compareTo(key(\""; in reportCResult() 245 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 247 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 249 msg2 = " vs. "; in reportCResult() 250 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 254 msg2 = "\", \""; in reportCResult() 260 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationEnglishTest.java | 361 String msg2 = "\", \""; in reportCResult() local 370 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 372 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 376 msg2 = "\").compareTo(key(\""; in reportCResult() 380 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 382 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 384 msg2 = " vs. "; in reportCResult() 385 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 389 msg2 = "\", \""; in reportCResult() 395 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
D | CollationKanaTest.java | 235 String msg2 = "\", \""; in reportCResult() local 244 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 246 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 250 msg2 = "\").compareTo(key(\""; in reportCResult() 254 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() 256 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult() 258 msg2 = " vs. "; in reportCResult() 259 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult() 263 msg2 = "\", \""; in reportCResult() 269 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult() [all …]
|
/third_party/node/test/parallel/ |
D | test-eslint-prefer-common-mustsucceed.js | 14 const msg2 = 'Please use common.mustSucceed instead of ' + constant 33 errors: [{ message: msg2 }] 37 errors: [{ message: msg2 }] 41 errors: [{ message: msg2 }] 45 errors: [{ message: msg2 }] 49 errors: [{ message: msg2 }]
|
/third_party/grpc/third_party/upb/tests/ |
D | test_generated_code.c | 31 protobuf_test_messages_proto3_TestAllTypesProto3 *msg2; in test_scalars() local 48 msg2 = protobuf_test_messages_proto3_TestAllTypesProto3_parse( in test_scalars() 52 msg2) == 10); in test_scalars() 54 msg2) == 20); in test_scalars() 56 msg2) == 30); in test_scalars() 58 msg2) == 40); in test_scalars() 60 msg2) - 50.5 < 0.01); in test_scalars() 62 msg2) - 60.6 < 0.01); in test_scalars() 64 msg2) == 1); in test_scalars() 65 val = protobuf_test_messages_proto3_TestAllTypesProto3_optional_string(msg2); in test_scalars() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | proto3_arena_unittest.cc | 412 protobuf_unittest::TestProto3Optional msg2; in TEST() local 415 EXPECT_TRUE(msg2.ParseFromString(serialized)); in TEST() 416 TestAllFieldsZero(msg2); in TEST() 417 TestAllFieldsSet(msg2, true); in TEST() 424 protobuf_unittest::TestProto3Optional msg2; in TEST() local 427 EXPECT_TRUE(TextFormat::ParseFromString(text, &msg2)); in TEST() 428 TestAllFieldsSet(msg2, true); in TEST() 429 TestAllFieldsZero(msg2); in TEST() 436 protobuf_unittest::TestProto3Optional msg2; in TEST() local 439 EXPECT_TRUE(TextFormat::ParseFromString(text, &msg2)); in TEST() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | sendmmsg.c | 34 struct iovec msg1[2], msg2; in sendmmsg_0100() local 57 memset(&msg2, 0, sizeof(msg2)); in sendmmsg_0100() 58 msg2.iov_base = "three"; in sendmmsg_0100() 59 msg2.iov_len = 5; in sendmmsg_0100() 65 msg[1].msg_hdr.msg_iov = &msg2; in sendmmsg_0100()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 817 msg2 = message_module.NestedTestAllTypes() 820 msg2.child.payload.optional_nested_message.bb = 1 821 msg1.MergeFrom(msg2) 827 nested = msg2.payload.repeated_nested_message.add() 829 msg1.MergeFrom(msg2) 1426 msg2 = more_extensions_pb2.TopLevelMessage() 1431 msg2.submessage.Extensions[ 1435 msg1.MergeFrom(msg2) 1719 msg2 = test_proto3_optional_pb2.TestProto3Optional() 1720 msg2.ParseFromString(msg.SerializeToString()) [all …]
|