/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 1400 String numStr; in TestNumberFormat() local 1407 numStr = nf.format(num); in TestNumberFormat() 1408 if (!numStr.equals("\u20a9\u00a0123,457")) { in TestNumberFormat() 1409 errln("FAIL: Number string is " + numStr + " Expected: \u20a9\u00a0123,457"); in TestNumberFormat() 1419 numStr = nf.format(num); in TestNumberFormat() 1420 if (!numStr.equals("123.456,789")) { in TestNumberFormat() 1421 errln("FAIL: Number string is " + numStr + " Expected: 123.456,789"); in TestNumberFormat() 1427 numStr = nf.format(num); in TestNumberFormat() 1428 if (!numStr.equals("123.456,79\u00a0\u20AC")) { in TestNumberFormat() 1429 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/ |
D | GlobalizationPreferencesTest.java | 1403 String numStr; in TestNumberFormat() local 1410 numStr = nf.format(num); in TestNumberFormat() 1411 if (!numStr.equals("\u20a9\u00a0123,457")) { in TestNumberFormat() 1412 errln("FAIL: Number string is " + numStr + " Expected: \u20a9\u00a0123,457"); in TestNumberFormat() 1422 numStr = nf.format(num); in TestNumberFormat() 1423 if (!numStr.equals("123.456,789")) { in TestNumberFormat() 1424 errln("FAIL: Number string is " + numStr + " Expected: 123.456,789"); in TestNumberFormat() 1430 numStr = nf.format(num); in TestNumberFormat() 1431 if (!numStr.equals("123.456,79\u00a0\u20AC")) { in TestNumberFormat() 1432 errln("FAIL: Number string is " + numStr + " Expected: 123.456,79\u00a0\u20AC"); in TestNumberFormat() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/ |
D | Lexer.h | 156 std::string numStr; in getTok() local 158 numStr += lastChar; in getTok() 162 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/ |
D | TestCoreXMLTypes.java | 51 String numStr = String.valueOf(timestamp); in testXMLGregorianCalendarSerAndDeser() local 52 assertEquals(numStr, mapper.writeValueAsString(cal)); in testXMLGregorianCalendarSerAndDeser() 55 XMLGregorianCalendar calOut = mapper.readValue(numStr, XMLGregorianCalendar.class); in testXMLGregorianCalendarSerAndDeser()
|
/external/llvm-project/mlir/examples/toy/Ch1/include/toy/ |
D | Lexer.h | 153 std::string numStr; in getTok() local 155 numStr += lastChar; in getTok() 159 numVal = strtod(numStr.c_str(), nullptr); in getTok()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ListNumbers.java | 168 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/jackson-core/src/main/java/com/fasterxml/jackson/core/base/ |
D | ParserBase.java | 881 String numStr = _textBuffer.contentsAsString(); in _parseSlowInt() local 892 _numberLong = Long.parseLong(numStr); in _parseSlowInt() 897 _reportTooLongIntegral(expType, numStr); in _parseSlowInt() 900 _numberDouble = NumberInput.parseDouble(numStr); in _parseSlowInt() 904 _numberBigInt = new BigInteger(numStr); in _parseSlowInt() 910 _wrapError("Malformed numeric value ("+_longNumberDesc(numStr)+")", nex); in _parseSlowInt()
|
/external/icu/icu4c/source/test/intltest/ |
D | numrgts.cpp | 2771 UnicodeString numStr = "1000000000.6"; // 9 zeroes local 2773 nf->parse(numStr, val, status); 2781 numStr = "100000000000000001.1"; // approx 1E17, parses as a double rather 2784 nf->parse(numStr, val, status); 2792 numStr = "1E17"; // Parses with the internal decimal number having non-zero exponent 2793 nf->parse(numStr, val, status); 2800 numStr = "9223372036854775807"; // largest int64_t 2801 nf->parse(numStr, val, status); 2812 numStr = "-9223372036854775808"; // smallest int64_t 2813 nf->parse(numStr, val, status); [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/props/ |
D | ICUPropertyFactory.java | 254 String numStr = String.valueOf(i); 256 cccHack.put(alias, numStr); in cccHack.put() argument 258 cccHack.put(numStr, numStr); in cccHack.put() argument 259 cccExtras.add(numStr);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Rational.java | 310 final String numStr = format(newNumerator.value); in toString() local 322 return denIsOne ? numStr : numStr + "/" + denStr; in toString() 325 return denIsOne ? numStr : "<sup>" + numStr + "</sup>" + "/<sub>" + denStr + "<sub>"; in toString()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DayPeriodRules.java | 378 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 371 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/llvm-project/lld/lib/Driver/ |
D | DarwinLdDriver.cpp | 295 static bool parseNumberBase16(StringRef numStr, uint64_t &baseAddress) { in parseNumberBase16() argument 296 if (numStr.startswith_lower("0x")) in parseNumberBase16() 297 numStr = numStr.drop_front(2); in parseNumberBase16() 298 return numStr.getAsInteger(16, baseAddress); in parseNumberBase16()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureFormatTests.cpp | 411 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/ |
D | es2fTextureFormatTests.cpp | 619 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/ |
D | ElemNumber.java | 1162 String numStr; in formatNumberList() local 1287 numStr = formattedNumber.toString(); in formatNumberList() 1294 return numStr; in formatNumberList()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StdDeserializer.java | 989 protected final static double _parseDouble(String numStr) throws NumberFormatException in _parseDouble() argument 992 if (NumberInput.NASTY_SMALL_DOUBLE.equals(numStr)) { in _parseDouble() 995 return Double.parseDouble(numStr); in _parseDouble()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 199 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/ |
D | CollationTest.java | 202 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/ |
D | es3fTextureFormatTests.cpp | 1293 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()
|