Home
last modified time | relevance | path

Searched refs:keyChar (Results 1 – 14 of 14) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DStringMatcher.java116 char keyChar = pattern.charAt(i); // OK; see note (1) above in matches() local
117 UnicodeMatcher subm = data.lookupMatcher(keyChar); in matches()
120 keyChar == text.charAt(cursor[0])) { // OK; see note (1) above in matches()
147 char keyChar = pattern.charAt(i); // OK; see note (1) above in matches() local
148 UnicodeMatcher subm = data.lookupMatcher(keyChar); in matches()
154 keyChar == text.charAt(cursor[0])) { // OK; see note (1) above in matches()
187 char keyChar = pattern.charAt(i); // OK; see note (1) above in toPattern() local
188 UnicodeMatcher m = data.lookupMatcher(keyChar); in toPattern()
190 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
DSpoofChecker.java871 int keyChar = Integer.parseInt(matcher.group(1), 16); in build() local
872 if (keyChar > 0x10ffff) { in build()
899 fTable.put(keyChar, smapString); in build()
901 fKeySet.add(keyChar); in build()
944 int keyChar = keyCharStr.codePointAt(0); in build() local
945 SPUString targetMapping = fTable.get(keyChar); in build()
954 … int key = ConfusableDataUtils.codePointAndLengthToKey(keyChar, targetMapping.fStr.length()); in build()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringMatcher.java115 char keyChar = pattern.charAt(i); // OK; see note (1) above in matches() local
116 UnicodeMatcher subm = data.lookupMatcher(keyChar); in matches()
119 keyChar == text.charAt(cursor[0])) { // OK; see note (1) above in matches()
146 char keyChar = pattern.charAt(i); // OK; see note (1) above in matches() local
147 UnicodeMatcher subm = data.lookupMatcher(keyChar); in matches()
153 keyChar == text.charAt(cursor[0])) { // OK; see note (1) above in matches()
186 char keyChar = pattern.charAt(i); // OK; see note (1) above in toPattern() local
187 UnicodeMatcher m = data.lookupMatcher(keyChar); in toPattern()
189 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
/third_party/icu/icu4c/source/i18n/
Dstrmatch.cpp99 UChar keyChar = pattern.charAt(i); in matches() local
100 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
103 keyChar == text.charAt(cursor)) { in matches()
130 UChar keyChar = pattern.charAt(i); in matches() local
131 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
137 keyChar == text.charAt(cursor)) { in matches()
171 UChar keyChar = pattern.charAt(i); in toPattern() local
172 const UnicodeMatcher* m = data->lookupMatcher(keyChar); in toPattern()
174 ICU_Utility::appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
Duspoof_conf.cpp295 UChar32 keyChar = SpoofImpl::ScanHex(fInput, uregex_start(fParseLine, 1, &status), in build() local
321 uhash_iput(fTable, keyChar, smapString, &status); in build()
323 fKeySet->add(keyChar); in build()
370 for (UChar32 keyChar=fKeySet->getRangeStart(range); in build() local
371 keyChar <= fKeySet->getRangeEnd(range); keyChar++) { in build()
372 SPUString *targetMapping = static_cast<SPUString *>(uhash_iget(fTable, keyChar)); in build()
382 int32_t key = ConfusableDataUtils::codePointAndLengthToKey(keyChar, in build()
Duspoof_conf.h115 void addKeyEntry(UChar32 keyChar, // The key character
/third_party/skia/third_party/externals/icu/source/i18n/
Dstrmatch.cpp99 UChar keyChar = pattern.charAt(i); in matches() local
100 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
103 keyChar == text.charAt(cursor)) { in matches()
130 UChar keyChar = pattern.charAt(i); in matches() local
131 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
137 keyChar == text.charAt(cursor)) { in matches()
171 UChar keyChar = pattern.charAt(i); in toPattern() local
172 const UnicodeMatcher* m = data->lookupMatcher(keyChar); in toPattern()
174 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern()
Duspoof_conf.cpp296 UChar32 keyChar = SpoofImpl::ScanHex(fInput, uregex_start(fParseLine, 1, &status), in build() local
322 uhash_iput(fTable, keyChar, smapString, &status); in build()
324 fKeySet->add(keyChar); in build()
371 for (UChar32 keyChar=fKeySet->getRangeStart(range); in build() local
372 keyChar <= fKeySet->getRangeEnd(range); keyChar++) { in build()
373 SPUString *targetMapping = static_cast<SPUString *>(uhash_iget(fTable, keyChar)); in build()
383 int32_t key = ConfusableDataUtils::codePointAndLengthToKey(keyChar, in build()
Duspoof_conf.h114 void addKeyEntry(UChar32 keyChar, // The key character
/third_party/node/deps/icu-small/source/i18n/
Dstrmatch.cpp99 char16_t keyChar = pattern.charAt(i); in matches() local
100 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
103 keyChar == text.charAt(cursor)) { in matches()
130 char16_t keyChar = pattern.charAt(i); in matches() local
131 UnicodeMatcher* subm = data->lookupMatcher(keyChar); in matches()
137 keyChar == text.charAt(cursor)) { in matches()
171 char16_t keyChar = pattern.charAt(i); in toPattern() local
172 const UnicodeMatcher* m = data->lookupMatcher(keyChar); in toPattern()
174 ICU_Utility::appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
Duspoof_conf.cpp295 UChar32 keyChar = SpoofImpl::ScanHex(fInput, uregex_start(fParseLine, 1, &status), in build() local
321 uhash_iput(fTable, keyChar, smapString, &status); in build()
323 fKeySet->add(keyChar); in build()
370 for (UChar32 keyChar=fKeySet->getRangeStart(range); in build() local
371 keyChar <= fKeySet->getRangeEnd(range); keyChar++) { in build()
372 SPUString *targetMapping = static_cast<SPUString *>(uhash_iget(fTable, keyChar)); in build()
382 int32_t key = ConfusableDataUtils::codePointAndLengthToKey(keyChar, in build()
Duspoof_conf.h115 void addKeyEntry(UChar32 keyChar, // The key character
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/
DIndicInputMethodImpl.java184 char keyChar = kevent.getKeyChar(); in handleKeyTyped() local
185 char currentChar = getMappedChar(keyChar); in handleKeyTyped()
189 switch (keyChar) { in handleKeyTyped()
214 else if (keyChar == KEY_SIGN_NUKTA) { in handleKeyTyped()
276 lastCharWasVirama = keyChar == KEY_SIGN_VIRAMA && !lastCharWasVirama; in handleKeyTyped()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java923 int keyChar = Integer.parseInt(matcher.group(1), 16); in build() local
924 if (keyChar > 0x10ffff) { in build()
951 fTable.put(keyChar, smapString); in build()
953 fKeySet.add(keyChar); in build()
996 int keyChar = keyCharStr.codePointAt(0); in build() local
997 SPUString targetMapping = fTable.get(keyChar); in build()
1006 … int key = ConfusableDataUtils.codePointAndLengthToKey(keyChar, targetMapping.fStr.length()); in build()