Lines Matching defs:str
51 const char *str = ""; in test_parse_uint_empty() local
65 const char *str = " \t "; in test_parse_uint_whitespace() local
80 const char *str = " \t xxx"; in test_parse_uint_invalid() local
95 const char *str = "123xxx"; in test_parse_uint_trailing() local
109 const char *str = "123"; in test_parse_uint_correct() local
123 const char *str = "0123"; in test_parse_uint_octal() local
137 const char *str = "0123"; in test_parse_uint_decimal() local
151 char *str = g_strdup_printf("%llu", (unsigned long long)LLONG_MAX + 1); in test_parse_uint_llong_max() local
167 char *str = g_strdup_printf("%llu", ULLONG_MAX); in test_parse_uint_max() local
183 const char *str; in test_parse_uint_overflow() local
215 const char *str; in test_parse_uint_negative() local
239 const char *str = " -0"; in test_parse_uint_negzero() local
252 const char *str = "123xxx"; in test_parse_uint_full_trailing() local
264 const char *str = "123"; in test_parse_uint_full_correct() local
277 const char *str = "-2junk"; in test_parse_uint_full_erange_junk() local
289 const char *str = NULL; in test_parse_uint_full_null() local
300 const char *str = "12345 foo"; in test_qemu_strtoi_correct() local
329 const char *str = ""; in test_qemu_strtoi_empty() local
344 const char *str = " \t "; in test_qemu_strtoi_whitespace() local
359 const char *str = " xxxx \t abc"; in test_qemu_strtoi_invalid() local
374 const char *str = "123xxx"; in test_qemu_strtoi_trailing() local
389 const char *str = "0123"; in test_qemu_strtoi_octal() local
412 const char *str = "0123"; in test_qemu_strtoi_decimal() local
436 const char *str = "0123"; in test_qemu_strtoi_hex() local
469 char *str = g_strdup_printf("%d", INT_MAX); in test_qemu_strtoi_max() local
485 const char *str; in test_qemu_strtoi_overflow() local
533 char *str = g_strdup_printf("%d", INT_MIN); in test_qemu_strtoi_min() local
549 const char *str; in test_qemu_strtoi_underflow() local
605 const char *str; in test_qemu_strtoi_negative() local
629 const char *str = " -0"; in test_qemu_strtoi_negzero() local
644 const char *str = "123"; in test_qemu_strtoi_full_correct() local
670 const char *str = ""; in test_qemu_strtoi_full_empty() local
682 const char *str = " \t -321"; in test_qemu_strtoi_full_negative() local
694 const char *str = " -0"; in test_qemu_strtoi_full_negzero() local
706 const char *str = "123xxx"; in test_qemu_strtoi_full_trailing() local
718 char *str = g_strdup_printf("%d", INT_MAX); in test_qemu_strtoi_full_max() local
732 const char *str = "-9999999999junk"; in test_qemu_strtoi_full_erange_junk() local
744 const char *str = "12345 foo"; in test_qemu_strtoui_correct() local
773 const char *str = ""; in test_qemu_strtoui_empty() local
788 const char *str = " \t "; in test_qemu_strtoui_whitespace() local
803 const char *str = " xxxx \t abc"; in test_qemu_strtoui_invalid() local
818 const char *str = "123xxx"; in test_qemu_strtoui_trailing() local
833 const char *str = "0123"; in test_qemu_strtoui_octal() local
856 const char *str = "0123"; in test_qemu_strtoui_decimal() local
880 const char *str = "0123"; in test_qemu_strtoui_hex() local
914 const char *str = "-4294967295"; /* 1 mod 2^32 */ in test_qemu_strtoui_wrap() local
929 char *str = g_strdup_printf("%u", UINT_MAX); in test_qemu_strtoui_max() local
945 const char *str; in test_qemu_strtoui_overflow() local
1009 const char *str; in test_qemu_strtoui_underflow() local
1057 const char *str = " \t -321"; in test_qemu_strtoui_negative() local
1072 const char *str = " -0"; in test_qemu_strtoui_negzero() local
1087 const char *str = "123"; in test_qemu_strtoui_full_correct() local
1110 const char *str = ""; in test_qemu_strtoui_full_empty() local
1122 const char *str = " \t -321"; in test_qemu_strtoui_full_negative() local
1133 const char *str = " -0"; in test_qemu_strtoui_full_negzero() local
1144 const char *str = "123xxx"; in test_qemu_strtoui_full_trailing() local
1156 char *str = g_strdup_printf("%u", UINT_MAX); in test_qemu_strtoui_full_max() local
1170 const char *str = "-9999999999junk"; in test_qemu_strtoui_full_erange_junk() local
1182 const char *str = "12345 foo"; in test_qemu_strtol_correct() local
1211 const char *str = ""; in test_qemu_strtol_empty() local
1226 const char *str = " \t "; in test_qemu_strtol_whitespace() local
1241 const char *str = " xxxx \t abc"; in test_qemu_strtol_invalid() local
1256 const char *str = "123xxx"; in test_qemu_strtol_trailing() local
1271 const char *str = "0123"; in test_qemu_strtol_octal() local
1294 const char *str = "0123"; in test_qemu_strtol_decimal() local
1318 const char *str = "0123"; in test_qemu_strtol_hex() local
1351 char *str = g_strdup_printf("%ld", LONG_MAX); in test_qemu_strtol_max() local
1367 const char *str; in test_qemu_strtol_overflow() local
1410 char *str = g_strdup_printf("%ld", LONG_MIN); in test_qemu_strtol_min() local
1426 const char *str; in test_qemu_strtol_underflow() local
1469 const char *str = " \t -321"; in test_qemu_strtol_negative() local
1484 const char *str = " -0"; in test_qemu_strtol_negzero() local
1499 const char *str = "123"; in test_qemu_strtol_full_correct() local
1525 const char *str = ""; in test_qemu_strtol_full_empty() local
1537 const char *str = " \t -321"; in test_qemu_strtol_full_negative() local
1549 const char *str = " -0"; in test_qemu_strtol_full_negzero() local
1561 const char *str = "123xxx"; in test_qemu_strtol_full_trailing() local
1573 char *str = g_strdup_printf("%ld", LONG_MAX); in test_qemu_strtol_full_max() local
1587 const char *str = "-99999999999999999999junk"; in test_qemu_strtol_full_erange_junk() local
1599 const char *str = "12345 foo"; in test_qemu_strtoul_correct() local
1628 const char *str = ""; in test_qemu_strtoul_empty() local
1643 const char *str = " \t "; in test_qemu_strtoul_whitespace() local
1658 const char *str = " xxxx \t abc"; in test_qemu_strtoul_invalid() local
1673 const char *str = "123xxx"; in test_qemu_strtoul_trailing() local
1688 const char *str = "0123"; in test_qemu_strtoul_octal() local
1711 const char *str = "0123"; in test_qemu_strtoul_decimal() local
1735 const char *str = "0123"; in test_qemu_strtoul_hex() local
1768 const char *str; in test_qemu_strtoul_wrap() local
1785 char *str = g_strdup_printf("%lu", ULONG_MAX); in test_qemu_strtoul_max() local
1801 const char *str; in test_qemu_strtoul_overflow() local
1844 const char *str; in test_qemu_strtoul_underflow() local
1887 const char *str = " \t -321"; in test_qemu_strtoul_negative() local
1902 const char *str = " -0"; in test_qemu_strtoul_negzero() local
1917 const char *str = "123"; in test_qemu_strtoul_full_correct() local
1940 const char *str = ""; in test_qemu_strtoul_full_empty() local
1952 const char *str = " \t -321"; in test_qemu_strtoul_full_negative() local
1963 const char *str = " -0"; in test_qemu_strtoul_full_negzero() local
1974 const char *str = "123xxx"; in test_qemu_strtoul_full_trailing() local
1986 char *str = g_strdup_printf("%lu", ULONG_MAX); in test_qemu_strtoul_full_max() local
2000 const char *str = "-99999999999999999999junk"; in test_qemu_strtoul_full_erange_junk() local
2012 const char *str = "12345 foo"; in test_qemu_strtoi64_correct() local
2041 const char *str = ""; in test_qemu_strtoi64_empty() local
2056 const char *str = " \t "; in test_qemu_strtoi64_whitespace() local
2071 const char *str = " xxxx \t abc"; in test_qemu_strtoi64_invalid() local
2086 const char *str = "123xxx"; in test_qemu_strtoi64_trailing() local
2101 const char *str = "0123"; in test_qemu_strtoi64_octal() local
2124 const char *str = "0123"; in test_qemu_strtoi64_decimal() local
2148 const char *str = "0123"; in test_qemu_strtoi64_hex() local
2181 char *str = g_strdup_printf("%lld", LLONG_MAX); in test_qemu_strtoi64_max() local
2197 const char *str; in test_qemu_strtoi64_overflow() local
2229 char *str = g_strdup_printf("%lld", LLONG_MIN); in test_qemu_strtoi64_min() local
2245 const char *str; in test_qemu_strtoi64_underflow() local
2277 const char *str = " \t -321"; in test_qemu_strtoi64_negative() local
2292 const char *str = " -0"; in test_qemu_strtoi64_negzero() local
2307 const char *str = "123"; in test_qemu_strtoi64_full_correct() local
2330 const char *str = ""; in test_qemu_strtoi64_full_empty() local
2342 const char *str = " \t -321"; in test_qemu_strtoi64_full_negative() local
2354 const char *str = " -0"; in test_qemu_strtoi64_full_negzero() local
2366 const char *str = "123xxx"; in test_qemu_strtoi64_full_trailing() local
2379 char *str = g_strdup_printf("%lld", LLONG_MAX); in test_qemu_strtoi64_full_max() local
2393 const char *str = "-99999999999999999999junk"; in test_qemu_strtoi64_full_erange_junk() local
2405 const char *str = "12345 foo"; in test_qemu_strtou64_correct() local
2434 const char *str = ""; in test_qemu_strtou64_empty() local
2449 const char *str = " \t "; in test_qemu_strtou64_whitespace() local
2464 const char *str = " xxxx \t abc"; in test_qemu_strtou64_invalid() local
2479 const char *str = "123xxx"; in test_qemu_strtou64_trailing() local
2494 const char *str = "0123"; in test_qemu_strtou64_octal() local
2517 const char *str = "0123"; in test_qemu_strtou64_decimal() local
2541 const char *str = "0123"; in test_qemu_strtou64_hex() local
2574 const char *str = "-18446744073709551615"; /* 1 mod 2^64 */ in test_qemu_strtou64_wrap() local
2589 char *str = g_strdup_printf("%llu", ULLONG_MAX); in test_qemu_strtou64_max() local
2605 const char *str; in test_qemu_strtou64_overflow() local
2637 const char *str; in test_qemu_strtou64_underflow() local
2669 const char *str = " \t -321"; in test_qemu_strtou64_negative() local
2684 const char *str = " -0"; in test_qemu_strtou64_negzero() local
2699 const char *str = "18446744073709551614"; in test_qemu_strtou64_full_correct() local
2722 const char *str = ""; in test_qemu_strtou64_full_empty() local
2734 const char *str = " \t -321"; in test_qemu_strtou64_full_negative() local
2746 const char *str = " -0"; in test_qemu_strtou64_full_negzero() local
2758 const char *str = "18446744073709551614xxxxxx"; in test_qemu_strtou64_full_trailing() local
2770 char *str = g_strdup_printf("%lld", ULLONG_MAX); in test_qemu_strtou64_full_max() local
2784 const char *str = "-99999999999999999999junk"; in test_qemu_strtou64_full_erange_junk() local
2796 const char *str; in test_qemu_strtod_simple() local
2850 const char *str; in test_qemu_strtod_einval() local
2888 const char *str; in test_qemu_strtod_erange() local
2924 const char *str; in test_qemu_strtod_nonfinite() local
2960 const char *str; in test_qemu_strtod_trailing() local
3013 const char *str; in test_qemu_strtod_erange_junk() local
3040 const char *str; in test_qemu_strtod_finite_simple() local
3094 const char *str; in test_qemu_strtod_finite_einval() local
3132 const char *str; in test_qemu_strtod_finite_erange() local
3170 const char *str; in test_qemu_strtod_finite_nonfinite() local
3207 const char *str; in test_qemu_strtod_finite_trailing() local
3263 const char *str; in test_qemu_strtod_finite_erange_junk() local
3289 static void do_strtosz_full(const char *str, qemu_strtosz_fn fn, in do_strtosz_full()
3314 static void do_strtosz(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz()
3321 static void do_strtosz_MiB(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz_MiB()
3328 static void do_strtosz_metric(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz_metric()
3561 char *str; in test_freq_to_str() local
3578 char *str; in test_size_to_str() local