Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-mutex8.c27 static pthread_mutex_t *m; variable
36 if (pthread_mutex_unlock (m) != 0) in cl()
47 if (pthread_mutex_lock (m) != 0) in tf()
73 if (pthread_cond_wait (&c, m) != 0) in tf()
83 if (pthread_mutex_unlock (m) != 0) in tf()
114 if (pthread_mutex_lock (m) != 0) in check_type()
145 e = pthread_mutex_destroy (m); in check_type()
180 if (pthread_mutex_lock (m) != 0) in check_type()
192 e = pthread_mutex_destroy (m); in check_type()
262 e = pthread_mutex_destroy (m); in check_type()
[all …]
A Dtst-mutex3.c25 static pthread_mutex_t m; variable
32 int e = pthread_mutex_unlock (&m); in tf()
44 e = pthread_mutex_trylock (&m); in tf()
70 e = pthread_mutex_unlock (&m); in tf()
82 if (pthread_mutex_trylock (&m) != 0) in tf()
88 if (pthread_mutex_unlock (&m) != 0) in tf()
127 if (pthread_mutex_lock (&m) != 0) in do_test()
133 if (pthread_mutex_lock (&m) != 0) in do_test()
145 if (pthread_mutex_unlock (&m) != 0) in do_test()
151 if (pthread_mutex_unlock (&m) != 0) in do_test()
[all …]
A Dtst-mutex2.c25 static pthread_mutex_t m; variable
32 int e = pthread_mutex_unlock (&m); in tf()
44 e = pthread_mutex_trylock (&m); in tf()
70 e = pthread_mutex_unlock (&m); in tf()
82 if (pthread_mutex_trylock (&m) != 0) in tf()
88 if (pthread_mutex_unlock (&m) != 0) in tf()
116 if (pthread_mutex_init (&m, &a) != 0) in do_test()
139 if (pthread_mutex_lock (&m) != 0) in do_test()
145 if ((e = pthread_mutex_lock (&m)) == 0) in do_test()
170 if (pthread_mutex_unlock (&m) != 0) in do_test()
[all …]
A Dtst-mutex5.c35 pthread_mutex_t m; in do_test() local
54 if (pthread_mutex_init (&m, &a) != 0) in do_test()
66 if (pthread_mutex_lock (&m) != 0) in do_test()
72 if (pthread_mutex_trylock (&m) == 0) in do_test()
83 err = pthread_mutex_timedlock (&m, &ts); in do_test()
131 err = pthread_mutex_timedlock (&m, &ts); in do_test()
143 if (pthread_mutex_unlock (&m) != 0) in do_test()
153 if (pthread_mutex_timedlock (&m, &ts) != 0) in do_test()
168 if (pthread_mutex_unlock (&m) != 0) in do_test()
174 if (pthread_mutex_destroy (&m) != 0) in do_test()
A Dtst-mutex9.c41 pthread_mutex_t *m; in do_test() local
73 m = (pthread_mutex_t *) (((uintptr_t) mem + __alignof (pthread_mutex_t)) in do_test()
75 p = (char *) (m + 1); in do_test()
95 if (pthread_mutex_init (m, &a) != 0) in do_test()
101 if (pthread_mutex_lock (m) != 0) in do_test()
122 if (pthread_mutex_trylock (m) == 0) in do_test()
128 if (pthread_mutex_unlock (m) == 0) in do_test()
145 int e = pthread_mutex_timedlock (m, &ts); in do_test()
159 pthread_mutex_lock (m); in do_test()
A Dtst-mutex4.c38 pthread_mutex_t *m; in do_test() local
72 m = (pthread_mutex_t *) (((uintptr_t) mem + __alignof (pthread_mutex_t)) in do_test()
74 p = (char *) (m + 1); in do_test()
112 if (pthread_mutex_init (m, &a) != 0) in do_test()
118 if (pthread_mutex_lock (m) != 0) in do_test()
130 err = pthread_mutex_trylock (m); in do_test()
160 if (pthread_mutex_unlock (m) != 0) in do_test()
170 if (pthread_mutex_lock (m) != 0) in do_test()
A Dtst-cond22.c8 static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER; variable
14 pthread_mutex_unlock (&m); in cl()
21 if (pthread_mutex_lock (&m) != 0) in tf()
38 if (pthread_cond_wait (&c, &m) != 0) in tf()
45 if (pthread_mutex_unlock (&m) != 0) in tf()
77 if (pthread_mutex_lock (&m) != 0) in do_test()
92 if (pthread_mutex_unlock (&m) != 0) in do_test()
125 if (pthread_mutex_lock (&m) != 0) in do_test()
135 if (pthread_mutex_unlock (&m) != 0) in do_test()
A Dtst-mutex1.c26 pthread_mutex_t m; in do_test() local
28 if (pthread_mutex_init (&m, NULL) != 0) in do_test()
34 if (pthread_mutex_lock (&m) != 0) in do_test()
40 if (pthread_mutex_unlock (&m) != 0) in do_test()
46 if (pthread_mutex_destroy (&m) != 0) in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/
A Dmalloc-machine.h33 # define mutex_init(m) \ argument
34 __libc_maybe_call (__pthread_mutex_init, (m, NULL), \
35 (((m)->__m_lock.__spinlock = __LT_SPINLOCK_INIT),(*(int *)(m))) )
36 # define mutex_lock(m) \ argument
37 __libc_maybe_call (__pthread_mutex_lock, (m), \
39 # define mutex_trylock(m) \ argument
40 __libc_maybe_call (__pthread_mutex_trylock, (m), \
41 (*(int *)(m) ? 1 : (__load_and_clear(&((m)->__m_lock.__spinlock)), 0)))
42 # define mutex_unlock(m) \ argument
43 __libc_maybe_call (__pthread_mutex_unlock, (m), \
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/
A Dmalloc-machine.h30 #define mutex_init(m) \ argument
31 __libc_maybe_call2 (pthread_mutex_init, (m, NULL), (*(int *)(m) = 0))
32 #define mutex_lock(m) \ argument
33 __libc_maybe_call2 (pthread_mutex_lock, (m), ((*(int *)(m) = 1), 0))
34 #define mutex_trylock(m) \ argument
35 __libc_maybe_call2 (pthread_mutex_trylock, (m), \
36 (*(int *)(m) ? 1 : ((*(int *)(m) = 1), 0)))
37 #define mutex_unlock(m) \ argument
38 __libc_maybe_call2 (pthread_mutex_unlock, (m), (*(int *)(m) = 0))
/l4re-core-master/sigma0/server/src/
A Dmem_man_test.cc17 m.add_free(Region(a, b))
21 Mem_man m; in mem_man_test() local
23 m.dump(); in mem_man_test()
29 m.dump(); in mem_man_test()
31 m.dump(); in mem_man_test()
33 m.dump(); in mem_man_test()
35 m.dump(); in mem_man_test()
37 m.dump(); in mem_man_test()
39 m.dump(); in mem_man_test()
41 m.dump(); in mem_man_test()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/config/
A Dkxgettext.c122 struct message *m = message__list; in mesage__find() local
124 while (m != NULL) { in mesage__find()
125 if (strcmp(m->msg, msg) == 0) in mesage__find()
127 m = m->next; in mesage__find()
130 return m; in mesage__find()
157 if (m != NULL) in message__add()
162 if (m != NULL) { in message__add()
163 m->next = message__list; in message__add()
164 message__list = m; in message__add()
220 while (m != NULL) { in menu__xgettext()
[all …]
/l4re-core-master/moe/server/src/
A Ddma_space.cc38 if (!m) in map()
45 m->mapper = this; in map()
46 m->attrs = attrs; in map()
47 m->dir = dir; in map()
54 if (!m) in unmap()
58 delete m; in unmap()
138 l4_size_t s = m->key.end - m->key.start + 1; in remove()
176 return m; in find_mapper()
251 if (!m) in unmap()
255 delete m; in unmap()
[all …]
A Ddataspace_anon.cc27 Single_page_unique_ptr m; in Dataspace_anon() local
61 m = Single_page_unique_ptr(_m, r_size); in Dataspace_anon()
71 m = Single_page_unique_ptr(_m, r_size); in Dataspace_anon()
74 memset(m.get(), 0, m.size()); in Dataspace_anon()
77 l4_cache_clean_data((l4_addr_t)m.get(), (l4_addr_t)m.get() + m.size()); in Dataspace_anon()
79 start(m.release()); in Dataspace_anon()
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/
A Dgen_locale.c265 char *m; in read_at_mappings() local
722 m = 0; \
726 ++m; \
832 int j, m; in lc_time_S() local
871 for (m=0 ; m < lc_time_count[k] ; m++) { in lc_time_S()
979 int j, m; in lc_numeric_S() local
1021 for (m=0 ; m < lc_numeric_count[k] ; m++) { in lc_numeric_S()
1088 for (m=0 ; m < lc_monetary_count[k] ; m++) { in lc_monetary_C()
1149 for (m=0 ; m < lc_monetary_count[k] ; m++) { in lc_monetary_S()
1230 for (m=0 ; m < lc_messages_count[k] ; m++) { in lc_messages_S()
[all …]
/l4re-core-master/l4sys/include/
A Dicu.h374 m->mr[0] = L4_ICU_OP_BIND; in l4_icu_bind_u()
375 m->mr[1] = irqnum; in l4_icu_bind_u()
386 m->mr[0] = L4_ICU_OP_UNBIND; in l4_icu_unbind_u()
387 m->mr[1] = irqnum; in l4_icu_unbind_u()
399 m->mr[0] = L4_ICU_OP_INFO; in l4_icu_info_u()
401 info->features = m->mr[0]; in l4_icu_info_u()
402 info->nr_irqs = m->mr[1]; in l4_icu_info_u()
403 info->nr_msis = m->mr[2]; in l4_icu_info_u()
413 m->mr[0] = L4_ICU_OP_MSI_INFO; in l4_icu_msi_info_u()
414 m->mr[1] = irqnum; in l4_icu_msi_info_u()
[all …]
A Dscheduler.h242 l4_msg_regs_t *m = l4_utcb_mr_u(utcb); in l4_scheduler_info_u() local
245 m->mr[0] = L4_SCHEDULER_INFO_OP; in l4_scheduler_info_u()
246 m->mr[1] = cpus->gran_offset; in l4_scheduler_info_u()
253 cpus->map = m->mr[0]; in l4_scheduler_info_u()
256 *cpu_max = m->mr[1]; in l4_scheduler_info_u()
265 l4_msg_regs_t *m = l4_utcb_mr_u(utcb); in l4_scheduler_run_thread_u() local
267 m->mr[1] = sp->affinity.gran_offset; in l4_scheduler_run_thread_u()
268 m->mr[2] = sp->affinity.map; in l4_scheduler_run_thread_u()
269 m->mr[3] = sp->prio; in l4_scheduler_run_thread_u()
270 m->mr[4] = sp->quantum; in l4_scheduler_run_thread_u()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/ryu/
A Df2s_intrinsics.h63 static inline uint32_t mulShift32(const uint32_t m, const uint64_t factor, const int32_t shift) { in mulShift32() argument
70 const uint64_t bits0 = (uint64_t)m * factorLo; in mulShift32()
71 const uint64_t bits1 = (uint64_t)m * factorHi; in mulShift32()
97 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()
[all …]
A Dd2s_intrinsics.h253 const uint128_t b0 = ((uint128_t) m) * mul[0]; in mulShift64()
254 const uint128_t b2 = ((uint128_t) m) * mul[1]; 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()
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()
317 m <<= 1; in mulShiftAll64()
320 const uint64_t lo = umul128(m, mul[0], &tmp); in mulShiftAll64()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dmalloc-machine.h30 #define mutex_init(m) __libc_lock_init (*(m)) argument
31 #define mutex_lock(m) __libc_lock_lock (*(m)) argument
32 #define mutex_trylock(m) __libc_lock_trylock (*(m)) argument
33 #define mutex_unlock(m) __libc_lock_unlock (*(m)) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A Dl64a.c36 unsigned long int m = (unsigned long int) n; in l64a() local
41 if (sizeof(m) != 4) in l64a()
42 m &= 0xffffffff; in l64a()
47 while (m) in l64a()
49 *p++ = conv_table[m & 0x3f]; in l64a()
50 m >>= 6; in l64a()
/l4re-core-master/lua/lib/contrib/src/
A Dlzio.c50 size_t m; in luaZ_read() local
59 m = (n <= z->n) ? n : z->n; /* min. between n and z->n */ in luaZ_read()
60 memcpy(b, z->p, m); in luaZ_read()
61 z->n -= m; in luaZ_read()
62 z->p += m; in luaZ_read()
63 b = (char *)b + m; in luaZ_read()
64 n -= m; in luaZ_read()
A Dlopcodes.h118 #define checkopm(i,m) (getOpMode(GET_OPCODE(i)) == m) argument
370 #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 7)) argument
371 #define testAMode(m) (luaP_opmodes[m] & (1 << 3)) argument
372 #define testTMode(m) (luaP_opmodes[m] & (1 << 4)) argument
373 #define testITMode(m) (luaP_opmodes[m] & (1 << 5)) argument
374 #define testOTMode(m) (luaP_opmodes[m] & (1 << 6)) argument
375 #define testMMMode(m) (luaP_opmodes[m] & (1 << 7)) argument
385 #define opmode(mm,ot,it,t,a,m) \ argument
386 (((mm) << 7) | ((ot) << 6) | ((it) << 5) | ((t) << 4) | ((a) << 3) | (m))
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/collation/
A Dyi_US5 collating-symbol <k-m-yi>
7 collating-symbol <p-m-yi>
13 collating-symbol <t-m-yi>
19 <k-m-yi>
21 <p-m-yi>
25 <t-m-yi>
34 <K+.MH> <k-m-yi>;<PCT>;<MIN>;IGNORE
36 <P+.MH> <p-m-yi>;<PCT>;<MIN>;IGNORE
40 <T+.MH> <t-m-yi>;<PCT>;<MIN>;IGNORE
/l4re-core-master/uclibc/lib/contrib/uclibc/libm/
A De_sqrt.c91 int32_t ix0,s0,q,m,t,i; in __ieee754_sqrt() local
108 m = (ix0>>20); in __ieee754_sqrt()
109 if(m==0) { /* subnormal x */ in __ieee754_sqrt()
111 m -= 21; in __ieee754_sqrt()
115 m -= i-1; in __ieee754_sqrt()
119 m -= 1023; /* unbias exponent */ in __ieee754_sqrt()
121 if(m&1){ /* odd m, double x to make it even */ in __ieee754_sqrt()
125 m >>= 1; /* m = [m/2] */ in __ieee754_sqrt()
178 ix0 += (m <<20); in __ieee754_sqrt()

Completed in 69 milliseconds

12345678910>>...13