Home
last modified time | relevance | path

Searched refs:numstr (Results 1 – 10 of 10) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java366 String numstr = new String(); in testJB6648() local
379 numstr = df.format(5); in testJB6648()
381 Number n = df.parse(numstr); in testJB6648()
382 logln("INFO: Parsed " + numstr + " -> " + n); in testJB6648()
389 numstr = "005"; in testJB6648()
391 Number n = df.parse(numstr); in testJB6648()
392 … logln("INFO: Successful parse for " + numstr + " with strict parse enabled. Number is " + n); in testJB6648()
394 errln("ERROR: Parse Exception encountered in strict mode: numstr -> " + numstr); in testJB6648()
DNumberFormatTest.java3150 String numstr = "12345"; in TestJB5358() local
3158 … threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358()
3180 private final String numstr; field in NumberFormatTest.ParseThreadJB5358
3184 … public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument
3186 this.numstr = numstr; in ParseThreadJB5358()
3195 Number n = decfmt.parse(numstr); in run()
4048 final String numstr = "* 1^234:56";
4049 expect2(fmt, 1234.56, numstr);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java362 String numstr = new String(); in testJB6648() local
375 numstr = df.format(5); in testJB6648()
377 Number n = df.parse(numstr); in testJB6648()
378 logln("INFO: Parsed " + numstr + " -> " + n); in testJB6648()
385 numstr = "005"; in testJB6648()
387 Number n = df.parse(numstr); in testJB6648()
388 … logln("INFO: Successful parse for " + numstr + " with strict parse enabled. Number is " + n); in testJB6648()
390 errln("ERROR: Parse Exception encountered in strict mode: numstr -> " + numstr); in testJB6648()
DNumberFormatTest.java3146 String numstr = "12345"; in TestJB5358() local
3154 … threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358()
3176 private final String numstr; field in NumberFormatTest.ParseThreadJB5358
3180 … public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument
3182 this.numstr = numstr; in ParseThreadJB5358()
3191 Number n = decfmt.parse(numstr); in run()
4044 final String numstr = "* 1^234:56";
4045 expect2(fmt, 1234.56, numstr);
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Deval.h111 double av_strtod(const char *numstr, char **tail);
/external/toybox/lib/
Dlib.c294 long atolx(char *numstr) in atolx() argument
299 val = xstrtol(numstr, &c, 0); in atolx()
301 if (c != numstr && (end = strchr(suffixes, tolower(*c)))) { in atolx()
306 if (*c) error_exit("not integer: %s", numstr); in atolx()
313 long atolx_range(char *numstr, long low, long high) in atolx_range() argument
315 long val = atolx(numstr); in atolx_range()
Dlib.h179 long atolx_range(char *numstr, long low, long high);
/external/tcpdump/
Dprint-telnet.c374 (((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x))
377 numstr(int x) in numstr() function
Dprint-isakmp.c640 static char *numstr(int);
739 (((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x))
1694 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print()
1698 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print()
1718 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print()
2642 numstr(int x) in numstr() function
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7669 UnicodeString numstr("* 1^234:56"); in TestCustomCurrencySignAndSeparator() local
7670 expect2(fmt, (Formattable)((double)1234.56), numstr); in TestCustomCurrencySignAndSeparator()