Lines Matching refs:ucnv_getSubstChars
599 /*Testing for ucnv_getSubstChars() and ucnv_setSubstChars()*/
600 log_verbose("\n---Testing ucnv_getSubstChars...\n");
602 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
604 log_err("ucnv_getSubstChars returned a negative number %d\n", ii);
620 ucnv_getSubstChars(myConverter,save, &ii, &err);
631 /*Testing for ucnv_getSubstChars() and ucnv_setSubstChars() with error conditions*/
632 log_verbose("\n---Testing ucnv_getSubstChars.. with len < minBytesPerChar\n");
634 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
636 log_err("ucnv_getSubstChars() with len < minBytesPerChar should throw U_INDEX_OUTOFBOUNDS_ERROR Got %s\n", myErrorName(err));
640 ucnv_getSubstChars(myConverter, myptr, &ii, &err);
650 ucnv_getSubstChars(myConverter, save, &ii, &err);
654 log_verbose("\n---Testing ucnv_getSubstChars.. with err != U_ZERO_ERROR \n");
659 ucnv_getSubstChars(myConverter, save, &ii, &err);
3568 /* Simple API test of ucnv_setSubstString() + ucnv_getSubstChars(). */
3580 ucnv_getSubstChars(cnv, buffer, &len8, &errorCode);
3583 log_err("ucnv_getSubstChars(ucnv_setSubstString(ISO-8859-1, sub[5])) failed - %s\n", u_errorName(errorCode));
3600 ucnv_getSubstChars(cnv, buffer, &len8, &errorCode);
3603 log_err("ucnv_getSubstChars(ucnv_setSubstString(HZ, sub[5])) failed - %s\n", u_errorName(errorCode));