Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp188 cc.invalidChars=testCase->getBinary(cc.invalidLength, "invalidChars", errorCode); in TestToUnicode()
350 cc.invalidLength=invalidUChars.length(); in TestFromUnicode()
1205 } else if(cc.invalidLength!=resultInvalidLength) { in checkToUnicode()
1207 } else if(0!=memcmp(cc.invalidChars, resultInvalidChars, cc.invalidLength)) { in checkToUnicode()
1225 s=printBytes(cc.invalidChars, cc.invalidLength, invalidCharsString=s); in checkToUnicode()
1656 } else if(cc.invalidLength!=resultInvalidLength) { in checkFromUnicode()
1658 } else if(0!=u_memcmp(cc.invalidUChars, resultInvalidUChars, cc.invalidLength)) { in checkFromUnicode()
1676 s=printUnicode(cc.invalidUChars, cc.invalidLength, invalidCharsString=s); in checkFromUnicode()
Dconvtest.h54 int32_t invalidLength; member
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2506 int8_t invalidLength; in testFromTruncatedUTF8() local
2553 invalidLength=(int8_t)sizeof(invalidChars); in testFromTruncatedUTF8()
2554 ucnv_getInvalidChars(utf8Cnv, invalidChars, &invalidLength, &errorCode); in testFromTruncatedUTF8()
2555 if(invalidLength!=length || 0!=memcmp(invalidChars, badUTF8[i], length)) { in testFromTruncatedUTF8()