/l4re-core-master/uclibc/lib/contrib/uclibc/test/pthread/ |
A D | ex2.c | 28 b->readpos = 0; in init() 38 while ((b->writepos + 1) % BUFFER_SIZE == b->readpos) { in put() 39 pthread_cond_wait(&b->notfull, &b->lock); in put() 43 b->buffer[b->writepos] = data; in put() 44 b->writepos++; in put() 45 if (b->writepos >= BUFFER_SIZE) b->writepos = 0; in put() 58 while (b->writepos == b->readpos) { in get() 59 pthread_cond_wait(&b->notempty, &b->lock); in get() 62 data = b->buffer[b->readpos]; in get() 63 b->readpos++; in get() [all …]
|
A D | ex5.c | 26 b->readpos = 0; in init() 27 b->writepos = 0; in init() 35 sem_wait(&b->sem_write); in put() 37 b->buffer[b->writepos] = data; in put() 38 b->writepos++; in put() 39 if (b->writepos >= BUFFER_SIZE) b->writepos = 0; in put() 41 sem_post(&b->sem_read); in put() 50 sem_wait(&b->sem_read); in get() 52 data = b->buffer[b->readpos]; in get() 53 b->readpos++; in get() [all …]
|
/l4re-core-master/l4util/include/ |
A D | bitops.h | 26 #define l4util_test_and_clear_bit(b, dest) l4util_btr(b, dest) argument 27 #define l4util_test_and_set_bit(b, dest) l4util_bts(b, dest) argument 28 #define l4util_test_and_change_bit(b, dest) l4util_btc(b, dest) argument 231 b &= sizeof(*dest) * 8 - 1; in l4util_clear_bit() 247 b &= sizeof(*dest) * 8 - 1; in l4util_test_bit() 249 return (*dest >> b) & 1; in l4util_test_bit() 261 b &= sizeof(*dest) * 8 - 1; in l4util_bts() 271 return (oldval >> b) & 1; in l4util_bts() 283 b &= sizeof(*dest) * 8 - 1; in l4util_btr() 293 return (oldval >> b) & 1; in l4util_btr() [all …]
|
A D | util.h | 96 l4_addr_t b, e; in l4_touch_ro() local 98 b = l4_trunc_page((l4_addr_t)addr); in l4_touch_ro() 101 for (; b <= e; b += L4_PAGESIZE) in l4_touch_ro() 102 (void)(*(volatile char *)b); in l4_touch_ro() 109 l4_addr_t b, e; in l4_touch_rw() local 111 b = l4_trunc_page((l4_addr_t)addr); in l4_touch_rw() 114 for (; b <= e; b += L4_PAGESIZE) in l4_touch_rw() 116 char x = *(volatile char *)b; in l4_touch_rw() 117 *(volatile char *)b = x; in l4_touch_rw()
|
A D | assert.h | 24 #define ASSERT_EQUAL(a,b) DO_NOTHING argument 25 #define ASSERT_NOT_EQUAL(a,b) DO_NOTHING argument 26 #define ASSERT_LOWER_EQ(a,b) DO_NOTHING argument 27 #define ASSERT_GREATER_EQ(a,b) DO_NOTHING argument 28 #define ASSERT_BETWEEN(a,b,c) DO_NOTHING argument 57 #define ASSERT_EQUAL(a, b) \ argument 60 typeof(b) _b = b; \ 63 ASSERT_PRINTF(" "#a" (%lx) != "#b" (%lx)\n", (unsigned long)_a, (unsigned long)_b); \ 69 #define ASSERT_NOT_EQUAL(a, b) \ argument 72 typeof(b) _b = b; \ [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/regex/ |
A D | interpretation.dat | 28 :RE#28:E (aba|a*b) ababa (0,3)(0,3) 29 :RE#29:E (aba|a*b)(aba|a*b) ababa (0,5)(0,2)(2,5) 35 :RE#35:E (a(b)?)(a(b)?) aba (0,3)(0,2)(1,2)(2,3)(?,?) 40 :RE#40:E (a.*z|b.*y)(a.*z|b.*y) azbazby (0,7)(0,5)(5,7) 47 :RE#47:B \(a*\)*b\1 ab (0,2)(1,1) 48 :RE#48:B \(a*\)b\1* ab (0,2)(0,1) 49 :RE#49:B \(a*\)*b\1* ab (0,2)(1,1) 55 :RE#55:B \(a*\)*b\1 aba (0,3)(0,1) 56 :RE#56:B \(a*\)b\1* aba (0,3)(0,1) 65 :RE#65:B \(a*\)*b\1 aab (0,3)(2,2) [all …]
|
A D | categorize.dat | 23 ?E (aba|a*b)(aba|a*b) ababa (0,5)(0,2)(2,5) EXPECTED 24 |E (aba|a*b)(aba|a*b) ababa (0,4)(0,3)(3,4) BUG=first-match 27 ?B a\(b\)*\1 a NOMATCH EXPECTED 28 |B a\(b\)*\1 a (0,1) BUG=nomatch-match 36 ?B a\(b\)*\1 abab NOMATCH EXPECTED 37 |B a\(b\)*\1 abab (0,1) # BUG=nomatch-match 38 |B a\(b\)*\1 abab (0,2)(1,2) BUG=repeat-any 46 ?E (aba|a*b)* ababa (0,5)(2,5) EXPECTED 51 ?E (a(b)?)+ aba (0,3)(2,3) EXPECTED 55 ?B \(a\(b\)*\)*\2 abab NOMATCH EXPECTED [all …]
|
A D | basic.dat | 4 BE a...b abababbb (2,7) 28 E a{0}b ab (1,2) 29 E (a*)(b?)(b+)b{3} aaabbbbbbb (0,10)(0,3)(3,4)(4,7) 30 E (a*)(b{0,1})(b{1,})b{3} aaabbbbbbb (0,10)(0,3)(3,4)(4,7) 36 E (a|b)?.* b (0,1)(0,1) 37 E (a|b)c|a(b|c) ac (0,2)(0,1) 38 E (a|b)c|a(b|c) ab (0,2)(?,?)(1,2) 41 E (.a|.b).*|.*(.a|.b) xa (0,2)(0,2) 113 BE a[]]b a]b (0,3) 119 E a\(b a(b (0,3) [all …]
|
A D | forcedassoc.dat | 15 E (a*)(b|abc) abc (0,3)(0,0)(0,3) 16 E (a*)(abc|b) abc (0,3)(0,0)(0,3) 17 E ((a*)(b|abc))(c*) abc (0,3)(0,3)(0,0)(0,3)(3,3) 18 E ((a*)(abc|b))(c*) abc (0,3)(0,3)(0,0)(0,3)(3,3) 19 E (a*)((b|abc)(c*)) abc (0,3)(0,1)(1,3)(1,2)(2,3) 20 E (a*)((abc|b)(c*)) abc (0,3)(0,1)(1,3)(1,2)(2,3) 21 E (a*)(b|abc) abc (0,3)(0,0)(0,3) 22 E (a*)(abc|b) abc (0,3)(0,0)(0,3) 23 E ((a*)(b|abc))(c*) abc (0,3)(0,3)(0,0)(0,3)(3,3) 29 E (a|ab)(b*) ab (0,2)(0,2)(2,2) [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libcrypt/ |
A D | md5.c | 160 (a) += (b); \ 165 (a) += (b); \ 170 (a) += (b); \ 175 (a) += (b); \ 353 temp += b; in __md5_Transform() 354 a = d; d = c; c = b; b = temp; in __md5_Transform() 362 temp = d; d = c; c = b; b = a; a = temp; in __md5_Transform() 369 temp = d; d = c; c = b; b = a; a = temp; in __md5_Transform() 375 temp = d; d = c; c = b; b = a; a = temp; in __md5_Transform() 382 temp = d; d = c; c = b; b = a; a = temp; in __md5_Transform() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libm/ |
A D | e_jn.c | 117 b = b/a; in __ieee754_jn() 162 b = one; in __ieee754_jn() 177 b *= di; in __ieee754_jn() 178 b = b/x - a; in __ieee754_jn() 185 b *= di; in __ieee754_jn() 186 b = b/x - a; in __ieee754_jn() 197 b = (t*__ieee754_j0(x)/b); in __ieee754_jn() 200 if(sgn==1) return -b; else return b; in __ieee754_jn() 268 temp = b; in strong_alias() 269 b = ((double)(i+i)/x)*b - a; in strong_alias() [all …]
|
A D | e_hypot.c | 49 double a=x,b=y,t1,t2,_y1,y2,w; in __ieee754_hypot() local 56 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypot() 67 GET_LOW_WORD(low,b); in __ieee754_hypot() 74 SET_HIGH_WORD(b,hb); in __ieee754_hypot() 79 GET_LOW_WORD(low,b); in __ieee754_hypot() 83 b *= t1; in __ieee754_hypot() 91 SET_HIGH_WORD(b,hb); in __ieee754_hypot() 95 w = a-b; in __ieee754_hypot() 96 if (w>b) { in __ieee754_hypot() 100 w = __ieee754_sqrt(t1*t1-(b*(-b)-t2*(a+t1))); in __ieee754_hypot() [all …]
|
/l4re-core-master/lua/lib/contrib/src/ |
A D | llimits.h | 291 #define luai_numdiv(L,a,b) ((a)/(b)) argument 308 if (((m) > 0) ? (b) < 0 : ((m) < 0 && (b) > 0)) (m) += (b); } 314 ((void)L, (b == 2) ? (a)*(a) : l_mathop(pow)(a,b)) 319 #define luai_numadd(L,a,b) ((a)+(b)) argument 320 #define luai_numsub(L,a,b) ((a)-(b)) argument 321 #define luai_nummul(L,a,b) ((a)*(b)) argument 323 #define luai_numeq(a,b) ((a)==(b)) argument 324 #define luai_numlt(a,b) ((a)<(b)) argument 325 #define luai_numle(a,b) ((a)<=(b)) argument 326 #define luai_numgt(a,b) ((a)>(b)) argument [all …]
|
A D | luac.c | 344 int b=GETARG_B(i); in PrintCode() local 359 printf("%d %d",a,b); in PrintCode() 385 printf("%d %d",a,b); in PrintCode() 389 printf("%d %d",a,b); in PrintCode() 393 printf("%d %d",a,b); in PrintCode() 538 printf("%d %d",a,b); in PrintCode() 541 printf("%d %d",a,b); in PrintCode() 544 printf("%d %d",a,b); in PrintCode() 547 printf("%d %d",a,b); in PrintCode() 599 if (b==0) printf("all in "); else printf("%d in ",b-1); in PrintCode() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/ |
A D | pthread_barrier_wait.c | 35 lll_lock (ibarrier->b.lock, private); in pthread_barrier_wait() 38 --ibarrier->b.left; in pthread_barrier_wait() 41 if (ibarrier->b.left == 0) in pthread_barrier_wait() 45 ++ibarrier->b.curr_event; in pthread_barrier_wait() 57 unsigned int event = ibarrier->b.curr_event; in pthread_barrier_wait() 60 lll_unlock (ibarrier->b.lock, private); in pthread_barrier_wait() 65 while (event == ibarrier->b.curr_event); in pthread_barrier_wait() 69 unsigned int init_count = ibarrier->b.init_count; in pthread_barrier_wait() 76 lll_unlock (ibarrier->b.lock, private); in pthread_barrier_wait() 85 left = ++ibarrier->b.left; in pthread_barrier_wait() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/ |
A D | tst-fnmatch.input | 41 C "a/b" "?/b" 0 44 C "a/b" "a?b" 0 46 C "aa/b" "?/b" NOMATCH 47 C "aa/b" "a?b" NOMATCH 84 C "a" "[[.b.][=b=]]" NOMATCH 89 C "b" "[[=a=]b]" 0 90 C "b" "[[=a=][=b=]]" 0 568 de_DE.UTF-8 "b" "[[=a=]b]" 0 575 de_DE.UTF-8 "b" "[[=â=]b]" 0 582 de_DE.UTF-8 "b" "[[=à=]b]" 0 [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-cleanup4aux.c | 42 struct _pthread_cleanup_buffer b; in fn3() local 43 _pthread_cleanup_push (&b, clh, (void *) 4l); in fn3() 47 _pthread_cleanup_pop (&b, 1); in fn3() 66 struct _pthread_cleanup_buffer b; in fn5() local 67 _pthread_cleanup_push (&b, clh, (void *) 6l); in fn5() 71 _pthread_cleanup_pop (&b, 1); in fn5() 90 struct _pthread_cleanup_buffer b; in fn7() local 91 _pthread_cleanup_push (&b, clh, (void *) 8l); in fn7() 95 _pthread_cleanup_pop (&b, 1); in fn7() 114 struct _pthread_cleanup_buffer b; in fn9() local [all …]
|
/l4re-core-master/l4util/include/ARCH-amd64/ |
A D | bitops_arch.h | 31 l4util_set_bit(int b, volatile l4_umword_t * dest) in l4util_set_bit() argument 39 "Ir" (b) /* 1, bit number */ in l4util_set_bit() 48 l4util_clear_bit(int b, volatile l4_umword_t * dest) in l4util_clear_bit() argument 56 "Ir" (b) /* 1, bit number */ in l4util_clear_bit() 73 "Ir" (b) /* 1, bit number */ in l4util_complement_bit() 94 "Ir" (b) /* 2, bit number */ in l4util_test_bit() 106 l4util_bts(int b, volatile l4_umword_t * dest) in l4util_bts() argument 118 "Ir" (b) /* 2, bit number */ in l4util_bts() 129 l4util_btr(int b, volatile l4_umword_t * dest) in l4util_btr() argument 141 "Ir" (b) /* 2, bit number */ in l4util_btr() [all …]
|
/l4re-core-master/l4util/include/ARCH-x86/ |
A D | bitops_arch.h | 30 l4util_set_bit(int b, volatile l4_umword_t * dest) in l4util_set_bit() argument 38 "Ir" (b) /* 1, bit number */ in l4util_set_bit() 55 "Ir" (b) /* 1, bit number */ in l4util_clear_bit() 72 "Ir" (b) /* 1, bit number */ in l4util_complement_bit() 93 "Ir" (b) /* 2, bit number */ in l4util_test_bit() 104 l4util_bts(int b, volatile l4_umword_t * dest) in l4util_bts() argument 116 "Ir" (b) /* 2, bit number */ in l4util_bts() 127 l4util_btr(int b, volatile l4_umword_t * dest) in l4util_btr() argument 139 "Ir" (b) /* 2, bit number */ in l4util_btr() 150 l4util_btc(int b, volatile l4_umword_t * dest) in l4util_btc() argument [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/e1/bits/ |
A D | unistd.h | 58 type name(atype a, btype b) \ 67 par4 = (int)b; \ 92 par4 = (int)b; \ 119 par4 = (int)b; \ 148 par4 = (int)b; \ 181 par4 = (int)b; \ 251 par4 = (int)b; \ 276 par4 = (int)b; \ 303 par4 = (int)b; \ 332 par4 = (int)b; \ [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/sh/ |
A D | pthread_rwlock_rdlock.S | 82 extu.b r5, r5 86 extu.b r5, r5 118 bra 2b 162 bra 2b 170 bf 3b 172 bra 9b 190 bra 7b 198 bra 9b 206 bra 9b 221 bra 11b [all …]
|
A D | pthread_rwlock_wrlock.S | 80 extu.b r5, r5 84 extu.b r5, r5 98 extu.b r3, r3 114 bra 2b 151 bra 2b 159 bf 3b 160 bra 9b 174 bra 7b 188 bra 9b 203 bra 11b [all …]
|
A D | pthread_rwlock_timedrdlock.S | 163 bf 2b 217 bra 2b 225 bf 3b 227 bra 9b 246 bra 7b 254 bra 9b 262 bra 9b 277 bra 11b 293 bra 13b 297 bra 17b [all …]
|
/l4re-core-master/l4re_vfs/include/impl/ |
A D | ns_fs_impl.h | 123 b->st_dev = 1; in fstat64() 124 b->st_ino = 1; in fstat64() 126 b->st_nlink = 0; in fstat64() 127 b->st_uid = 0; in fstat64() 128 b->st_gid = 0; in fstat64() 129 b->st_rdev = 0; in fstat64() 130 b->st_size = 0; in fstat64() 329 b->st_dev = 1; in fstat64() 330 b->st_ino = 1; in fstat64() 333 b->st_uid = 0; in fstat64() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/nios2/bits/ |
A D | syscalls.h | 60 #define MAP_ARGS_2(a, b) \ argument 62 , "r" ((long) b) 70 #define MAP_ARGS_3(a, b, c) \ argument 71 MAP_ARGS_2(a, b) \ 80 #define MAP_ARGS_4(a, b, c, d) \ argument 81 MAP_ARGS_3(a, b, c) \ 90 #define MAP_ARGS_5(a, b, c, d, e) \ argument 91 MAP_ARGS_4(a, b, c, d) \ 100 #define MAP_ARGS_6(a, b, c, d, e, f) \ argument 101 MAP_ARGS_5(a, b, c, d, e) \
|