Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 145) sorted by relevance

123456

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-key4.c93 int j; in do_test() local
96 for (j = 0; j < N; ++j) in do_test()
97 if (pthread_create (&th[j], NULL, tf1, NULL) != 0) in do_test()
103 for (j = 0; j < N; ++j) in do_test()
104 if (pthread_join (th[j], NULL) != 0) in do_test()
110 for (j = 0; j < N; ++j) in do_test()
111 if (pthread_create (&th[j], NULL, tf2, NULL) != 0) in do_test()
117 for (j = 0; j < N; ++j) in do_test()
118 if (pthread_join (th[j], NULL) != 0) in do_test()
A Dtst-barrier3.c45 int j; in worker() local
61 for (j = nr; j < NTHREADS; ++j) in worker()
65 ++counters[j]; in worker()
69 retval = pthread_barrier_wait (&barriers[j]); in worker()
72 if (nr == 0 && counters[j] != j + 1) in worker()
75 j, counters[j]); in worker()
84 nr, j); in worker()
90 ++serial[j]; in worker()
96 retval = pthread_barrier_wait (&barriers[j]); in worker()
99 if (nr == 0 && serial[j] != 1) in worker()
[all …]
A Dtst-signal3.c214 int j; in do_test() local
216 for (j = 0; j <= i; ++j) in do_test()
217 total += received[i][j]; in do_test()
219 for (j = i + 1; j < N; ++j) in do_test()
220 if (received[i][j] != 0) in do_test()
222 printf ("thread %d received signal SIGRTMIN+%d\n", i, j); in do_test()
239 int j; in do_test() local
240 for (j = 0; j <= i; ++j) in do_test()
242 printf (" %5d", received[i][j]); in do_test()
243 nsig[j] += received[i][j]; in do_test()
A Dtst-tls1.c93 int j; in do_test()
94 for (j = 0; j < M; ++j, ++s.a) in do_test()
95 if (pthread_create (&th[j], &a, tf, NULL) != 0) in do_test()
101 for (j = 0; j < M; ++j) in do_test()
102 if (pthread_join (th[j], NULL) != 0) in do_test()
A Dtst-cputimer1.c26 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
27 buf[j] = 0xaa; in chew_cpu()
30 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
31 buf[j] = 0xbb; in chew_cpu()
A Dtst-cputimer2.c29 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
30 buf[j] = 0xaa; in chew_cpu()
33 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
34 buf[j] = 0xbb; in chew_cpu()
A Dtst-cputimer3.c30 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
31 buf[j] = 0xaa; in chew_cpu()
34 for (size_t j = 0; j < sizeof buf; ++j) in chew_cpu() local
35 buf[j] = 0xbb; in chew_cpu()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/malloc/
A Dtst-calloc.c39 int j; in fixed_test() local
46 for (j = 0; j < size; ++j) in fixed_test()
48 if (ptrs[i][j] != '\0') { in fixed_test()
51 size, i, j); in fixed_test()
53 ptrs[i][j] = '\xff'; in fixed_test()
70 int j; in random_test() local
80 for (j = 0; j < size; ++j) in random_test()
82 if (ptrs[i][j] != '\0') { in random_test()
85 size, i, j); in random_test()
87 ptrs[i][j] = '\xff'; in random_test()
A Dtime_malloc.c50 int i, j; in main() local
53 for (j = 0; j < NUM; j++) { in main()
54 allocs[j] = malloc(sizes[j]); in main()
56 for (j = 0; j < NUM; j++) { in main()
57 free(allocs[j]); in main()
A Dmalloc.c25 int i,j; in test1() local
40 j = random_ptr(); in test1()
41 free(ptrs[j]); in test1()
44 ptrs[j] = malloc(size); in test1()
45 if (!ptrs[j]) { in test1()
49 memset(ptrs[j],0,size); in test1()
/l4re-core-master/uclibc/lib/contrib/uclibc/libcrypt/
A Ddes.c237 for (j = 0; j < 64; j++) { in des_init()
238 b = (j & 0x20) | ((j & 1) << 4) | ((j >> 1) & 0xf); in des_init()
248 for (j = 0; j < 64; j++) in des_init()
288 for (j = 0; j < 8; j++) { in des_init()
305 for (j = 0; j < 7; j++) { in des_init()
318 for (j = 0; j < 7; j++) { in des_init()
342 for (j = 0; j < 8; j++) { in des_init()
586 int i, j; in setkey() local
594 for (j = 0; j < 8; j++) in setkey()
615 for (j = 0; j < 32; j++) in encrypt()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libm/
A Dk_rem_pio2.c165 j = jv-jx; m = jx+jk; in __kernel_rem_pio2()
166 for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (double) ipio2[j]; in __kernel_rem_pio2()
170 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; in __kernel_rem_pio2()
176 for(i=0,j=jz,z=q[jz];j>0;i++,j--) { in __kernel_rem_pio2()
179 z = q[j-1]+fw; in __kernel_rem_pio2()
199 j = iq[i]; in __kernel_rem_pio2()
201 if(j!=0) { in __kernel_rem_pio2()
202 carry = 1; iq[i] = 0x1000000- j; in __kernel_rem_pio2()
204 } else iq[i] = 0xffffff - j; in __kernel_rem_pio2()
222 j = 0; in __kernel_rem_pio2()
[all …]
A De_pow.c98 int32_t i,j,k,yisint,n; in __ieee754_pow() local
131 j = ly>>(52-k); in __ieee754_pow()
132 if((j<<(52-k))==ly) yisint = 2-(j&1); in __ieee754_pow()
134 j = iy>>(20-k); in __ieee754_pow()
135 if((j<<(20-k))==iy) yisint = 2-(j&1); in __ieee754_pow()
204 j = ix&0x000fffff; in __ieee754_pow()
257 EXTRACT_WORDS(j,i,z); in __ieee754_pow()
274 i = j&0x7fffffff; in __ieee754_pow()
283 if(j<0) n = -n; in __ieee754_pow()
296 GET_HIGH_WORD(j,z); in __ieee754_pow()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/
A Dgen_wc8bit.c90 int j; in main() local
283 for (j = 0 ; j < tt_num ; j++) { in main()
297 for (j = 0 ; j < ti_num ; j++) { in main()
366 for (j=0 ; j < n_ctype_rows ; j++) { in main()
425 for (j=0 ; j < n_uplow_rows ; j++) { in main()
491 for (j=0 ; j < n_c2wc_rows ; j++) { in main()
587 for (j=0 ; j < n_uplow_rows ; j++) { in main()
616 for (j=0 ; j < n_ctype_rows ; j++) { in main()
642 for (j=0 ; j < n_c2wc_rows ; j++) { in main()
699 total_size += j; in main()
[all …]
A Dgen_locale.c194 int i, j; in do_locale_names() local
213 for (j=1 ; j < ((unsigned char) *p) ; j++) { in do_locale_names()
646 int j; in addblock() local
653 for (j=0 ; (j < uniq) && (idx[j] + n < last) ; j++) { in addblock()
674 int j; in addstring() local
682 for (j=0 ; j < uniq ; j++) { in addstring()
832 int j, m; in lc_time_S() local
844 for (j = 0 ; j < 100 ; j++) { in lc_time_S()
979 int j, m; in lc_numeric_S() local
1080 int j, m; in lc_monetary_C() local
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/collation/
A Dsr_YU11 collating-symbol <l-j-sh>
16 collating-symbol <n-j-sh>
42 <l-j-sh>
44 <n-j-sh>
67 <l-j> <l-j-sh>;<PCT>;<MIN>;IGNORE
68 <l-J> <l-j-sh>;<PCT>;<MIN-CAP>;IGNORE
70 <L-J> <l-j-sh>;<PCT>;<CAP>;IGNORE
71 <L-j> <l-j-sh>;<PCT>;<CAP-MIN>;IGNORE
74 <n-j> <n-j-sh>;<PCT>;<MIN>;IGNORE
77 <N-J> <n-j-sh>;<PCT>;<CAP>;IGNORE
[all …]
A Dbs_BA11 collating-symbol <l-j-sh>
16 collating-symbol <n-j-sh>
42 <l-j-sh>
44 <n-j-sh>
67 <l-j> <l-j-sh>;<PCT>;<MIN>;IGNORE
68 <l-J> <l-j-sh>;<PCT>;<MIN-CAP>;IGNORE
70 <L-J> <l-j-sh>;<PCT>;<CAP>;IGNORE
71 <L-j> <l-j-sh>;<PCT>;<CAP-MIN>;IGNORE
74 <n-j> <n-j-sh>;<PCT>;<MIN>;IGNORE
77 <N-J> <n-j-sh>;<PCT>;<CAP>;IGNORE
[all …]
/l4re-core-master/lua/lib/contrib/src/
A Dlstring.c111 int i, j; in luaS_clearcache() local
113 for (j = 0; j < STRCACHE_M; j++) { in luaS_clearcache()
125 int i, j; in luaS_init() local
134 for (j = 0; j < STRCACHE_M; j++) in luaS_init()
135 g->strcache[i][j] = g->memerrmsg; in luaS_init()
243 int j; in luaS_new() local
245 for (j = 0; j < STRCACHE_M; j++) { in luaS_new()
246 if (strcmp(str, getstr(p[j])) == 0) /* hit? */ in luaS_new()
247 return p[j]; /* that is it */ in luaS_new()
250 for (j = STRCACHE_M - 1; j > 0; j--) in luaS_new()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/crypt/
A Dcrypt.c29 int i,j,t; in get8() local
35 for(j=0; j<8 ; j++) { in get8()
36 *cp++ = (t & (0x01 << (7-j))) != 0; in get8()
43 int i,j,t; in put8() local
47 for(j = 0; j<8; j++) in put8()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/ryu/
A Dd2s_intrinsics.h255 return (uint64_t) (((b0 >> 64) + b2) >> (j - 64)); in mulShift64()
272 *vp = mulShift64(4 * m + 2, mul, j); in mulShiftAll64()
273 *vm = mulShift64(4 * m - 1 - mmShift, mul, j); in mulShiftAll64()
274 return mulShift64(4 * m, mul, j); in mulShiftAll64()
289 return shiftright128(sum, high1, j - 64); in mulShift64()
294 *vp = mulShift64(4 * m + 2, mul, j); in mulShiftAll64()
295 *vm = mulShift64(4 * m - 1 - mmShift, mul, j); in mulShiftAll64()
296 return mulShift64(4 * m, mul, j); in mulShiftAll64()
311 return shiftright128(sum, high1, j - 64); in mulShift64()
342 *vm = shiftright128(mid4, hi4, (uint32_t) (j - 64)); in mulShiftAll64()
[all …]
A Df2s_intrinsics.h97 static inline uint32_t mulPow5InvDivPow2(const uint32_t m, const uint32_t q, const int32_t j) { in mulPow5InvDivPow2() argument
99 return mulShift32(m, FLOAT_POW5_INV_SPLIT[q], j); in mulPow5InvDivPow2()
106 return mulShift32(m, pow5[1] + 1, j); in mulPow5InvDivPow2()
108 return mulShift32(m, DOUBLE_POW5_INV_SPLIT[q][1] + 1, j); in mulPow5InvDivPow2()
112 static inline uint32_t mulPow5divPow2(const uint32_t m, const uint32_t i, const int32_t j) { in mulPow5divPow2() argument
114 return mulShift32(m, FLOAT_POW5_SPLIT[i], j); in mulPow5divPow2()
118 return mulShift32(m, pow5[1], j); in mulPow5divPow2()
120 return mulShift32(m, DOUBLE_POW5_SPLIT[i][1], j); in mulPow5divPow2()
A Dd2fixed.c95 if (j < 128 || j > 180) { in mulShift_mod1e9()
96 printf("%d\n", j); in mulShift_mod1e9()
99 assert(j >= 128); in mulShift_mod1e9()
100 assert(j <= 180); in mulShift_mod1e9()
157 if (j < 128 || j > 180) { in mulShift_mod1e9()
158 printf("%d\n", j); in mulShift_mod1e9()
161 assert(j >= 128); in mulShift_mod1e9()
162 assert(j <= 180); in mulShift_mod1e9()
169 if (j < 160) { // j: [128, 160) in mulShift_mod1e9()
173 return mod1e9(r2 >> (j - 128)); in mulShift_mod1e9()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A Darc4random.c46 u_int8_t j; member
63 as->j = 0; in arc4_init()
73 as->j = (as->j + si); in arc4_getbyte()
74 sj = as->s[as->j]; in arc4_getbyte()
76 as->s[as->j] = si; in arc4_getbyte()
90 as->j = (as->j + si + dat[n % datlen]); in arc4_addrandom()
91 as->s[as->i] = as->s[as->j]; in arc4_addrandom()
92 as->s[as->j] = si; in arc4_addrandom()
94 as->j = as->i; in arc4_addrandom()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/regex/
A Dtst-regex2.c102 int j, k, l; in do_test() local
103 for (j = 0, l = 1; j < 7; ++j) { in do_test()
105 if (pmatch[l].rm_so != pmatch[0].rm_so + j in do_test()
212 int j, k, l; in do_test() local
213 for (j = 0, l = 1; j < 7; ++j) { in do_test()
215 if (regs.start[l] != match + j in do_test()
216 || regs.end[l] != match + j + 1 in do_test()
222 match + j, match + j + 1 in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/time/
A Dtst-mktime2.c76 bigtime_test (int j) in bigtime_test() argument
80 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; in bigtime_test()
105 int i, j; in do_test() local
131 for (j = 1; 0 < j; j *= 2) in do_test()
132 bigtime_test (j); in do_test()
133 bigtime_test (j - 1); in do_test()

Completed in 34 milliseconds

123456