Home | History | Annotate | Download | only in cintltst

Lines Matching refs:ucnv_getSubstChars

596         /*Testing for ucnv_getSubstChars() and ucnv_setSubstChars()*/
597 log_verbose("\n---Testing ucnv_getSubstChars...\n");
599 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
601 log_err("ucnv_getSubstChars returned a negative number %d\n", ii);
617 ucnv_getSubstChars(myConverter,save, &ii, &err);
628 /*Testing for ucnv_getSubstChars() and ucnv_setSubstChars() with error conditions*/
629 log_verbose("\n---Testing ucnv_getSubstChars.. with len < minBytesPerChar\n");
631 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
633 log_err("ucnv_getSubstChars() with len < minBytesPerChar should throw U_INDEX_OUTOFBOUNDS_ERROR Got %s\n", myErrorName(err));
637 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
647 ucnv_getSubstChars(myConverter, save, &ii, &err);
651 log_verbose("\n---Testing ucnv_getSubstChars.. with err != U_ZERO_ERROR \n");
656 ucnv_getSubstChars(myConverter, save, &ii, &err);
3545 /* Simple API test of ucnv_setSubstString() + ucnv_getSubstChars(). */
3557 ucnv_getSubstChars(cnv, buffer, &len8, &errorCode);
3560 log_err("ucnv_getSubstChars(ucnv_setSubstString(ISO-8859-1, sub[5])) failed - %s\n", u_errorName(errorCode));
3577 ucnv_getSubstChars(cnv, buffer, &len8, &errorCode);
3580 log_err("ucnv_getSubstChars(ucnv_setSubstString(HZ, sub[5])) failed - %s\n", u_errorName(errorCode));