Home
last modified time | relevance | path

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

/external/icu/icu4c/source/extra/uconv/
Duconv.cpp792 char pos[32], errorBytes[32]; in convertFile() local
796 errorLength = (int8_t)sizeof(errorBytes); in convertFile()
797 ucnv_getInvalidChars(convfrom, errorBytes, &errorLength, &localError); in convertFile()
816 str.append(nibbleToHex((uint8_t)errorBytes[i] >> 4)); in convertFile()
817 str.append(nibbleToHex((uint8_t)errorBytes[i])); in convertFile()
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp826 char errorBytes[10]; in TestUTF8ToUTF8Overflow() local
836 errorLength = UPRV_LENGTHOF(errorBytes); in TestUTF8ToUTF8Overflow()
837 ucnv_getInvalidChars(cnv1.getAlias(), errorBytes, &errorLength, errorCode); in TestUTF8ToUTF8Overflow()
841 ((int32_t)(uint8_t)errorBytes[0] << 8) | (uint8_t)errorBytes[1]); in TestUTF8ToUTF8Overflow()
853 errorLength = UPRV_LENGTHOF(errorBytes); in TestUTF8ToUTF8Overflow()
854 ucnv_getInvalidChars(cnv1.getAlias(), errorBytes, &errorLength, errorCode); in TestUTF8ToUTF8Overflow()
857 assertEquals("illFormed trail byte errorBytes", 0x93, (int32_t)(uint8_t)errorBytes[0]); in TestUTF8ToUTF8Overflow()