Home
last modified time | relevance | path

Searched refs:invalidLength (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dconvtest.h56 int32_t invalidLength; member
Dconvtest.cpp186 cc.invalidChars=testCase->getBinary(cc.invalidLength, "invalidChars", errorCode); in TestToUnicode()
348 cc.invalidLength=invalidUChars.length(); in TestFromUnicode()
1316 } else if(cc.invalidLength!=resultInvalidLength) { in checkToUnicode()
1318 } else if(0!=memcmp(cc.invalidChars, resultInvalidChars, cc.invalidLength)) { in checkToUnicode()
1336 s=printBytes(cc.invalidChars, cc.invalidLength, invalidCharsString=s); in checkToUnicode()
1767 } else if(cc.invalidLength!=resultInvalidLength) { in checkFromUnicode()
1769 } else if(0!=u_memcmp(cc.invalidUChars, resultInvalidUChars, cc.invalidLength)) { in checkFromUnicode()
1787 s=printUnicode(cc.invalidUChars, cc.invalidLength, invalidCharsString=s); in checkFromUnicode()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2547 int8_t invalidLength; in testFromTruncatedUTF8() local
2594 invalidLength=(int8_t)sizeof(invalidChars); in testFromTruncatedUTF8()
2595 ucnv_getInvalidChars(utf8Cnv, invalidChars, &invalidLength, &errorCode); in testFromTruncatedUTF8()
2596 if(invalidLength!=length || 0!=memcmp(invalidChars, badUTF8[i], length)) { in testFromTruncatedUTF8()