/sysdeps/unix/sysv/linux/ |
A D | tst-pkey.c | 76 for (int i = 0; i < key_count; ++i) in check_page_access() local 107 for (int i = 0; i < key_count; ++i) in check_page_access() local 121 for (int i = 0; i < key_count; ++i) in sigusr1_handler() local 139 for (int i = 0; i < key_count; ++i) in get_thread_func() local 209 for (int i = 1; i < key_count; ++i) in do_test() local 220 for (int i = 0; i < key_count; ++i) in do_test() local 224 for (int i = 0; i < key_count; ++i) in do_test() local 258 for (int i = 0; i < key_count; ++i) in do_test() local 272 for (int i = 1; i < key_count; ++i) in do_test() local 326 for (int i = 0; i < key_count; ++i) in do_test() local [all …]
|
A D | syscalls.list | 3 alarm - alarm i:i alarm 9 epoll_create EXTRA epoll_create i:i epoll_create 10 epoll_create1 EXTRA epoll_create1 i:i epoll_create1 19 getpgid - getpgid i:i __getpgid getpgid 24 getsid - getsid i:i getsid 31 iopl - iopl i:i iopl 36 mlockall - mlockall i:i mlockall 55 setfsgid EXTRA setfsgid i:i setfsgid 56 setfsuid EXTRA setfsuid i:i setfsuid 62 unshare EXTRA unshare i:i unshare [all …]
|
/sysdeps/aarch64/ |
A D | tst-vpcs.c | 45 for (int i = 0; i < sizeof before; i++) in do_test() local 46 p[i] = i & 0xff; in do_test() 50 for (int i = 0; i < 32; i++) in do_test() local 51 if (before.x[i] != after.x[i]) in do_test() 53 if (i == 16 || i == 17) in do_test() 58 i, in do_test() 59 (unsigned long long)before.x[i], in do_test() 60 (unsigned long long)after.x[i]); in do_test() 62 for (int i = 0; i < 64; i++) in do_test() local 63 if (before.v.u[i] != after.v.u[i]) in do_test() [all …]
|
/sysdeps/pthread/ |
A D | tst-memstream.c | 50 for (int i = 0; i < byte_count; ++i) in thread_func() local 68 for (int i = 0; i < thread_count; ++i) in do_test() local 70 args[i].fp = fp; in do_test() 71 args[i].b = 'A' + i; in do_test() 72 threads[i] = xpthread_create (NULL, thread_func, args + i); in do_test() 75 for (int i = 0; i < thread_count; ++i) in do_test() local 86 for (size_t i = 0; i < buffer_length; ++i) in do_test() local 88 if (buffer[i] < 'A' || buffer[i] >= 'A' + thread_count) in do_test() 89 FAIL_RET ("written byte at %zu out of range: %d", i, buffer[i] & 0xFF); in do_test() 92 for (int i = 0; i < thread_count; ++i) in do_test() local [all …]
|
A D | tst-fork1.c | 29 int i = (intptr_t) arg; in thread_function() local 41 _exit (i); in thread_function() 58 (long int) pid, WEXITSTATUS (status), i); in thread_function() 70 int i; in do_test() local 86 for (i = 0; i < N; ++i) in do_test() 88 (void *) (intptr_t) t[i]) != 0) in do_test() 90 printf ("creation of thread %d failed\n", i); in do_test() 100 for (i = 0; i < N; ++i) in do_test() 103 if (pthread_join (th[i], &v) != 0) in do_test() 105 printf ("join of thread %d failed\n", i); in do_test() [all …]
|
A D | tst-key1.c | 41 int i; in do_test() local 42 for (i = 0; i < max; ++i) in do_test() 43 if (pthread_key_create (&keys[i], NULL) != 0) in do_test() 50 printf ("created key %d\n", i); in do_test() 52 if (pthread_setspecific (keys[i], (const void *) (i + 100l)) != 0) in do_test() 59 for (i = 0; i < max; ++i) in do_test() 61 if (pthread_getspecific (keys[i]) != (void *) (i + 100l)) in do_test() 67 if (pthread_key_delete (keys[i]) != 0) in do_test()
|
A D | tst-barrier3.c | 39 int i; in worker() local 41 for (i = 0; i < ROUNDS; ++i) in worker() 115 int i; in do_test() local 120 for (i = 0; i < NTHREADS; ++i) in do_test() 121 if (pthread_barrier_init (&barriers[i], NULL, i + 1) != 0) in do_test() 128 for (i = 0; i < NTHREADS; ++i) in do_test() 129 if (pthread_create (&threads[i], NULL, worker, (void *) (long int) i) != 0) in do_test() 131 printf ("Failed to start thread %d\n", i); in do_test() 136 for (i = 0; i < NTHREADS; ++i) in do_test() 139 printf ("thread %d returned a failure\n", i); in do_test() [all …]
|
A D | tst-key4.c | 36 int i; in tf1() local 37 for (i = 0; i < max; ++i) in tf1() 38 if (pthread_setspecific (keys[i], (void *) (long int) (i + 1)) != 0) in tf1() 51 int i; in tf2() local 52 for (i = 0; i < max; ++i) in tf2() 53 if (pthread_getspecific (keys[i]) != NULL) in tf2() 55 printf ("getspecific for key %d not NULL\n", i); in tf2() 68 int i; in do_test() local 69 for (i = 0; i < max; ++i) in do_test() 70 if (pthread_key_create (&keys[i], NULL) != 0) in do_test() [all …]
|
/sysdeps/ieee754/dbl-64/ |
A D | k_rem_pio2.c | 176 for (i = 0; i <= m; i++, j++) in __kernel_rem_pio2() 180 for (i = 0; i <= jk; i++) in __kernel_rem_pio2() 252 for (i = jz - 1; i >= jk; i--) in __kernel_rem_pio2() 305 for (i = jz; i >= 0; i--) in __kernel_rem_pio2() 311 for (i = jz; i >= 0; i--) in __kernel_rem_pio2() 323 for (i = jz; i >= 0; i--) in __kernel_rem_pio2() 330 for (i = jz; i >= 0; i--) in __kernel_rem_pio2() 343 for (i = 1; i <= jz; i++) in __kernel_rem_pio2() 348 for (i = jz; i > 0; i--) in __kernel_rem_pio2() 354 for (i = jz; i > 1; i--) in __kernel_rem_pio2() [all …]
|
/sysdeps/i386/i686/multiarch/ |
A D | ifunc-impl-list.c | 37 size_t i = 0; in __libc_ifunc_impl_list() local 40 IFUNC_IMPL (i, name, bcopy, in __libc_ifunc_impl_list() 50 IFUNC_IMPL (i, name, bzero, in __libc_ifunc_impl_list() 58 IFUNC_IMPL (i, name, memchr, in __libc_ifunc_impl_list() 66 IFUNC_IMPL (i, name, memcmp, in __libc_ifunc_impl_list() 89 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() 100 IFUNC_IMPL (i, name, memrchr, in __libc_ifunc_impl_list() 121 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 145 IFUNC_IMPL (i, name, stpcpy, in __libc_ifunc_impl_list() 174 IFUNC_IMPL (i, name, strcat, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/mips/ |
A D | tst-mode-switch-1.c | 48 volatile int i = 0; in thread_function() local 54 if ((float) i != f || (double) i != d) in thread_function() 60 if (i == 100) in thread_function() 62 i = 0; in thread_function() 67 i++; in thread_function() 83 int i; in do_test() local 86 for (i = 0; i < count; ++i) in do_test() 93 for (i = 0 ; i < 1000000 ; i++) in do_test() 105 for (i = 0; i < count; ++i) in do_test() 108 if (pthread_join (th[i], &v) != 0) in do_test() [all …]
|
/sysdeps/powerpc/powerpc32/power4/multiarch/ |
A D | ifunc-impl-list.c | 34 size_t i = 0; in __libc_ifunc_impl_list() local 51 IFUNC_IMPL (i, name, memcpy, in __libc_ifunc_impl_list() 63 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() 69 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 77 IFUNC_IMPL (i, name, bzero, in __libc_ifunc_impl_list() 85 IFUNC_IMPL (i, name, strlen, in __libc_ifunc_impl_list() 92 IFUNC_IMPL (i, name, strnlen, in __libc_ifunc_impl_list() 99 IFUNC_IMPL (i, name, strncmp, in __libc_ifunc_impl_list() 107 IFUNC_IMPL (i, name, memcmp, in __libc_ifunc_impl_list() 121 IFUNC_IMPL (i, name, memchr, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/x86_64/multiarch/ |
A D | ifunc-impl-list.c | 39 size_t i = 0; in __libc_ifunc_impl_list() local 42 IFUNC_IMPL (i, name, __memcmpeq, in __libc_ifunc_impl_list() 60 IFUNC_IMPL (i, name, memchr, in __libc_ifunc_impl_list() 81 IFUNC_IMPL (i, name, memcmp, in __libc_ifunc_impl_list() 152 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() 193 IFUNC_IMPL (i, name, memrchr, in __libc_ifunc_impl_list() 258 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 325 IFUNC_IMPL (i, name, strlen, in __libc_ifunc_impl_list() 379 IFUNC_IMPL (i, name, stpcpy, in __libc_ifunc_impl_list() 423 IFUNC_IMPL (i, name, strcat, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/x86_64/fpu/ |
A D | test-vector-abi-sincos.h | 36 int i; in test_vector_abi() local 37 for(i = 0; i < N; i++) in test_vector_abi() 39 x[i] = i / 3; in test_vector_abi() 40 s_ptrs[i] = &s[i]; in test_vector_abi() 41 c_ptrs[i] = &c[i]; in test_vector_abi() 45 for(i = 0; i < N; i++) in test_vector_abi() 46 LIBMVEC_SINCOS (x[i], s_ptrs[i], c_ptrs[i]); in test_vector_abi()
|
A D | test-vector-abi-arg2.h | 34 int i; in test_vector_abi() local 35 for(i = 0; i < N; i++) in test_vector_abi() 37 c[i] = i / 3; in test_vector_abi() 38 s[i] = c[i]; in test_vector_abi() 42 for(i = 0; i < N; i++) in test_vector_abi() 43 x[i] = LIBMVEC_FUNC (s[i], c[i]); in test_vector_abi()
|
A D | test-vector-abi-arg1.h | 34 int i; in test_vector_abi() local 35 for(i = 0; i < N; i++) in test_vector_abi() 36 c[i] = i / 3; in test_vector_abi() 39 for(i = 0; i < N; i++) in test_vector_abi() 40 x[i] = LIBMVEC_FUNC (c[i]); in test_vector_abi()
|
/sysdeps/s390/multiarch/ |
A D | ifunc-impl-list.c | 81 size_t i = 0; in __libc_ifunc_impl_list() local 94 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 109 IFUNC_IMPL (i, name, bzero, in __libc_ifunc_impl_list() 125 IFUNC_IMPL (i, name, memcmp, in __libc_ifunc_impl_list() 141 IFUNC_IMPL (i, name, memcpy, in __libc_ifunc_impl_list() 155 IFUNC_IMPL (i, name, mempcpy, in __libc_ifunc_impl_list() 189 IFUNC_IMPL (i, name, strstr, in __libc_ifunc_impl_list() 205 IFUNC_IMPL (i, name, memmem, in __libc_ifunc_impl_list() 221 IFUNC_IMPL (i, name, strlen, in __libc_ifunc_impl_list() 245 IFUNC_IMPL (i, name, strcpy, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/unix/ |
A D | syscalls.list | 5 acct - acct i:S acct 14 dup - dup i:i __dup dup 17 fchdir - fchdir i:i __fchdir fchdir 51 reboot - reboot i:i reboot 62 setegid - setegid i:i __setegid setegid 63 seteuid - seteuid i:i __seteuid seteuid 64 setgid - setgid i:i __setgid setgid 66 sethostid - sethostid i:i sethostid 75 setuid - setuid i:i __setuid setuid 85 syncfs - syncfs i:i syncfs [all …]
|
/sysdeps/powerpc/powerpc64/multiarch/ |
A D | ifunc-impl-list.c | 34 size_t i = 0; in __libc_ifunc_impl_list() local 56 IFUNC_IMPL (i, name, memcpy, in __libc_ifunc_impl_list() 80 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() 94 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 119 IFUNC_IMPL (i, name, strcpy, in __libc_ifunc_impl_list() 135 IFUNC_IMPL (i, name, stpcpy, in __libc_ifunc_impl_list() 151 IFUNC_IMPL (i, name, strlen, in __libc_ifunc_impl_list() 185 IFUNC_IMPL (i, name, strchr, in __libc_ifunc_impl_list() 227 IFUNC_IMPL (i, name, bzero, in __libc_ifunc_impl_list() 248 IFUNC_IMPL (i, name, bcopy, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/aarch64/multiarch/ |
A D | ifunc-impl-list.c | 36 size_t i = 0; in __libc_ifunc_impl_list() local 41 IFUNC_IMPL (i, name, memcpy, in __libc_ifunc_impl_list() 44 IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_falkor) in __libc_ifunc_impl_list() 45 IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_simd) in __libc_ifunc_impl_list() 50 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() 54 IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_simd) in __libc_ifunc_impl_list() 59 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 69 IFUNC_IMPL (i, name, memchr, in __libc_ifunc_impl_list() 73 IFUNC_IMPL (i, name, strlen, in __libc_ifunc_impl_list() 75 IFUNC_IMPL_ADD (array, i, strlen, 1, __strlen_mte)) in __libc_ifunc_impl_list() [all …]
|
/sysdeps/unix/sysv/linux/mips/ |
A D | register-dump.h | 25 # define CTX_REG(ctx, i) ((ctx)->sc_regs[(i)]) argument 32 # define CTX_REG(ctx, i) ((ctx)->uc_mcontext.gregs[(i)]) argument 64 int i; in register_dump() local 76 for (i = 0; i < 32; i++) in register_dump() 77 hexvalue (CTX_REG (ctx, i), regs[i], REG_HEX_SIZE); in register_dump() 84 for (i = 0; i < 8; i++) in register_dump() 86 ADD_MEM (regs[i], REG_HEX_SIZE); in register_dump() 90 for (i = 8; i < 16; i++) in register_dump() 96 for (i = 16; i < 24; i++) in register_dump() 102 for (i = 24; i < 32; i++) in register_dump() [all …]
|
/sysdeps/sparc/sparc64/multiarch/ |
A D | ifunc-impl-list.c | 33 size_t i = 0; in __libc_ifunc_impl_list() local 38 IFUNC_IMPL (i, name, memcpy, in __libc_ifunc_impl_list() 43 IFUNC_IMPL_ADD (array, i, memcpy, hwcap & HWCAP_SPARC_N2, in __libc_ifunc_impl_list() 49 IFUNC_IMPL_ADD (array, i, memcpy, 1, __memcpy_ultra1)); in __libc_ifunc_impl_list() 51 IFUNC_IMPL (i, name, mempcpy, in __libc_ifunc_impl_list() 64 IFUNC_IMPL (i, name, bzero, in __libc_ifunc_impl_list() 71 IFUNC_IMPL_ADD (array, i, bzero, 1, __bzero_ultra1)); in __libc_ifunc_impl_list() 73 IFUNC_IMPL (i, name, memset, in __libc_ifunc_impl_list() 80 IFUNC_IMPL_ADD (array, i, memset, 1, __memset_ultra1)); in __libc_ifunc_impl_list() 82 IFUNC_IMPL (i, name, memmove, in __libc_ifunc_impl_list() [all …]
|
/sysdeps/unix/sysv/linux/arm/ |
A D | dl-procinfo.h | 53 for (int i = 0; i <= _DL_HWCAP_LAST; ++i) in _dl_procinfo() local 54 if (word & (1 << i)) in _dl_procinfo() 55 _dl_printf (" %s", _dl_hwcap_string (i)); in _dl_procinfo() 63 for (int i = 0; i <= _DL_HWCAP2_LAST; ++i) in _dl_procinfo() local 64 if (word & (1 << i)) in _dl_procinfo() 65 _dl_printf (" %s", _dl_hwcap_string (offset + i)); in _dl_procinfo() 82 for (int i = 0; i < _DL_HWCAP_COUNT; i++) in _dl_string_hwcap() local 84 if (strcmp (str, _dl_hwcap_string (i)) == 0) in _dl_string_hwcap() 85 return i; in _dl_string_hwcap()
|
/sysdeps/mach/hurd/ |
A D | errnos.awk | 23 for (i = 1; i < ARGC; i++) 25 arg = ARGV[i]; 71 for (i = 3; i <= NF; ++i) 128 for (i = 5; i < NF; ++i) 168 for (i = 0; i < maxseq; i++) 171 print annot[i]; 172 else if (i in etexts && etexts[i] != "") 174 maxerrlen, econsts[i], errnos[i], etexts[i]); 176 printf(" %-*s = %s,\n", maxerrlen, econsts[i], errnos[i]); 194 for (i = 0; i < maxseq; i++) [all …]
|
/sysdeps/unix/sysv/linux/ia64/ |
A D | register-dump.h | 85 int i; in register_dump() local 105 for (i = 1; i < 4; ++i) in register_dump() 107 regvalue (&ctx->sc_gr[i], 'R', i, gpregs[i - 1]); in register_dump() 111 for (i = 8; i < 32; ++i) in register_dump() 113 regvalue (&ctx->sc_gr[i], 'R', i, gpregs[i - 5]); in register_dump() 127 for (i = 32; i < 128; ++i) in register_dump() 128 regvalue (&ctx->sc_fr[i].u.bits[0], 'F', i, fpregs[i - 32]); in register_dump() 142 for (i = 0; i < 32 - 5; ++i) in register_dump() 146 for (i = 0; i < 3; ++i) in register_dump() 171 for (i = 0; i < 128 - 32; ++i) in register_dump() [all …]
|