Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java876 char digitBase, in shapeToArabicDigitsWithContext() argument
879 digitBase -= '0'; // move common adjustment out of loop in shapeToArabicDigitsWithContext()
893 dest[i] = (char)(ch + digitBase); in shapeToArabicDigitsWithContext()
1900 char digitBase = '\u0030'; // European digits in internalShape() local
1903 digitBase = '\u0660'; // Arabic-Indic digits in internalShape()
1907 digitBase = '\u06f0'; // Eastern Arabic-Indic digits (Persian and Urdu) in internalShape()
1917 int digitDelta = digitBase - '\u0030'; in internalShape()
1929 char digitTop = (char)(digitBase + 9); in internalShape()
1930 int digitDelta = '\u0030' - digitBase; in internalShape()
1933 if (ch <= digitTop && ch >= digitBase) { in internalShape()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DArabicShaping.java828 char digitBase, in shapeToArabicDigitsWithContext() argument
831 digitBase -= '0'; // move common adjustment out of loop in shapeToArabicDigitsWithContext()
845 dest[i] = (char)(ch + digitBase); in shapeToArabicDigitsWithContext()
1852 char digitBase = '\u0030'; // European digits in internalShape() local
1855 digitBase = '\u0660'; // Arabic-Indic digits in internalShape()
1859 digitBase = '\u06f0'; // Eastern Arabic-Indic digits (Persian and Urdu) in internalShape()
1869 int digitDelta = digitBase - '\u0030'; in internalShape()
1881 char digitTop = (char)(digitBase + 9); in internalShape()
1882 int digitDelta = '\u0030' - digitBase; in internalShape()
1885 if (ch <= digitTop && ch >= digitBase) { in internalShape()
[all …]
/external/icu/icu4c/source/common/
Dushape.cpp341 UChar digitBase, in _shapeToArabicDigitsWithContext() argument
348 digitBase-=0x30; in _shapeToArabicDigitsWithContext()
364 … s[i]=(UChar)(digitBase+c); /* digitBase+(c-0x30) - digitBase was modified above */ in _shapeToArabicDigitsWithContext()
384 … s[i]=(UChar)(digitBase+c); /* digitBase+(c-0x30) - digitBase was modified above */ in _shapeToArabicDigitsWithContext()
1673 UChar digitBase; in u_shapeArabic() local
1679 digitBase=0x660; /* Unicode: "Arabic-Indic digits" */ in u_shapeArabic()
1682 digitBase=0x6f0; /* Unicode: "Eastern Arabic-Indic digits (Persian and Urdu)" */ in u_shapeArabic()
1686 digitBase=0; in u_shapeArabic()
1694 digitBase-=0x30; in u_shapeArabic()
1697 dest[i]+=digitBase; in u_shapeArabic()
[all …]