/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | charconv_benchmark.cc | 77 const char* numstr = "272104041512242479.e200"; in BM_Absl_HardLarge() local 78 const char* numstr_end = numstr + strlen(numstr); in BM_Absl_HardLarge() 80 benchmark::DoNotOptimize(numstr); in BM_Absl_HardLarge() 82 absl::from_chars(numstr, numstr_end, v); in BM_Absl_HardLarge() 98 const char* numstr = "94080055902682397.e-242"; in BM_Absl_HardSmall() local 99 const char* numstr_end = numstr + strlen(numstr); in BM_Absl_HardSmall() 101 benchmark::DoNotOptimize(numstr); in BM_Absl_HardSmall() 103 absl::from_chars(numstr, numstr_en in BM_Absl_HardSmall() [all...] |
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | PpScanner.cpp | 335 TString numstr(ppToken->name); in lFloatConst() 336 if (numstr.back() == 'f' || numstr.back() == 'F') in lFloatConst() 337 numstr.pop_back(); in lFloatConst() 338 if (numstr.back() == 'h' || numstr.back() == 'H') in lFloatConst() 339 numstr.pop_back(); in lFloatConst() 340 if (numstr.back() == 'l' || numstr.back() == 'L') in lFloatConst() 341 numstr in lFloatConst() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestDecimalFormatAPI.java | 363 String numstr = new String(); in testJB6648() 376 numstr = df.format(5); in testJB6648() 378 Number n = df.parse(numstr); in testJB6648() 379 logln("INFO: Parsed " + numstr + " -> " + n); in testJB6648() 386 numstr = "005"; in testJB6648() 388 Number n = df.parse(numstr); in testJB6648() 389 logln("INFO: Successful parse for " + numstr + " with strict parse enabled. Number is " + n); in testJB6648() 391 errln("ERROR: Parse Exception encountered in strict mode: numstr -> " + numstr); in testJB6648()
|
H A D | NumberFormatTest.java | 3180 String numstr = "12345"; in TestJB5358() 3188 threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358() 3210 private final String numstr; field in NumberFormatTest.ParseThreadJB5358 3214 public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument 3216 this.numstr = numstr; in ParseThreadJB5358() 3225 Number n = decfmt.parse(numstr); in run() 4304 final String numstr = "* 1^234:56"; in TestCustomCurrencySignAndSeparator() 4305 expect2(fmt, 1234.56, numstr); in TestCustomCurrencySignAndSeparator()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | IntlTestDecimalFormatAPI.java | 366 String numstr = new String(); in testJB6648() 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()
|
H A D | NumberFormatTest.java | 3183 String numstr = "12345"; in TestJB5358() 3191 threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358() 3213 private final String numstr; field in NumberFormatTest.ParseThreadJB5358 3217 public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument 3219 this.numstr = numstr; in ParseThreadJB5358() 3228 Number n = decfmt.parse(numstr); in run() 4304 final String numstr = "* 1^234:56"; in TestCustomCurrencySignAndSeparator() 4305 expect2(fmt, 1234.56, numstr); in TestCustomCurrencySignAndSeparator()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_virtualvalues.cpp | 268 std::string numstr; 285 case 0: numstr.append(1, s[i]); break; 295 std::istringstream n(numstr); 507 std::string numstr; 513 numstr.append(1, s[i]); 518 std::istringstream n(numstr);
|
/third_party/toybox/lib/ |
H A D | lib.c | 304 long long atolx(char *numstr) in atolx() argument 306 char *c = numstr, *suffixes="cwbkmgtpe", *end; in atolx() 309 val = xstrtol(numstr, &c, 0); in atolx() 310 if (c != numstr && *c && (end = strchr(suffixes, tolower(*c)))) { in atolx() 321 if (c==numstr || *c) error_exit("not integer: %s", numstr); in atolx() 326 long long atolx_range(char *numstr, long long low, long long high) in atolx_range() argument 328 long long val = atolx(numstr); in atolx_range()
|
H A D | lib.h | 235 long long atolx_range(char *numstr, long long low, long long high);
|
/third_party/ffmpeg/libavutil/ |
H A D | eval.h | 117 * Parse the string in numstr and return its value as a double. If 122 * of numstr. 124 * @param numstr a string representing a number, may contain one of 133 double av_strtod(const char *numstr, char **tail);
|
H A D | eval.c | 106 double av_strtod(const char *numstr, char **tail) in av_strtod() argument 110 if(numstr[0]=='0' && (numstr[1]|0x20)=='x') { in av_strtod() 111 d = strtoul(numstr, &next, 16); in av_strtod() 113 d = strtod(numstr, &next); in av_strtod() 115 if (next!=numstr) { in av_strtod()
|
/third_party/python/Modules/ |
H A D | _json.c | 926 PyObject *numstr = NULL; in _match_number_unicode() local 996 numstr = PyUnicode_FromKindAndData(kind, in _match_number_unicode() 999 if (numstr == NULL) in _match_number_unicode() 1001 rval = PyObject_CallOneArg(custom_func, numstr); in _match_number_unicode() 1009 numstr = PyBytes_FromStringAndSize(NULL, n); in _match_number_unicode() 1010 if (numstr == NULL) in _match_number_unicode() 1012 buf = PyBytes_AS_STRING(numstr); in _match_number_unicode() 1017 rval = PyFloat_FromString(numstr); in _match_number_unicode() 1021 Py_DECREF(numstr); in _match_number_unicode()
|
/third_party/ffmpeg/fftools/ |
H A D | cmdutils.h | 97 * @param numstr the string to be parsed 103 double parse_number_or_die(const char *context, const char *numstr, int type,
|
H A D | cmdutils.c | 101 double parse_number_or_die(const char *context, const char *numstr, int type, in parse_number_or_die() argument 106 double d = av_strtod(numstr, &tail); in parse_number_or_die() 117 av_log(NULL, AV_LOG_FATAL, error, context, numstr, min, max); in parse_number_or_die()
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 228 long long atolx_range(char *numstr, long long low, long long high);
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numfmtst.cpp | 7708 UnicodeString numstr("* 1^234:56"); in TestCustomCurrencySignAndSeparator() 7709 expect2(fmt, (Formattable)((double)1234.56), numstr); in TestCustomCurrencySignAndSeparator()
|