Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
DStringUtil.java37 String numStr = Long.toString(num); in padNum() local
38 int len = totalLen - numStr.length(); in padNum()
43 return pads + numStr; in padNum()
54 String numStr = Long.toString(num); in padNumZero() local
55 int len = totalLen - numStr.length(); in padNumZero()
60 return pads + numStr; in padNumZero()
71 String numStr = Integer.toString(num); in padNum() local
72 int len = totalLen - numStr.length(); in padNum()
77 return pads + numStr; in padNum()
88 String numStr = Integer.toString(num); in padNumZero() local
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1379 String numStr; in TestNumberFormat() local
1386 numStr = nf.format(num); in TestNumberFormat()
1387 if (!numStr.equals("\u20a9\u00a0123,457")) { in TestNumberFormat()
1388 errln("FAIL: Number string is " + numStr + " Expected: \u20a9\u00a0123,457"); in TestNumberFormat()
1398 numStr = nf.format(num); in TestNumberFormat()
1399 if (!numStr.equals("123.456,789")) { in TestNumberFormat()
1400 errln("FAIL: Number string is " + numStr + " Expected: 123.456,789"); in TestNumberFormat()
1406 numStr = nf.format(num); in TestNumberFormat()
1407 if (!numStr.equals("123.456,79\u00a0\u20AC")) { in TestNumberFormat()
1408 errln("FAIL: Number string is " + numStr + " Expected: 123.456,79\u00a0\u20AC"); in TestNumberFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp2729 UnicodeString numStr = "1000000000.6"; // 9 zeroes local
2731 nf->parse(numStr, val, status);
2739 numStr = "100000000000000001.1"; // approx 1E17, parses as a double rather
2742 nf->parse(numStr, val, status);
2750 numStr = "1E17"; // Parses with the internal decimal number having non-zero exponent
2751 nf->parse(numStr, val, status);
2758 numStr = "9223372036854775807"; // largest int64_t
2759 nf->parse(numStr, val, status);
2770 numStr = "-9223372036854775808"; // smallest int64_t
2771 nf->parse(numStr, val, status);
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DICUPropertyFactory.java250 String numStr = String.valueOf(i);
252 cccHack.put(alias, numStr); in cccHack.put() argument
254 cccHack.put(numStr, numStr); in cccHack.put() argument
255 cccExtras.add(numStr);
/external/deqp/modules/gles31/functional/
Des31fTextureFormatTests.cpp374 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
377 v.resize(numStr); in toStringVector()
378 for (int i = 0; i < numStr; i++) in toStringVector()
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp617 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
620 v.resize(numStr); in toStringVector()
621 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.java196 String numStr = Integer.toHexString(skBytes[i] & 0xff); in prettify() local
197 if (numStr.length() < 2) { in prettify()
200 target.append(numStr).append(' '); in prettify()
/external/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1412 initField(UnicodeString **field, int32_t& length, const UChar *data, LastResortSize numStr, LastRes… in initField() argument
1414 length = numStr; in initField()
1415 *field = newUnicodeStringArray((size_t)numStr); in initField()
/external/deqp/modules/gles3/functional/
Des3fTextureFormatTests.cpp1256 vector<string> toStringVector (const char* const* str, int numStr) in toStringVector() argument
1259 v.resize(numStr); in toStringVector()
1260 for (int i = 0; i < numStr; i++) in toStringVector()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java3473 public SignsAndMarksItem(String loc, boolean lnt, String numStr, double val) {
3476 numString = numStr;