Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcustrtrn.c517 int32_t u8TargetLength =0; in Test_UChar_UTF8_API() local
526 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
530 u8TargetLength = u8DestLen; in Test_UChar_UTF8_API()
532 u8Target[u8TargetLength] = (char)0xfe; in Test_UChar_UTF8_API()
534 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
535 … if(U_FAILURE(err) || u8DestLen != u8TargetLength || u8Target[u8TargetLength] != (char)0xfe){ in Test_UChar_UTF8_API()
605 u8TargetLength=0; in Test_UChar_UTF8_API()
608 u_strToUTF8(NULL,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()
612 u8TargetLength = u8DestLen; in Test_UChar_UTF8_API()
614 u_strToUTF8(u8Target,u8TargetLength, &u8DestLen, uSrc, uSrcLen,&err); in Test_UChar_UTF8_API()