Home
last modified time | relevance | path

Searched refs:inChar (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp133 int32_t SpoofImpl::confusableLookup(UChar32 inChar, int32_t tableMask, UnicodeString &dest) const { in confusableLookup() argument
144 if (inChar == midc) { in confusableLookup()
146 } else if (inChar < midc) { in confusableLookup()
154 if (inChar != midc) { in confusableLookup()
157 dest.append(inChar); in confusableLookup()
167 for (altMid = mid-1; (*altMid&0x00ffffff) == inChar; altMid--) { in confusableLookup()
174 for (altMid = mid+1; (*altMid&0x00ffffff) == inChar; altMid++) { in confusableLookup()
185 dest.append(inChar); in confusableLookup()
Duspoof_impl.h69 int32_t confusableLookup(UChar32 inChar, int32_t tableMask, UnicodeString &destBuf) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java1918 private void confusableLookup(int inChar, int tableMask, StringBuilder dest) {
1930 if (inChar == midc) {
1933 } else if (inChar < midc) {
1942 dest.appendCodePoint(inChar);
1953 … for (altMid = mid - 1; (fSpoofData.fCFUKeys[altMid] & 0x00ffffff) == inChar; altMid--) {
1962 … for (altMid = mid + 1; (fSpoofData.fCFUKeys[altMid] & 0x00ffffff) == inChar; altMid++) {
1975 dest.appendCodePoint(inChar);