/stdlib/ |
A D | tst-strtod1i.c | 46 size_t n; in do_test() local 51 for (n = 0; n < ntests; ++n) in do_test() 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() 63 d = __strtod_internal (tests[n].str, &endp, 1); in do_test() 64 if (d != tests[n].exp) in do_test() 67 tests[n].str, d, tests[n].exp); in do_test() 70 else if (endp - tests[n].str != tests[n].nread) in do_test() 73 tests[n].str, endp - tests[n].str, tests[n].nread); in do_test()
|
A D | msort.c | 44 if (n <= 1) in msort_with_tmp() 47 n1 = n / 2; in msort_with_tmp() 48 n2 = n - n1; in msort_with_tmp() 159 memcpy (b, p->t, (n - n2) * s); in msort_with_tmp() 166 size_t size = n * s; in __qsort_r() 172 size = 2 * n * sizeof (void *) + s; in __qsort_r() 215 _quicksort (b, n, s, cmp, arg); in __qsort_r() 227 _quicksort (b, n, s, cmp, arg); in __qsort_r() 244 void *tmp_storage = (void *) (tp + n); in __qsort_r() 253 msort_with_tmp (&p, p.t + n * sizeof (void *), n); in __qsort_r() [all …]
|
A D | tst-strtod.c | 168 int n; in do_test() local 169 for (n = 0; n < sizeof (ltests) / sizeof (ltests[0]); ++n) in do_test() 170 if (strtold (ltests[n].str, NULL) != ltests[n].l) in do_test() 172 printf ("ltests[%d]: %La != %La\n", n, in do_test() 173 strtold (ltests[n].str, NULL), ltests[n].l); in do_test()
|
A D | bug-strtod.c | 35 ssize_t n; \ 38 n = sprintf (buf, "%d", cnt); \ 39 memset (buf + n, '0', cnt); \ 40 sprintf (buf + n + cnt, ".000e-%d", cnt); \
|
A D | wcstombs.c | 27 wcstombs (char *s, const wchar_t *pwcs, size_t n) in wcstombs() argument 34 return __wcsrtombs (s, &pwcs, n, &state); in wcstombs()
|
A D | mbstowcs.c | 27 mbstowcs (wchar_t *pwcs, const char *s, size_t n) in mbstowcs() argument 33 return __mbsrtowcs (pwcs, &s, n, &state); in mbstowcs()
|
A D | l64a.c | 34 l64a (long int n) in l64a() argument 36 unsigned long int m = (unsigned long int) n; in l64a()
|
A D | test-cxa_atexit-race2.c | 60 int n = 10; in thread_func() local 61 for (int i = 0; i < n; ++i) in thread_func() 63 atomic_fetch_add (®istered, n); in thread_func() 64 atomic_fetch_sub (&todo, n); in thread_func()
|
A D | mblen.c | 33 mblen (const char *s, size_t n) in mblen() argument 59 result = __mbrtowc (NULL, s, n, &state); in mblen()
|
A D | mbtowc.c | 34 mbtowc (wchar_t *pwc, const char *s, size_t n) in mbtowc() argument 63 result = __mbrtowc (pwc, s, n, &state); in mbtowc()
|
A D | canonicalize.c | 316 ssize_t n; in realpath_stk() local 321 n = __readlink (rname, buf, bufsize - 1); in realpath_stk() 322 if (n < bufsize - 1) in realpath_stk() 327 if (0 <= n) in realpath_stk() 335 buf[n] = '\0'; in realpath_stk() 342 if (INT_ADD_OVERFLOW (len, n)) in realpath_stk() 347 while (extra_buffer.length <= len + n) in realpath_stk() 357 memmove (&extra_buf[n], end, len + 1); in realpath_stk() 358 name = end = memcpy (extra_buf, buf, n); in realpath_stk()
|
A D | random_r.c | 230 __initstate_r (unsigned int seed, char *arg_state, size_t n, in weak_alias() 247 if (n >= BREAK_3) in weak_alias() 248 type = n < BREAK_4 ? TYPE_3 : TYPE_4; in weak_alias() 249 else if (n < BREAK_1) in weak_alias() 251 if (n < BREAK_0) in weak_alias() 257 type = n < BREAK_2 ? TYPE_1 : TYPE_2; in weak_alias()
|
A D | tst-strfmon_l.c | 56 const char *n; /* %n */ member 115 test_one ("%n", positive, "%Ln", pos, pair->positive.n); in test_pair() 121 test_one ("%n", negative, "%Ln", neg, pair->negative.n); in test_pair()
|
A D | random.c | 230 __initstate (unsigned int seed, char *arg_state, size_t n) in weak_alias() 239 ret = __initstate_r (seed, arg_state, n, &unsafe_state); in weak_alias()
|
A D | strtod_l.c | 386 n[0] = low; in str_to_mpn() 392 cy = __mpn_mul_1 (n, n, *nsize, MAX_FAC_PER_LIMB); in str_to_mpn() 393 cy += __mpn_add_1 (n, n, *nsize, low); in str_to_mpn() 397 n[*nsize] = cy; in str_to_mpn() 442 n[0] = low; in str_to_mpn() 448 cy = __mpn_mul_1 (n, n, *nsize, start); in str_to_mpn() 449 cy += __mpn_add_1 (n, n, *nsize, low); in str_to_mpn() 453 n[(*nsize)++] = cy; in str_to_mpn() 1491 mp_limb_t d, n, quot; in ____STRTOF_INTERNAL() local 1494 n = num[0]; in ____STRTOF_INTERNAL() [all …]
|
A D | isomac.c | 231 xstrndup (const char *s, size_t n) in xstrndup() argument 233 size_t len = n; in xstrndup()
|
A D | gmp.h | 606 #define mpz_mdivmod_ui(q,r,n,d) \ argument 607 ((r == 0) ? mpz_fdiv_q_ui (q,n,d) : mpz_fdiv_qr_ui (q,r,n,d)) 608 #define mpz_mmod_ui(r,n,d) \ argument 609 ((r == 0) ? mpz_fdiv_ui (n,d) : mpz_fdiv_r_ui (r,n,d))
|
A D | Versions | 45 # n*
|