Home
last modified time | relevance | path

Searched refs:codeUnit (Results 1 – 19 of 19) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetRecog_Unicode.java41 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument
42 if (codeUnit == 0) { in adjustConfidence()
44 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence()
71 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match() local
72 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
76 confidence = adjustConfidence(codeUnit, confidence); in match()
107 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match() local
108 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
112 confidence = adjustConfidence(codeUnit, confidence); in match()
DStringSearch.java1235 char codeUnit = iter.setIndex(index); in codePointAt() local
1236 int cp = codeUnit; in codePointAt()
1237 if (Character.isHighSurrogate(codeUnit)) { in codePointAt()
1240 cp = Character.toCodePoint(codeUnit, nextUnit); in codePointAt()
1250 char codeUnit = iter.previous(); in codePointBefore() local
1251 int cp = codeUnit; in codePointBefore()
1252 if (Character.isLowSurrogate(codeUnit)) { in codePointBefore()
1255 cp = Character.toCodePoint(prevUnit, codeUnit); in codePointBefore()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcsrucode.cpp40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument
41 if (codeUnit == 0) { in adjustConfidence()
43 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence()
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match() local
64 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
68 confidence = adjustConfidence(codeUnit, confidence); in match()
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match() local
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
106 confidence = adjustConfidence(codeUnit, confidence); in match()
Dformatted_string_builder.h102 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16() argument
104 return insertCodePoint(fLength, codeUnit, field, status); in appendChar16()
108 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16() argument
110 return insertCodePoint(index, codeUnit, field, status); in insertChar16()
/third_party/icu/icu4c/source/i18n/
Dcsrucode.cpp40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument
41 if (codeUnit == 0) { in adjustConfidence()
43 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence()
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match() local
64 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
68 confidence = adjustConfidence(codeUnit, confidence); in match()
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match() local
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
106 confidence = adjustConfidence(codeUnit, confidence); in match()
Dformatted_string_builder.h103 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16() argument
105 return insertCodePoint(fLength, codeUnit, field, status); in appendChar16()
109 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16() argument
111 return insertCodePoint(index, codeUnit, field, status); in insertChar16()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcsrucode.cpp40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument
41 if (codeUnit == 0) { in adjustConfidence()
43 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence()
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match() local
64 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
68 confidence = adjustConfidence(codeUnit, confidence); in match()
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match() local
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
106 confidence = adjustConfidence(codeUnit, confidence); in match()
/third_party/node/deps/icu-small/source/i18n/
Dcsrucode.cpp40 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { in adjustConfidence() argument
41 if (codeUnit == 0) { in adjustConfidence()
43 } else if ((codeUnit >= 0x20 && codeUnit <= 0xff) || codeUnit == 0x0a) { in adjustConfidence()
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match() local
64 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
68 confidence = adjustConfidence(codeUnit, confidence); in match()
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match() local
99 if (charIndex == 0 && codeUnit == 0xFEFF) { in match()
106 confidence = adjustConfidence(codeUnit, confidence); in match()
Dformatted_string_builder.h102 inline int32_t appendChar16(char16_t codeUnit, Field field, UErrorCode& status) { in appendChar16() argument
104 return insertCodePoint(fLength, codeUnit, field, status); in appendChar16()
108 inline int32_t insertChar16(int32_t index, char16_t codeUnit, Field field, UErrorCode& status) { in insertChar16() argument
110 return insertCodePoint(index, codeUnit, field, status); in insertChar16()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2_16.java131 public int getFromU16SingleLead(char codeUnit) { in getFromU16SingleLead() argument
137 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead()
138 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
DTrie2_32.java130 public int getFromU16SingleLead(char codeUnit){ in getFromU16SingleLead() argument
134 ix = index[codeUnit >> UTRIE2_SHIFT_2]; in getFromU16SingleLead()
135 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
DFormattedStringBuilder.java125 public int appendChar16(char codeUnit, Object field) {
126 return insertChar16(length - appendOffset, codeUnit, field);
129 public int insertChar16(int index, char codeUnit, Object field) {
132 chars[position] = codeUnit;
DTrie2Writable.java558 public Trie2Writable setForLeadSurrogateCodeUnit(char codeUnit, int value) { in setForLeadSurrogateCodeUnit() argument
560 set(codeUnit, false, value); in setForLeadSurrogateCodeUnit()
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Draw_keyboard_macos.dart83 int codeUnit = charactersIgnoringModifiers.codeUnitAt(0);
87 codeUnit = (codeUnit << 16) | secondCode;
90 final int keyId = LogicalKeyboardKey.unicodePlane | (codeUnit & LogicalKeyboardKey.valueMask);
Dkeyboard_key.dart195 final int codeUnit = label.codeUnitAt(0);
196 return (codeUnit <= 0x1f && codeUnit >= 0x00) || (codeUnit >= 0x7f && codeUnit <= 0x9f);
/third_party/flutter/flutter/dev/tools/gen_keycodes/data/
Dkeyboard_key.tmpl195 final int codeUnit = label.codeUnitAt(0);
196 return (codeUnit <= 0x1f && codeUnit >= 0x00) || (codeUnit >= 0x7f && codeUnit <= 0x9f);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcache.dart1020 for (int codeUnit in fileName.codeUnits)
1021 ..._flattenNameSubstitutions[codeUnit] ?? <int>[codeUnit],
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dupdate_packages.dart1252 for (int codeUnit in value.codeUnits) {
1253 final int upper = codeUnit >> 8;
1254 final int lower = codeUnit & 0xFF;
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Deditable.dart1144 final int codeUnit = text.codeUnitAt(i);
1145 switch (codeUnit) {