Lines Matching refs:U_ZERO_ERROR
145 UErrorCode err = U_ZERO_ERROR; in Test_strToUTF32()
159 err = U_ZERO_ERROR; in Test_strToUTF32()
162 if(err != U_ZERO_ERROR || u32DestLen != LENGTHOF(src32)) { in Test_strToUTF32()
192 err = U_ZERO_ERROR; in Test_strToUTF32()
195 if(err != U_ZERO_ERROR || u32DestLen != LENGTHOF(src32)-1) { in Test_strToUTF32()
211 UErrorCode err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
223 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
231 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
239 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
247 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
256 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
264 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
266 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
272 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
280 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
282 if(err != U_ZERO_ERROR || u32DestLen != 3 || uprv_memcmp(u32Target, expected, 4*4)) { in Test_strToUTF32_surrogates()
290 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
298 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
300 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
306 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
314 err = U_ZERO_ERROR; in Test_strToUTF32_surrogates()
316 …if(err != U_ZERO_ERROR || u32DestLen != 7 || numSubstitutions != 2 || uprv_memcmp(u32Target, expec… in Test_strToUTF32_surrogates()
324 UErrorCode err = U_ZERO_ERROR; in Test_strFromUTF32()
338 err = U_ZERO_ERROR; in Test_strFromUTF32()
341 if(err != U_ZERO_ERROR || uDestLen != LENGTHOF(src16)) { in Test_strFromUTF32()
372 err = U_ZERO_ERROR; in Test_strFromUTF32()
375 if(err != U_ZERO_ERROR || uDestLen != LENGTHOF(src16)-1) { in Test_strFromUTF32()
391 UErrorCode err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
404 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
412 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
420 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
428 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
437 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
445 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
447 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
453 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
461 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
463 if(err != U_ZERO_ERROR || uDestLen != 4 || u_memcmp(uTarget, expected, 5)) { in Test_strFromUTF32_surrogates()
471 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
479 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
481 …if(err != U_ZERO_ERROR || uDestLen != 10 || numSubstitutions != 4 || u_memcmp(uTarget, expected_FF… in Test_strFromUTF32_surrogates()
487 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
495 err = U_ZERO_ERROR; in Test_strFromUTF32_surrogates()
497 …if(err != U_ZERO_ERROR || uDestLen != 14 || numSubstitutions != 4 || u_memcmp(uTarget, expected_12… in Test_strFromUTF32_surrogates()
506 UErrorCode err = U_ZERO_ERROR; in Test_UChar_UTF8_API()
528 err = U_ZERO_ERROR; in Test_UChar_UTF8_API()
567 err = U_ZERO_ERROR; in Test_UChar_UTF8_API()
610 err = U_ZERO_ERROR; in Test_UChar_UTF8_API()
642 err = U_ZERO_ERROR; in Test_UChar_UTF8_API()
688 …(err=U_ZERO_ERROR, u_strToUTF8(out8, LENGTHOF(out8), NULL, withLead16, LENGTHOF(withLead16), &err)… in Test_UChar_UTF8_API()
689 …(err=U_ZERO_ERROR, u_strToUTF8(out8, LENGTHOF(out8), NULL, withTrail16, -1, &err), err!=U_INVALID_… in Test_UChar_UTF8_API()
690 …(err=U_ZERO_ERROR, u_strFromUTF8(out16, LENGTHOF(out16), NULL, (const char *)withLead8, LENGTHOF(w… in Test_UChar_UTF8_API()
691 …(err=U_ZERO_ERROR, u_strFromUTF8(out16, LENGTHOF(out16), NULL, (const char *)withTrail8, -1, &err)… in Test_UChar_UTF8_API()
699 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
714 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
729 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
742 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
757 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
772 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
788 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
803 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
820 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
835 err=U_ZERO_ERROR; in Test_UChar_UTF8_API()
880 errorCode=U_ZERO_ERROR; in Test_FromUTF8()
889 errorCode=U_ZERO_ERROR; in Test_FromUTF8()
898 errorCode=U_ZERO_ERROR; in Test_FromUTF8()
907 errorCode=U_ZERO_ERROR; in Test_FromUTF8()
983 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
991 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1026 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1038 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1050 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1052 if (errorCode!=U_ZERO_ERROR || in Test_FromUTF8Lenient()
1062 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1074 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1086 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1098 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1100 if (errorCode!=U_ZERO_ERROR || in Test_FromUTF8Lenient()
1110 errorCode=U_ZERO_ERROR; in Test_FromUTF8Lenient()
1120 if (errorCode!=U_ZERO_ERROR || in Test_FromUTF8Lenient()
1162 UErrorCode err = U_ZERO_ERROR; in Test_UChar_WCHART_API()
1182 err = U_ZERO_ERROR; in Test_UChar_WCHART_API()
1187 err = U_ZERO_ERROR; in Test_UChar_WCHART_API()
1192 err = U_ZERO_ERROR; in Test_UChar_WCHART_API()
1198 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1209 err =U_ZERO_ERROR; in Test_UChar_WCHART_API()
1247 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1257 err =U_ZERO_ERROR; in Test_UChar_WCHART_API()
1296 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1306 err =U_ZERO_ERROR; in Test_UChar_WCHART_API()
1340 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1343 if(err!=U_ZERO_ERROR || wDestLen!=3 || buffer[3]!=0) { in Test_UChar_WCHART_API()
1348 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1359 if(err!=U_ZERO_ERROR || wDestLen!=3 || buffer[3]!=0) { in Test_UChar_WCHART_API()
1364 err=U_ZERO_ERROR; in Test_UChar_WCHART_API()
1395 err = U_ZERO_ERROR; in Test_widestrs()
1404 err = U_ZERO_ERROR; in Test_widestrs()
1422 UErrorCode status = U_ZERO_ERROR; in Test_WCHART_LongString()
1446 status=U_ZERO_ERROR; in Test_WCHART_LongString()
1467 status =U_ZERO_ERROR; in Test_WCHART_LongString()
1544 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1555 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1566 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1577 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1587 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1597 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1607 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1617 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1628 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1639 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1651 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1659 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1667 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1675 errorCode=U_ZERO_ERROR; in Test_strToJavaModifiedUTF8()
1735 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1748 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1761 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1773 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1786 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1799 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1812 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1824 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1835 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1846 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1859 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1872 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1883 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1896 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1909 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1918 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1932 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1941 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1950 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1959 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1967 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
1976 errorCode=U_ZERO_ERROR; in Test_strFromJavaModifiedUTF8()
2002 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2004 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2010 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2012 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2018 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2020 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2026 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2028 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2034 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2036 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2042 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2044 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2052 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2054 if(errorCode!=U_ZERO_ERROR || length!=0 || dest8[0]!=0 || dest8[1]!=3) { in TestNullEmptySource()
2060 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2062 if(errorCode!=U_ZERO_ERROR || length!=0 || dest8[0]!=0 || dest8[1]!=3) { in TestNullEmptySource()
2068 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2070 if(errorCode!=U_ZERO_ERROR || length!=0 || dest32[0]!=0 || dest32[1]!=3) { in TestNullEmptySource()
2076 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2078 if(errorCode!=U_ZERO_ERROR || length!=0 || dest32[0]!=0 || dest32[1]!=3) { in TestNullEmptySource()
2084 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2086 if(errorCode!=U_ZERO_ERROR || length!=0 || dest8[0]!=0 || dest8[1]!=3) { in TestNullEmptySource()
2094 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2096 if(errorCode!=U_ZERO_ERROR || length!=0 || dest16[0]!=0 || dest16[1]!=3) { in TestNullEmptySource()
2102 errorCode=U_ZERO_ERROR; in TestNullEmptySource()
2104 if(errorCode!=U_ZERO_ERROR || length!=0 || destW[0]!=0 || destW[1]!=3) { in TestNullEmptySource()