Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcustrtrn.c990 int32_t srcLength, destLength0, destLength; in Test_FromUTF8Lenient() local
1024 pb+=srcLength+1, pu+=destLength0+1, ++number in Test_FromUTF8Lenient()
1027 destLength0=u_strlen(pu); in Test_FromUTF8Lenient()
1034 … if (errorCode!= (destLength0==0 ? U_STRING_NOT_TERMINATED_WARNING : U_BUFFER_OVERFLOW_ERROR) || in Test_FromUTF8Lenient()
1035 pDest!=NULL || dest[0]!=0x1234 || destLength!=destLength0 in Test_FromUTF8Lenient()
1042 dest[destLength0-1]=0x1234; in Test_FromUTF8Lenient()
1045 pDest=u_strFromUTF8Lenient(dest, destLength0-1, &destLength, pb, -1, &errorCode); in Test_FromUTF8Lenient()
1047 dest[destLength0-1]!=0x1234 || destLength!=destLength0 in Test_FromUTF8Lenient()
1054 dest[0]=dest[destLength0]=0x1234; in Test_FromUTF8Lenient()
1059 pDest!=dest || dest[destLength0]!=0 || in Test_FromUTF8Lenient()
[all …]