Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 104) sorted by relevance

12345

/l4re-core-master/uclibc/lib/contrib/uclibc/libubacktrace/
A Dbacktracesyms.c50 int cnt; in backtrace_symbols() local
55 for (cnt = 0; cnt < size; ++cnt) { in backtrace_symbols()
56 status[cnt] = dladdr (array[cnt], &info[cnt]); in backtrace_symbols()
57 if (status[cnt] && info[cnt].dli_fname && in backtrace_symbols()
75 for (cnt = 0; cnt < size; ++cnt) { in backtrace_symbols()
76 result[cnt] = last; in backtrace_symbols()
78 if (status[cnt] && info[cnt].dli_fname in backtrace_symbols()
83 if (array[cnt] >= (void *) info[cnt].dli_saddr) in backtrace_symbols()
85 (unsigned long)(array[cnt] - info[cnt].dli_saddr)); in backtrace_symbols()
88 (unsigned long)(info[cnt].dli_saddr - array[cnt])); in backtrace_symbols()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale/
A Dtst-digits.c117 int cnt; in main() local
130 for (cnt = 0; cnt < (int) nprintf_int_tests; ++cnt) in main()
139 cnt, buf, printf_int_tests[cnt].expected); in main()
156 for (cnt = 0; cnt < (int) nwprintf_int_tests; ++cnt) in main()
166 cnt, buf, wprintf_int_tests[cnt].expected); in main()
184 for (cnt = 0; cnt < 256; ++cnt) in main()
185 if (cnt >= '0' && cnt <= '9') in main()
208 for (cnt = 0; cnt < 256; ++cnt) in main()
209 if (cnt >= '0' && cnt <= '9') in main()
226 for (cnt = 0x2070; cnt < 0x2090; ++cnt) in main()
[all …]
A Dtst-xlocale1.c26 size_t cnt; in main() local
30 for (cnt = 0; cnt < ntests; ++cnt) in main()
34 if (setlocale (LC_ALL, tests[cnt].locale) == NULL) in main()
36 printf ("cannot set locale \"%s\": %m\n", tests[cnt].locale); in main()
42 tests[cnt].str1, tests[cnt].str2); in main()
44 r = strcasecmp_l (tests[cnt].str1, tests[cnt].str2, loc); in main()
45 if (tests[cnt].result == 0) in main()
50 tests[cnt].str1, tests[cnt].str2, r); in main()
54 else if (tests[cnt].result < 0) in main()
59 tests[cnt].str1, tests[cnt].str2, r); in main()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/time/
A Dtst-strftime.c25 size_t cnt; in do_test() local
31 for (cnt = 0; cnt < ntests; ++cnt) in do_test()
51 while (size < tests[cnt].max); in do_test()
56 cnt, tests[cnt].fmt, size); in do_test()
59 else if (size < tests[cnt].min) in do_test()
62 cnt, tests[cnt].fmt, size); in do_test()
66 printf ("%Zu: %s: size == %Zu: OK\n", cnt, tests[cnt].fmt, size); in do_test()
89 for (cnt = 0; cnt < nftests; ++cnt) in do_test()
93 if (r != ftests[cnt].n) in do_test()
96 ftests[cnt].fmt, r, ftests[cnt].n); in do_test()
[all …]
A Dtst-posixtz.c31 size_t cnt; in main() local
33 for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt) in main()
38 printf ("TZ = \"%s\", time = %ld => ", tests[cnt].tz, tests[cnt].when); in main()
41 setenv ("TZ", tests[cnt].tz, 1); in main()
43 tmp = localtime (&tests[cnt].when); in main()
53 if (strcmp (buf, tests[cnt].result) == 0) in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-mutex7.c40 int cnt; in tf() local
43 for (cnt = 0; cnt < ROUNDS; ++cnt) in tf()
69 int cnt; in do_test() local
89 for (cnt = 0; cnt < N; ++cnt) in do_test()
90 if (pthread_create (&th[cnt], &at, tf, (void *) (long int) cnt) != 0) in do_test()
92 printf ("creating thread %d failed\n", cnt); in do_test()
108 for (cnt = 0; cnt < N; ++cnt) in do_test()
109 if (pthread_join (th[cnt], NULL) != 0) in do_test()
111 printf ("joining thread %d failed\n", cnt); in do_test()
A Dtst-once2.c64 int cnt; in do_test() local
78 for (cnt = 0; cnt < N; ++cnt) in do_test()
79 if (pthread_create (&th[cnt], &at, tf, (void *) (long int) cnt) != 0) in do_test()
81 printf ("creation of thread %d failed\n", cnt); in do_test()
91 for (cnt = 0; cnt < N; ++cnt) in do_test()
92 if (pthread_join (th[cnt], NULL) != 0) in do_test()
94 printf ("join of thread %d failed\n", cnt); in do_test()
A Dtst-rwlock7.c103 size_t cnt; in do_test() local
104 for (cnt = 0; cnt < sizeof (kind) / sizeof (kind[0]); ++cnt) in do_test()
111 printf ("round %Zu: rwlockattr_t failed\n", cnt); in do_test()
117 printf ("round %Zu: rwlockattr_setkind failed\n", cnt); in do_test()
123 printf ("round %Zu: rwlock_init failed\n", cnt); in do_test()
129 printf ("round %Zu: rwlockattr_destroy failed\n", cnt); in do_test()
144 printf ("round %Zu: rwlock_timedrdlock failed\n", cnt); in do_test()
151 printf ("round %Zu: create failed\n", cnt); in do_test()
158 printf ("round %Zu: join failed\n", cnt); in do_test()
163 printf ("failure in round %Zu\n", cnt); in do_test()
[all …]
A Dtst-tls5.c45 size_t cnt, i; in do_test() local
49 for (cnt = 0; tls_registry[cnt].name; ++cnt); in do_test()
50 tls_registry[cnt].name = NULL; in do_test()
51 tls_registry[cnt].addr = (uintptr_t) pthread_self (); in do_test()
52 tls_registry[cnt].size = sizeof (struct pthread); in do_test()
53 tls_registry[cnt++].align = __alignof__ (struct pthread); in do_test()
55 qsort (tls_registry, cnt, sizeof (struct tls_obj), tls_addr_cmp); in do_test()
57 for (i = 0; i < cnt; ++i) in do_test()
85 if (cnt > 1) in do_test()
88 if (tls_registry[cnt - 1].name) in do_test()
[all …]
A Dtst-rwlock6.c109 size_t cnt; in do_test() local
110 for (cnt = 0; cnt < sizeof (kind) / sizeof (kind[0]); ++cnt) in do_test()
117 printf ("round %Zu: rwlockattr_t failed\n", cnt); in do_test()
121 if (pthread_rwlockattr_setkind_np (&a, kind[cnt]) != 0) in do_test()
123 printf ("round %Zu: rwlockattr_setkind failed\n", cnt); in do_test()
129 printf ("round %Zu: rwlock_init failed\n", cnt); in do_test()
135 printf ("round %Zu: rwlockattr_destroy failed\n", cnt); in do_test()
194 printf ("round %Zu: create failed\n", cnt); in do_test()
203 printf ("round %Zu: join failed\n", cnt); in do_test()
208 printf ("failure in round %Zu\n", cnt); in do_test()
[all …]
A Dtst-barrier4.c68 int cnt; in do_test() local
95 for (cnt = 0; cnt < N - 1; ++cnt) in do_test()
96 if (pthread_create (&th[cnt], &at, tf, NULL) != 0) in do_test()
110 for (cnt = 0; cnt < N - 1; ++cnt) in do_test()
111 if (pthread_join (th[cnt], NULL) != 0) in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/ia64/
A Dbzero.S115 (p_y) add cnt = -8, cnt
122 (p_yy) add cnt = -4, cnt
130 (p_y) add cnt = -2, cnt
142 (p_yy) add cnt = -1, cnt
156 and cnt = (LINE_SIZE-1), cnt /* remainder */
215 and cnt = 0x1f, cnt /* compute the remaining cnt */
237 add cnt = -8, cnt /* subtract */
242 (p_y) add cnt = -8, cnt /* subtract */
246 (p_yy) add cnt = -8, cnt /* subtract */
302 (p_y) add cnt = -4, cnt /* [7, 6 (or less) left] */
[all …]
A Dmemset.S118 (p_y) add cnt = -8, cnt
125 (p_yy) add cnt = -4, cnt
133 (p_y) add cnt = -2, cnt
145 (p_yy) add cnt = -1, cnt
161 and cnt = (LINE_SIZE-1), cnt /* remainder */
235 and cnt = (LINE_SIZE-1), cnt /* remainder */
318 add cnt = -8, cnt /* subtract */
323 (p_y) add cnt = -8, cnt /* subtract */
327 (p_yy) add cnt = -8, cnt /* subtract */
383 (p_y) add cnt = -4, cnt /* [7, 6 (or less) left] */
[all …]
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/generic/
A Ddl-tls.c264 size_t cnt; in _dl_determine_tlsoffset() local
265 for (cnt = 0; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
311 size_t cnt; in _dl_determine_tlsoffset() local
313 for (cnt = 0; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
500 size_t cnt; in _dl_allocate_tls_init() local
502 for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt) in _dl_allocate_tls_init()
548 total += cnt; in _dl_allocate_tls_init()
577 size_t cnt; in _dl_deallocate_tls() local
580 for (cnt = 0; cnt < dtv[-1].counter; ++cnt) in _dl_deallocate_tls()
685 size_t cnt; in _dl_update_slotinfo() local
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/generic/
A Ddl-tls.c264 size_t cnt; in _dl_determine_tlsoffset() local
265 for (cnt = 0; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
311 size_t cnt; in _dl_determine_tlsoffset() local
313 for (cnt = 0; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
500 size_t cnt; in _dl_allocate_tls_init() local
502 for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt) in _dl_allocate_tls_init()
548 total += cnt; in _dl_allocate_tls_init()
577 size_t cnt; in _dl_deallocate_tls() local
580 for (cnt = 0; cnt < dtv[-1].counter; ++cnt) in _dl_deallocate_tls()
685 size_t cnt; in _dl_update_slotinfo() local
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/inet/
A Dtst-aton.c57 size_t cnt; in main() local
59 for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt) in main()
63 if ((int) inet_aton (tests[cnt].input, &addr) != tests[cnt].valid) in main()
65 if (tests[cnt].valid) in main()
66 printf ("\"%s\" not seen as valid IP address\n", tests[cnt].input); in main()
68 printf ("\"%s\" seen as valid IP address\n", tests[cnt].input); in main()
71 else if (tests[cnt].valid && addr.s_addr != ntohl (tests[cnt].result)) in main()
74 tests[cnt].input, addr.s_addr, tests[cnt].result); in main()
A Dtst-ether_aton.c23 size_t cnt; in main() local
25 for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt) in main()
29 if (!!(addr = ether_aton (tests[cnt].input)) != tests[cnt].valid) in main()
31 if (tests[cnt].valid) in main()
32 printf ("\"%s\" not seen as valid MAC address\n", tests[cnt].input); in main()
34 printf ("\"%s\" seen as valid MAC address\n", tests[cnt].input); in main()
37 else if (tests[cnt].valid in main()
38 && memcmp(addr, &tests[cnt].result, sizeof(struct ether_addr))) in main()
40 printf ("\"%s\" not converted correctly\n", tests[cnt].input); in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/libcrypt/
A Dsha256-crypt.c74 size_t cnt; in __sha256_crypt_r() local
159 for (cnt = key_len; cnt > 32; cnt -= 32) in __sha256_crypt_r()
165 for (cnt = key_len; cnt > 0; cnt >>= 1) in __sha256_crypt_r()
166 if ((cnt & 1) != 0) in __sha256_crypt_r()
178 for (cnt = 0; cnt < key_len; ++cnt) in __sha256_crypt_r()
186 for (cnt = key_len; cnt >= 32; cnt -= 32) in __sha256_crypt_r()
194 for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt) in __sha256_crypt_r()
202 for (cnt = salt_len; cnt >= 32; cnt -= 32) in __sha256_crypt_r()
208 for (cnt = 0; cnt < rounds; ++cnt) in __sha256_crypt_r()
220 if (cnt % 3 != 0) in __sha256_crypt_r()
[all …]
A Dsha512-crypt.c74 size_t cnt; in __sha512_crypt_r() local
159 for (cnt = key_len; cnt > 64; cnt -= 64) in __sha512_crypt_r()
166 for (cnt = key_len; cnt > 0; cnt >>= 1) in __sha512_crypt_r()
167 if ((cnt & 1) != 0) in __sha512_crypt_r()
179 for (cnt = 0; cnt < key_len; ++cnt) in __sha512_crypt_r()
187 for (cnt = key_len; cnt >= 64; cnt -= 64) in __sha512_crypt_r()
195 for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt) in __sha512_crypt_r()
203 for (cnt = salt_len; cnt >= 64; cnt -= 64) in __sha512_crypt_r()
209 for (cnt = 0; cnt < rounds; ++cnt) in __sha512_crypt_r()
221 if (cnt % 3 != 0) in __sha512_crypt_r()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/ldso/
A Ddl-tls.c357 size_t cnt, offset = 0; in _dl_determine_tlsoffset() local
359 for (cnt = 1; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
406 size_t cnt; in _dl_determine_tlsoffset() local
408 for (cnt = 1; slotinfo[cnt].map != NULL; ++cnt) in _dl_determine_tlsoffset()
592 size_t cnt; in _dl_allocate_tls_init() local
594 for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt) in _dl_allocate_tls_init()
641 total += cnt; in _dl_allocate_tls_init()
669 size_t cnt; in _dl_deallocate_tls() local
672 for (cnt = 0; cnt < dtv[-1].counter; ++cnt) in _dl_deallocate_tls()
760 size_t cnt; in _dl_update_slotinfo() local
[all …]
/l4re-core-master/l4util/lib/src/ARCH-x86/
A Dbacktrace.c49 int cnt, max; member
61 if (arg->cnt != -1) in __bt_helper()
62 arg->pc_array[arg->cnt] = (void *)uw_getpc (ctx); in __bt_helper()
63 if (++arg->cnt == arg->max) in __bt_helper()
81 struct Bt_arg arg = { .pc_array = pc_array, .max = max, .cnt = -1 }; in l4util_backtrace()
98 if (arg.cnt > 1 && arg.pc_array[arg.cnt - 1] == (void*)0) in l4util_backtrace()
99 --arg.cnt; in l4util_backtrace()
100 else if (arg.cnt < max) in l4util_backtrace()
104 while (arg.cnt < max) in l4util_backtrace()
112 pc_array[arg.cnt++] = fp->ret; in l4util_backtrace()
[all …]
/l4re-core-master/l4util/lib/src/ARCH-amd64/
A Dbacktrace.c47 int cnt, max; member
56 if (arg->cnt != -1) in __bt_helper()
57 arg->pc_array[arg->cnt] = (void *)(uintptr_t)uw_getpc (ctx); in __bt_helper()
58 if (++arg->cnt == arg->max) in __bt_helper()
68 struct Bt_arg arg = { .pc_array = pc_array, .max = max, .cnt = -1 }; in l4util_backtrace()
85 if (arg.cnt > 1 && arg.pc_array[arg.cnt - 1] == (void*)0) in l4util_backtrace()
86 --arg.cnt; in l4util_backtrace()
87 return arg.cnt != -1 ? arg.cnt : 0; in l4util_backtrace()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/
A Dpthread_key_create.c31 size_t cnt; in __pthread_key_create() local
32 for (cnt = 0; cnt < PTHREAD_KEYS_MAX; ++cnt) in __pthread_key_create()
34 uintptr_t seq = __pthread_keys[cnt].seq; in __pthread_key_create()
38 && ! atomic_compare_and_exchange_bool_acq (&__pthread_keys[cnt].seq, in __pthread_key_create()
42 __pthread_keys[cnt].destr = destr; in __pthread_key_create()
45 *key = cnt; in __pthread_key_create()
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/scripts/
A Drelinfo.pl19 for ($cnt = 0; $cnt <= $#ARGV; ++$cnt) {
27 open (READLINK, "readlink -f $ARGV[$cnt] |") || die "cannot open readlink";
34 open (READELF, "eu-readelf -d $ARGV[$cnt] |") || die "cannot open $ARGV[$cnt]";
49 …open (READELF, "eu-readelf -r $ARGV[$cnt] | sed '/'.gnu.conflict'/,/^\$/d' |") || die "cannot open…
68 $ARGV[$cnt], $relent == 0 ? 0 : $relsz / $relent, $relcount,
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old_db/
A Dtd_ta_thr_iter.c26 size_t cnt, pthread_descr descr) in handle_descr() argument
35 if (cnt == 0) in handle_descr()
55 else if (cnt == 1) in handle_descr()
70 if (cnt == 1 && pds.p_pid == 0) in handle_descr()
112 int cnt; in td_ta_thr_iter() local
157 for (cnt = 2; cnt < pthread_threads_max && num > 0; ++cnt) in td_ta_thr_iter()
158 if (phc[cnt].h_descr != NULL) in td_ta_thr_iter()
165 result = handle_descr (ta, callback, cbdata_p, state, ti_pri, cnt, in td_ta_thr_iter()
166 phc[cnt].h_descr); in td_ta_thr_iter()

Completed in 2401 milliseconds

12345