Lines Matching refs:errorLength
791 int8_t i, length, errorLength; in convertFile() local
794 errorLength = (int8_t)sizeof(errorBytes); in convertFile()
795 ucnv_getInvalidChars(convfrom, errorBytes, &errorLength, &localError); in convertFile()
796 if (U_FAILURE(localError) || errorLength == 0) { in convertFile()
797 errorLength = 1; in convertFile()
806 (int)(infoffset + (cbufp - buf) - errorLength)); in convertFile()
810 for (i = 0; i < errorLength; ++i) { in convertFile()
944 int8_t i, length, errorLength; in convertFile() local
947 errorLength = (int8_t)UPRV_LENGTHOF(errorUChars); in convertFile()
948 ucnv_getInvalidUChars(convto, errorUChars, &errorLength, &localError); in convertFile()
949 if (U_FAILURE(localError) || errorLength == 0) { in convertFile()
951 errorLength = 1; in convertFile()
958 ferroffset = (int32_t)((unibufbp - unibuf) - errorLength); in convertFile()
990 for (i = 0; i < errorLength;) { in convertFile()
994 U16_NEXT(errorUChars, i, errorLength, c); in convertFile()