Home | History | Annotate | Download | only in cintltst

Lines Matching defs:srcLength

884         log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
893 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength=%ld - %s\n",
902 log_err("error: u_strFromUTF8(preflight srcLength=-1) fails: destLength=%ld - %s\n",
912 log_err("error: u_strFromUTF8(transform srcLength=3) fails: destLength=%ld - %s\n",
976 int32_t srcLength, destLength0, destLength;
1018 pb+=srcLength+1, pu+=destLength0+1, ++number
1020 srcLength=uprv_strlen(pb);
1035 if(srcLength>0) {
1075 pDest=u_strFromUTF8Lenient(NULL, 0, &destLength, pb, srcLength, &errorCode);
1077 pDest!=NULL || dest[0]!=0x1234 || destLength!=srcLength
1083 if(srcLength>0) {
1084 dest[srcLength-1]=0x1234;
1087 pDest=u_strFromUTF8Lenient(dest, srcLength-1, &destLength, pb, srcLength, &errorCode);
1089 dest[srcLength-1]!=0x1234 || destLength!=srcLength
1099 pDest=u_strFromUTF8Lenient(dest, LENGTHOF(dest), &destLength, pb, srcLength, &errorCode);
1107 /* conversion with length, srcLength capacity */
1108 dest[0]=dest[srcLength]=dest[destLength0]=0x1234;
1111 pDest=u_strFromUTF8Lenient(dest, srcLength, &destLength, pb, srcLength, &errorCode);
1112 if(srcLength==destLength0) {
1117 log_err("u_strFromUTF8Lenient(%d conversion with length, srcLength capacity/not terminated) failed\n", number);
1124 log_err("u_strFromUTF8Lenient(%d conversion with length, srcLength capacity/terminated) failed\n", number);
1655 log_err("u_strToJavaModifiedUTF8(src=NULL, srcLength<0) failed - %s\n", u_errorName(errorCode));
1939 log_err("u_strFromJavaModifiedUTF8WithSub(src=NULL, srcLength<0) failed - %s\n", u_errorName(errorCode));