/stdlib/ |
A D | tst-strtol-locale-main.c | 49 test_one_locale (const char *loc) in test_one_locale() argument 51 if (setlocale (LC_ALL, loc) == NULL) in test_one_locale() 53 printf ("setlocale (LC_ALL, \"%s\") failed\n", loc); in test_one_locale() 62 TEST (loc, s, i, l, long int, "%ld"); in test_one_locale() 63 TEST (loc, s, i, ul, unsigned long int, "%lu"); in test_one_locale() 64 TEST (loc, s, i, ll, long long int, "%lld"); in test_one_locale() 65 TEST (loc, s, i, ull, unsigned long long int, "%llu"); in test_one_locale() 68 TEST (loc, s, i, l, long int, "%ld"); in test_one_locale() 69 TEST (loc, s, i, ul, unsigned long int, "%lu"); in test_one_locale() 70 TEST (loc, s, i, ll, long long int, "%lld"); in test_one_locale() [all …]
|
A D | tst-strtod-nan-locale-main.c | 37 test_strto ## FSUF (const char * loc, CHAR * s) \ 42 printf ("PASS: %s: " FNPFXS #FSUF " (" SFMT ")\n", loc, s); \ 45 printf ("FAIL: %s: " FNPFXS #FSUF " (" SFMT ")\n", loc, s); \ 53 test_one_locale (const char *loc) in GEN_TEST_STRTOD_FOREACH() 55 if (setlocale (LC_ALL, loc) == NULL) in GEN_TEST_STRTOD_FOREACH() 57 printf ("setlocale (LC_ALL, \"%s\") failed\n", loc); in GEN_TEST_STRTOD_FOREACH() 71 result |= STRTOD_TEST_FOREACH (test_strto, loc, s); in GEN_TEST_STRTOD_FOREACH() 73 result |= STRTOD_TEST_FOREACH (test_strto, loc, s); in GEN_TEST_STRTOD_FOREACH()
|
A D | strtold_l.c | 43 int group, locale_t loc) in INTERNAL() 45 return INTERNAL (__STRTOD) (nptr, endptr, group, loc); in INTERNAL() 53 __STRTOLD (const STRING_TYPE *nptr, STRING_TYPE **endptr, locale_t loc) in libc_hidden_def() 55 return INTERNAL (__STRTOD) (nptr, endptr, 0, loc); in libc_hidden_def()
|
A D | tst-strfmon_l.c | 29 static locale_t loc; variable 37 loc = newlocale (LC_ALL_MASK, local_name, 0); in init_loc() 38 if (loc == 0) in init_loc() 77 int result = strfmon_l (actual, sizeof (actual), loc, format, value); in test_one() 78 int res_ld = strfmon_l (actualld, sizeof (actualld), loc, ldformat, ldvalue); in test_one() 143 freelocale (loc); in test_en_us() 230 freelocale (loc); in do_test()
|
A D | tst-strtod1i.c | 34 const char *loc; in do_test() member 56 if (setlocale (LC_ALL, tests[n].loc) == NULL) in do_test() 58 printf ("cannot set locale %s\n", tests[n].loc); in do_test()
|
A D | strtol_l.c | 137 # define ISSPACE(Ch) __iswspace_l ((Ch), loc) 150 # define ISSPACE(Ch) __isspace_l ((Ch), loc) 224 int base, int group, locale_t loc) in INTERNAL() 239 struct __locale_data *current = loc->__locales[LC_NUMERIC]; in INTERNAL() 544 int base, locale_t loc) in __strtol_l() argument 546 return INTERNAL (__strtol_l) (nptr, endptr, base, 0, loc); in __strtol_l()
|
A D | strfmon_l.c | 79 __vstrfmon_l_internal (char *s, size_t maxsize, locale_t loc, in __vstrfmon_l_internal() argument 82 struct __locale_data *current = loc->__locales[LC_MONETARY]; in __vstrfmon_l_internal() 547 done = __printf_fp_l (&f._sbf._f, loc, &info, &ptr); in __vstrfmon_l_internal() 627 ___strfmon_l (char *s, size_t maxsize, locale_t loc, const char *format, ...) in ___strfmon_l() argument 633 ssize_t res = __vstrfmon_l_internal (s, maxsize, loc, format, ap, 0); in ___strfmon_l()
|
A D | strtod_l.c | 110 # define ISSPACE(Ch) __iswspace_l ((Ch), loc) 111 # define ISDIGIT(Ch) __iswdigit_l ((Ch), loc) 112 # define ISXDIGIT(Ch) __iswxdigit_l ((Ch), loc) 113 # define TOLOWER(Ch) __towlower_l ((Ch), loc) 121 # define ISSPACE(Ch) __isspace_l ((Ch), loc) 122 # define ISDIGIT(Ch) __isdigit_l ((Ch), loc) 123 # define ISXDIGIT(Ch) __isxdigit_l ((Ch), loc) 124 # define TOLOWER(Ch) __tolower_l ((Ch), loc) 507 locale_t loc) in ____STRTOF_INTERNAL() argument 561 struct __locale_data *current = loc->__locales[LC_NUMERIC]; in ____STRTOF_INTERNAL() [all …]
|