Home
last modified time | relevance | path

Searched refs:msg1 (Results 1 – 25 of 74) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc82 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()
92 unittest::TestAllTypes msg1; in TEST() local
95 TestUtil::SetAllFields(&msg1); in TEST()
99 EXPECT_TRUE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
104 unittest::TestAllTypes msg1; in TEST() local
107 TestUtil::SetAllFields(&msg1); in TEST()
110 msg1.set_optional_int32(-1); in TEST()
113 EXPECT_FALSE(util::MessageDifferencer::Equals(msg1, msg2)); in TEST()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dsendmmsg.c34 struct iovec msg1[2], msg2; in sendmmsg_0100() local
51 memset(msg1, 0, sizeof(msg1)); in sendmmsg_0100()
52 msg1[0].iov_base = "one"; in sendmmsg_0100()
53 msg1[0].iov_len = 3; in sendmmsg_0100()
54 msg1[1].iov_base = "two"; in sendmmsg_0100()
55 msg1[1].iov_len = 3; in sendmmsg_0100()
62 msg[0].msg_hdr.msg_iov = msg1; in sendmmsg_0100()
D__recvmmsg_time64.c35 struct iovec msg1[2], msg2; in sendsss() local
52 memset(msg1, 0, sizeof(msg1)); in sendsss()
53 msg1[0].iov_base = "one"; in sendsss()
54 msg1[0].iov_len = 3; in sendsss()
55 msg1[1].iov_base = "two"; in sendsss()
56 msg1[1].iov_len = 3; in sendsss()
63 msg[0].msg_hdr.msg_iov = msg1; in sendsss()
Drecvmmsg.c33 struct iovec msg1[2], msg2; in sendsss() local
50 memset(msg1, 0, sizeof(msg1)); in sendsss()
51 msg1[0].iov_base = "one"; in sendsss()
52 msg1[0].iov_len = 3; in sendsss()
53 msg1[1].iov_base = "two"; in sendsss()
54 msg1[1].iov_len = 3; in sendsss()
61 msg[0].msg_hdr.msg_iov = msg1; in sendsss()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DLotusCollationKoreanTest.java92 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
107 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
115 msg1 = " "; in reportCResult()
117 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
120 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
127 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationCurrencyTest.java129 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
144 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
152 msg1 = " "; in reportCResult()
154 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
157 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
164 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationSpanishTest.java126 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
141 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
149 msg1 = " "; in reportCResult()
151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
154 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
161 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationTurkishTest.java133 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
148 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
156 msg1 = " "; in reportCResult()
158 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
161 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
168 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationFinnishTest.java114 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
129 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
137 msg1 = " "; in reportCResult()
139 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
142 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
149 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationGermanTest.java161 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
176 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
184 msg1 = " "; in reportCResult()
186 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
189 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
196 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationFrenchTest.java225 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
240 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
248 msg1 = " "; in reportCResult()
250 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
253 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
260 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationEnglishTest.java360 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
375 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
383 msg1 = " "; in reportCResult()
385 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
388 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
395 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationKanaTest.java234 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
249 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
257 msg1 = " "; in reportCResult()
259 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
262 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
269 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DG7CollationTest.java237 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; in reportCResult() local
247 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
249 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult()
252 msg1 = ok2 ? "Ok: key(\"" : "FAIL: key(\""; in reportCResult()
257 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
259 errln(msg1 + source + msg2 + target + msg3 + sResult + msg4 + sExpect); in reportCResult()
260 msg1 = " "; in reportCResult()
262 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
265 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
272 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationCurrencyTest.java126 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
141 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
149 msg1 = " "; in reportCResult()
151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
154 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
161 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DLotusCollationKoreanTest.java89 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
104 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
112 msg1 = " "; in reportCResult()
114 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
117 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
124 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationFinnishTest.java111 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
126 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
134 msg1 = " "; in reportCResult()
136 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
139 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
146 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationTurkishTest.java130 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
145 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
153 msg1 = " "; in reportCResult()
155 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
158 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
165 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationSpanishTest.java123 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
138 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
146 msg1 = " "; in reportCResult()
148 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
151 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
158 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationGermanTest.java158 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
173 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
181 msg1 = " "; in reportCResult()
183 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
186 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
193 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationFrenchTest.java222 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
237 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
245 msg1 = " "; in reportCResult()
247 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
250 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
257 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationEnglishTest.java357 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
372 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
380 msg1 = " "; in reportCResult()
382 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
385 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
392 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DCollationKanaTest.java231 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
246 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
254 msg1 = " "; in reportCResult()
256 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
259 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
266 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
DG7CollationTest.java234 String msg1 = ok1? "Ok: compare(\"" : "FAIL: compare(\""; 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()
249 msg1 = ok2 ? "Ok: key(\"" : "FAIL: 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()
257 msg1 = " "; in reportCResult()
259 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
262 msg1 = ok3 ? "Ok: incCompare(\"" : "FAIL: incCompare(\""; in reportCResult()
269 logln(msg1 + source + msg2 + target + msg3 + sResult); in reportCResult()
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py136 msg1 = messages['google.protobuf.python.internal.Factory1Message']()
137 ext1 = msg1.Extensions._FindExtensionByName(
139 ext2 = msg1.Extensions._FindExtensionByName(
141 self.assertEqual(0, len(msg1.Extensions))
142 msg1.Extensions[ext1] = 'test1'
143 msg1.Extensions[ext2] = 'test2'
144 self.assertEqual('test1', msg1.Extensions[ext1])
145 self.assertEqual('test2', msg1.Extensions[ext2])
147 msg1.Extensions._FindExtensionByNumber(12321))
148 self.assertEqual(2, len(msg1.Extensions))
[all …]

123