Lines Matching refs:unum_parse
308 /* Testing unum_parse() and unum_parseDouble() */
444 log_verbose("\nTesting unum_parse()\n");
448 l1=unum_parse(per_fr, result, u_strlen(result), &parsepos, &status);
785 parseResult = unum_parse(spellout_def, buffer, len, &pp, &status);
1159 value = unum_parse(nf, testPtr->source, -1, &position, &status);
1161 log_err("unum_parse SPELLOUT, locale %s, testname %s, startPos %d: for value / endPos / status, expected %d / %d / %s, got %d / %d / %s\n",
1340 /* Testing unum_parse() and unum_parseDouble() */
1392 val32 = unum_parse(fmt, result, u_strlen(result), &parsepos, &status);
1424 val32 = unum_parse(fmt, result, u_strlen(result), &parsepos, &status);
1456 val32 = unum_parse(fmt, result, u_strlen(result), &parsepos, &status);
1888 aNumber = unum_parse(nf, myString, -1, NULL, &status);
2039 num = unum_parse(fmt, str, -1, &pos, &status);
2042 log_data_err("%s:%d: unum_parse failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr);
2044 log_data_err("%s:%d: unum_parse failed, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr);
2046 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr);
2058 num = unum_parse(fmt, str, -1, &pos, &status);
2060 log_err("%s:%d: FAIL: unum_parse should have returned 10, not 10000000 on %s after UNUM_PARSE_NO_EXPONENT\n", __FILE__, __LINE__, cstr);
2062 log_verbose("%s:%d: unum_parse gave %d for %s - good.\n", __FILE__, __LINE__, num, cstr);
2080 num = unum_parse(fmt, str, -1, &pos, &status);
2083 log_data_err("%s:%d: unum_parse failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr);
2085 log_data_err("%s:%d: unum_parse failed, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr);
2087 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr);
2100 num = unum_parse(fmt, str, -1, &pos, &status);
2103 log_data_err("%s:%d: unum_parse failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr);
2105 log_data_err("%s:%d: unum_parse failed, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr);
2107 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr);