Home | History | Annotate | Download | only in i18n

Lines Matching defs:codeUnit

40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) {
41 if (codeUnit == 0) {
43 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) {
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1];
64 if (charIndex == 0 && codeUnit == 0xFEFF) {
68 confidence = adjustConfidence(codeUnit, confidence);
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8);
99 if (charIndex == 0 && codeUnit == 0xFEFF) {
106 confidence = adjustConfidence(codeUnit, confidence);