Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcharconv_benchmark.cc77 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_end, v); in BM_Absl_HardSmall()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java363 String numstr = new String(); in testJB6648() local
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()
DNumberFormatTest.java3180 String numstr = "12345"; in TestJB5358() local
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()
4301 final String numstr = "* 1^234:56";
4302 expect2(fmt, 1234.56, numstr);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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.java3183 String numstr = "12345"; in TestJB5358() local
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";
4305 expect2(fmt, 1234.56, numstr);
/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp338 TString numstr(ppToken->name); in lFloatConst() local
339 if (numstr.back() == 'f' || numstr.back() == 'F') in lFloatConst()
340 numstr.pop_back(); in lFloatConst()
341 if (numstr.back() == 'h' || numstr.back() == 'H') in lFloatConst()
342 numstr.pop_back(); in lFloatConst()
343 if (numstr.back() == 'l' || numstr.back() == 'L') in lFloatConst()
344 numstr.pop_back(); in lFloatConst()
348 strtodStream.str(numstr.c_str()); in lFloatConst()
/third_party/toybox/lib/
Dlib.c304 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()
Dlib.h234 long long atolx_range(char *numstr, long long low, long long high);
/third_party/ffmpeg/libavutil/
Deval.h135 double av_strtod(const char *numstr, char **tail);
Deval.c106 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/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_virtualvalues.cpp268 std::string numstr; in from_string() local
285 case 0: numstr.append(1, s[i]); break; in from_string()
295 std::istringstream n(numstr); in from_string()
507 std::string numstr; in from_string() local
513 numstr.append(1, s[i]); in from_string()
518 std::istringstream n(numstr); in from_string()
/third_party/python/Modules/
D_json.c924 PyObject *numstr = NULL; in _match_number_unicode() local
994 numstr = PyUnicode_FromKindAndData(kind, in _match_number_unicode()
997 if (numstr == NULL) in _match_number_unicode()
999 rval = PyObject_CallOneArg(custom_func, numstr); in _match_number_unicode()
1007 numstr = PyBytes_FromStringAndSize(NULL, n); in _match_number_unicode()
1008 if (numstr == NULL) in _match_number_unicode()
1010 buf = PyBytes_AS_STRING(numstr); in _match_number_unicode()
1015 rval = PyFloat_FromString(numstr); in _match_number_unicode()
1019 Py_DECREF(numstr); in _match_number_unicode()
/third_party/ffmpeg/fftools/
Dcmdutils.h126 double parse_number_or_die(const char *context, const char *numstr, int type,
Dcmdutils.c141 double parse_number_or_die(const char *context, const char *numstr, int type, in parse_number_or_die() argument
146 double d = av_strtod(numstr, &tail); in parse_number_or_die()
157 av_log(NULL, AV_LOG_FATAL, error, context, numstr, min, max); in parse_number_or_die()
/third_party/toybox/porting/liteos_a/lib/
Dlib.h228 long long atolx_range(char *numstr, long long low, long long high);
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function1153 void x509_oid_numstr( data_t * oid_buf, char * numstr, int blen, int ret )
1171 TEST_ASSERT( strcmp( num_buf, numstr ) == 0 );
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7703 UnicodeString numstr("* 1^234:56"); in TestCustomCurrencySignAndSeparator() local
7704 expect2(fmt, (Formattable)((double)1234.56), numstr); in TestCustomCurrencySignAndSeparator()