Home
last modified time | relevance | path

Searched refs:numStr (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1390 String numStr; in TestNumberFormat() local
1397 numStr = nf.format(num); in TestNumberFormat()
1398 if (!numStr.equals("\u20a9\u00a0123,457")) { in TestNumberFormat()
1399 errln("FAIL: Number string is " + numStr + " Expected: \u20a9\u00a0123,457"); in TestNumberFormat()
1409 numStr = nf.format(num); in TestNumberFormat()
1410 if (!numStr.equals("123.456,789")) { in TestNumberFormat()
1411 errln("FAIL: Number string is " + numStr + " Expected: 123.456,789"); in TestNumberFormat()
1417 numStr = nf.format(num); in TestNumberFormat()
1418 if (!numStr.equals("123.456,79\u00a0\u20AC")) { in TestNumberFormat()
1419 errln("FAIL: Number string is " + numStr + " Expected: 123.456,79\u00a0\u20AC"); in TestNumberFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java1393 String numStr; in TestNumberFormat() local
1400 numStr = nf.format(num); in TestNumberFormat()
1401 if (!numStr.equals("\u20a9\u00a0123,457")) { in TestNumberFormat()
1402 errln("FAIL: Number string is " + numStr + " Expected: \u20a9\u00a0123,457"); in TestNumberFormat()
1412 numStr = nf.format(num); in TestNumberFormat()
1413 if (!numStr.equals("123.456,789")) { in TestNumberFormat()
1414 errln("FAIL: Number string is " + numStr + " Expected: 123.456,789"); in TestNumberFormat()
1420 numStr = nf.format(num); in TestNumberFormat()
1421 if (!numStr.equals("123.456,79\u00a0\u20AC")) { in TestNumberFormat()
1422 errln("FAIL: Number string is " + numStr + " Expected: 123.456,79\u00a0\u20AC"); in TestNumberFormat()
[all …]
DNumberFormatTest.java4099 public SignsAndMarksItem(String loc, boolean lnt, String numStr, double val) {
4102 numString = numStr;
/external/cldr/tools/java/org/unicode/cldr/icu/
DListNumbers.java168 String numStr; in printLine() local
173 numStr = sb.toString(); in printLine()
176 numStr = Long.toString(longVal); in printLine()
179 System.out.print("<tr><td>" + numStr + "</td>"); in printLine()
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp2774 UnicodeString numStr = "1000000000.6"; // 9 zeroes local
2776 nf->parse(numStr, val, status);
2784 numStr = "100000000000000001.1"; // approx 1E17, parses as a double rather
2787 nf->parse(numStr, val, status);
2795 numStr = "1E17"; // Parses with the internal decimal number having non-zero exponent
2796 nf->parse(numStr, val, status);
2803 numStr = "9223372036854775807"; // largest int64_t
2804 nf->parse(numStr, val, status);
2815 numStr = "-9223372036854775808"; // smallest int64_t
2816 nf->parse(numStr, val, status);
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java252 String numStr = String.valueOf(i);
254 cccHack.put(alias, numStr); in cccHack.put() argument
256 cccHack.put(numStr, numStr); in cccHack.put() argument
257 cccExtras.add(numStr);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java371 String numStr = setNumStr.substring(3); // e.g. "set17" -> "17" in parseSetNum() local
372 …return Integer.parseInt(numStr); // This throws NumberFormatException if numStr isn't a proper nu… in parseSetNum()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java378 String numStr = setNumStr.substring(3); // e.g. "set17" -> "17" in parseSetNum() local
379 …return Integer.parseInt(numStr); // This throws NumberFormatException if numStr isn't a proper nu… in parseSetNum()
/external/deqp/modules/gles31/functional/
Des31fTextureFormatTests.cpp411 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
414 v.resize(numStr); in toStringVector()
415 for (int i = 0; i < numStr; i++) in toStringVector()
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp619 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
622 v.resize(numStr); in toStringVector()
623 for (int i = 0; i < numStr; i++) in toStringVector()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1162 String numStr; in formatNumberList() local
1287 numStr = formattedNumber.toString(); in formatNumberList()
1294 return numStr; in formatNumberList()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java199 String numStr = Integer.toHexString(skBytes[i] & 0xff); in prettify() local
200 if (numStr.length() < 2) { in prettify()
203 target.append(numStr).append(' '); in prettify()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java202 String numStr = Integer.toHexString(skBytes[i] & 0xff); in prettify() local
203 if (numStr.length() < 2) { in prettify()
206 target.append(numStr).append(' '); in prettify()
/external/deqp/modules/gles3/functional/
Des3fTextureFormatTests.cpp1293 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
1296 v.resize(numStr); in toStringVector()
1297 for (int i = 0; i < numStr; i++) in toStringVector()
/external/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1857 initField(UnicodeString **field, int32_t& length, const UChar *data, LastResortSize numStr, LastRes… in initField() argument
1859 length = numStr; in initField()
1860 *field = newUnicodeStringArray((size_t)numStr); in initField()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java4096 public SignsAndMarksItem(String loc, boolean lnt, String numStr, double val) {
4099 numString = numStr;