/external/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() 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 …]
|
/external/nanopb-c/tests/enum_sizes/ |
D | enumsizes_unittests.c | 12 UnpackedEnums msg1 = { in main() local 27 TEST(pb_encode(&s, UnpackedEnums_fields, &msg1)); in main() 36 TEST(msg1.u8_min == (int)msg2.u8_min); in main() 37 TEST(msg1.u8_max == (int)msg2.u8_max); in main() 38 TEST(msg1.i8_min == (int)msg2.i8_min); in main() 39 TEST(msg1.i8_max == (int)msg2.i8_max); in main() 40 TEST(msg1.u16_min == (int)msg2.u16_min); in main() 41 TEST(msg1.u16_max == (int)msg2.u16_max); in main() 42 TEST(msg1.i16_min == (int)msg2.i16_min); in main() 43 TEST(msg1.i16_max == (int)msg2.i16_max); in main() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/enum_sizes/ |
D | enumsizes_unittests.c | 12 UnpackedEnums msg1 = { in main() local 27 TEST(pb_encode(&s, UnpackedEnums_fields, &msg1)); in main() 36 TEST(msg1.u8_min == (int)msg2.u8_min); in main() 37 TEST(msg1.u8_max == (int)msg2.u8_max); in main() 38 TEST(msg1.i8_min == (int)msg2.i8_min); in main() 39 TEST(msg1.i8_max == (int)msg2.i8_max); in main() 40 TEST(msg1.u16_min == (int)msg2.u16_min); in main() 41 TEST(msg1.u16_max == (int)msg2.u16_max); in main() 42 TEST(msg1.i16_min == (int)msg2.i16_min); in main() 43 TEST(msg1.i16_max == (int)msg2.i16_max); in main() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/intsizes/ |
D | intsizes_unittests.c | 19 DefaultSizes msg1 = DefaultSizes_init_zero; \ 22 msg1.req_int8 = int8; \ 23 msg1.req_uint8 = uint8; \ 24 msg1.req_sint8 = sint8; \ 25 msg1.req_int16 = int16; \ 26 msg1.req_uint16 = uint16; \ 27 msg1.req_sint16 = sint16; \ 28 msg1.req_int32 = int32; \ 29 msg1.req_uint32 = uint32; \ 30 msg1.req_sint32 = sint32; \ [all …]
|
/external/nanopb-c/tests/intsizes/ |
D | intsizes_unittests.c | 19 DefaultSizes msg1 = DefaultSizes_init_zero; \ 22 msg1.req_int8 = int8; \ 23 msg1.req_uint8 = uint8; \ 24 msg1.req_sint8 = sint8; \ 25 msg1.req_int16 = int16; \ 26 msg1.req_uint16 = uint16; \ 27 msg1.req_sint16 = sint16; \ 28 msg1.req_int32 = int32; \ 29 msg1.req_uint32 = uint32; \ 30 msg1.req_sint32 = sint32; \ [all …]
|
/external/llvm-project/flang/test/Semantics/ |
D | io06.f90 | 2 character(kind=1,len=100) msg1 variable 12 backspace(10, iomsg=msg1, iostat=stat1, err=9) 15 endfile(iostat=stat2, err=9, unit=10, iomsg=msg1) 18 rewind(iomsg=msg1, iostat=stat2, err=9, unit=10) 21 flush(iomsg=msg1, unit=10, iostat=stat8, err=9) 24 wait(99, id=id1, end=9, eor=9, err=9, iostat=stat1, iomsg=msg1) 30 endfile(iostat=stat2, err=9, unit=10, iostat=stat8, iomsg=msg1)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 129 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 …]
|
D | LotusCollationKoreanTest.java | 92 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 …]
|
D | CollationFinnishTest.java | 114 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 …]
|
D | CollationSpanishTest.java | 126 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 …]
|
D | CollationTurkishTest.java | 133 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 …]
|
D | CollationGermanTest.java | 161 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 …]
|
D | CollationFrenchTest.java | 225 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 …]
|
D | CollationEnglishTest.java | 360 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 …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 126 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 …]
|
D | LotusCollationKoreanTest.java | 89 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 …]
|
D | CollationTurkishTest.java | 130 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 …]
|
D | CollationSpanishTest.java | 123 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 …]
|
D | CollationFinnishTest.java | 111 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 …]
|
D | CollationGermanTest.java | 158 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 …]
|
D | CollationFrenchTest.java | 222 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 …]
|
D | CollationEnglishTest.java | 357 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 …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_factory_test.py | 136 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 …]
|
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
D | fuzzstub.c | 73 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip() local 75 memset(msg1, 0, sizeof(alltypes_static_AllTypes)); in do_static_roundtrip() 80 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 86 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 107 free_with_check(msg1); in do_static_roundtrip() 120 alltypes_pointer_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip() local 122 memset(msg1, 0, sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip() 127 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 133 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 154 pb_release(alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() [all …]
|
/external/nanopb-c/tests/fuzztest/ |
D | fuzzstub.c | 73 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip() local 75 memset(msg1, 0, sizeof(alltypes_static_AllTypes)); in do_static_roundtrip() 80 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 86 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 107 free_with_check(msg1); in do_static_roundtrip() 120 alltypes_pointer_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip() local 122 memset(msg1, 0, sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip() 127 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 133 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 154 pb_release(alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() [all …]
|