Home
last modified time | relevance | path

Searched refs:__bits (Results 1 – 25 of 35) sorted by relevance

12

/third_party/musl/src/signal/
Dsigfillset.c7 set->__bits[0] = 0x7ffffffful; in sigfillset()
8 set->__bits[1] = 0xfffffffcul; in sigfillset()
10 set->__bits[2] = 0xfffffffful; in sigfillset()
11 set->__bits[3] = 0xfffffffful; in sigfillset()
14 set->__bits[0] = 0xfffffffc7ffffffful; in sigfillset()
15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful; in sigfillset()
Dsigemptyset.c6 set->__bits[0] = 0; in sigemptyset()
7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; in sigemptyset()
9 set->__bits[2] = 0; in sigemptyset()
10 set->__bits[3] = 0; in sigemptyset()
Dsigismember.c7 return !!(set->__bits[s/8/sizeof *set->__bits] & 1UL<<(s&8*sizeof *set->__bits-1)); in sigismember()
Dsigdelset.c11 set->__bits[s/8/sizeof *set->__bits] &=~(1UL<<(s&8*sizeof *set->__bits-1)); in sigdelset()
Dsigaddset.c11 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1); in sigaddset()
Dsigisemptyset.c7 for (size_t i=0; i<_NSIG/8/sizeof *set->__bits; i++) in sigisemptyset()
8 if (set->__bits[i]) return 0; in sigisemptyset()
/third_party/musl/src/thread/
Dpthread_sigmask.c11 if (sizeof old->__bits[0] == 8) { in pthread_sigmask()
12 old->__bits[0] &= ~0x380000000ULL; in pthread_sigmask()
14 old->__bits[0] &= ~0x80000000UL; in pthread_sigmask()
15 old->__bits[1] &= ~0x3UL; in pthread_sigmask()
Dpthread_cancel.c43 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1); in _sigaddset()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_sigmask.c66 if (sizeof old->__bits[0] == 8) { in pthread_sigmask()
67 old->__bits[0] &= ~0x380000000ULL; in pthread_sigmask()
69 old->__bits[0] &= ~0x80000000UL; in pthread_sigmask()
70 old->__bits[1] &= ~0x3UL; in pthread_sigmask()
Dpthread_cancel.c44 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1); in _sigaddset()
/third_party/musl/porting/liteos_a/user/src/sched/
Daffinity.c13 return syscall(SYS_sched_setaffinity, tid, (unsigned short)(set->__bits[0]), MUSL_TYPE_PROCESS); in sched_setaffinity()
21 …return -__syscall(SYS_sched_setaffinity, td->tid, (unsigned short)(set->__bits[0]), MUSL_TYPE_THRE… in pthread_setaffinity_np()
34 set->__bits[0] = (long)cpuset; in do_getaffinity()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_cancel.c43 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1); in _sigaddset()
/third_party/musl/porting/linux/user/src/sigchain/
Dsigchain.c126 if (sizeof old->__bits[0] == 8) { in sigchain_sigmask()
127 old->__bits[0] &= ~0x380000000ULL; in sigchain_sigmask()
129 old->__bits[0] &= ~0x80000000UL; in sigchain_sigmask()
130 old->__bits[1] &= ~0x3UL; in sigchain_sigmask()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c116 (long)mask.__bits[0]); in func_nonrt()
165 (long)mask.__bits[0]); in func_rt()
221 (long)mask.__bits[0]); in func_noise()
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/
Dmod.rs175 __bits: [::c_ulong; 2]
184 .field("__bits", &self.__bits)
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
D_pthreadtypes.h55 typedef struct cpu_set_t { unsigned long __bits[CPU_SETSIZE/(8 * sizeof(unsigned long int))]; } cpu… member
/third_party/mindspore/patches/
D0030-fix-core-binding-in-ohos.patch44 THREAD_INFO("thread: %d, mask: %lu", pthread_gettid_np(thread_id), cpu_set->__bits[0]);
117 + THREAD_INFO("thread: %d, mask: %lu", gettid(), mask_.__bits[0]);
/third_party/rust/crates/libc/src/unix/linux_like/android/b64/
Dmod.rs139 __bits: [::c_ulong; 1]
247 .field("__bits", &self.__bits)
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs127 __bits: [__CPU_BITTYPE; 16],
129 __bits: [__CPU_BITTYPE; 1],
3005 let size_in_bits = 8 * ::mem::size_of_val(&_dummy.__bits[0]);
3010 for slot in cpuset.__bits.iter_mut() {
3017 = 8 * ::mem::size_of_val(&cpuset.__bits[0]); // 32, 64 etc
3019 cpuset.__bits[idx] |= 1 << offset;
3025 = 8 * ::mem::size_of_val(&cpuset.__bits[0]); // 32, 64 etc
3027 cpuset.__bits[idx] &= !(1 << offset);
3032 let size_in_bits = 8 * ::mem::size_of_val(&cpuset.__bits[0]);
3034 0 != (cpuset.__bits[idx] & (1 << offset))
[all …]
/third_party/musl/porting/liteos_m/kernel/include/
Dsched.h74 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member
/third_party/musl/include/
Dsched.h87 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member
/third_party/musl/porting/uniproton/kernel/include/
Dsched.h74 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member
/third_party/musl/porting/linux/user/include/
Dsched.h88 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member
/third_party/musl/porting/liteos_m/user/include/
Dsched.h86 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member
/third_party/musl/ndk_musl_include/
Dsched.h87 typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t; member

12