/libcore/benchmarks/src/benchmarks/regression/ |
FormatterBenchmark.java | 49 Locale arabic = new Locale("ar"); local 53 f.format(arabic, "this is a reasonably short string that has an int %d in it", value);
|
/libcore/luni/src/test/java/libcore/java/util/ |
FormatterTest.java | 27 Locale arabic = new Locale("ar"); local 31 String.format(arabic, "12 %d 34", 1234567890)); 34 String.format(arabic, "12 %,d 34", 1234567890)); 37 String.format(arabic, "12 %.3e 34", 1.23)); 39 String.format(arabic, "12 %.3f 34", 1.23)); 41 String.format(arabic, "12 %.3g 34", 1.23)); 47 String.format(arabic, "12 %tT 34", c)); 49 assertEquals("1234", String.format(arabic, "1234")); 50 assertEquals("1234", String.format(arabic, "%s", "1234")); 51 assertEquals("1234", String.format(arabic, "%s", 1234)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
AnyScriptTest.java | 137 UnicodeSet arabicDigitSet = new UnicodeSet("[[:Nd:]&[:block=Arabic:]]"); 139 Transliterator arabic = Transliterator.getInstance("Any-Arabic"); local 144 assertContainsAll("Any-Latin transforms Arabic digits", westernDigitSetAndMarks, fromArabic); 145 if (false) { // we don't require conversion to Arabic digits 146 String fromLatin = arabic.transform(westernDigits); 147 assertContainsAll("Any-Arabic transforms Western digits", arabicDigitSet, fromLatin);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
AnyScriptTest.java | 133 UnicodeSet arabicDigitSet = new UnicodeSet("[[:Nd:]&[:block=Arabic:]]"); 135 Transliterator arabic = Transliterator.getInstance("Any-Arabic"); local 140 assertContainsAll("Any-Latin transforms Arabic digits", westernDigitSetAndMarks, fromArabic); 141 if (false) { // we don't require conversion to Arabic digits 142 String fromLatin = arabic.transform(westernDigits); 143 assertContainsAll("Any-Arabic transforms Western digits", arabicDigitSet, fromLatin);
|
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 81 Locale arabic = new Locale("ar"); local 82 NumberFormat nf = NumberFormat.getNumberInstance(arabic); 83 assertEquals('\u0660', new DecimalFormatSymbols(arabic).getZeroDigit());
|
/external/pdfium/core/src/fpdfdoc/ |
doc_basic.cpp | 415 const int arabic[] = {1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1}; local 424 while (num >= arabic[i]) { 425 num = num - arabic[i];
|