/bionic/libc/include/sys/ |
D | select.h | 50 #define __FDS_BITS(set) (__BIONIC_CAST(static_cast, fd_set*, set)->fds_bits) argument 53 #define FD_ZERO(set) \ argument 57 (set)->fds_bits[__i] = 0; \ 66 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set)) argument 67 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) argument 68 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set)) argument 70 #define FD_CLR(fd, set) (__FDS_BITS(set)[__FDELT(fd)] &= ~__FDMASK(fd)) argument 71 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) argument 72 #define FD_ISSET(fd, set) ((__FDS_BITS(set)[__FDELT(fd)] & __FDMASK(fd)) != 0) argument
|
/bionic/tests/ |
D | sched_test.cpp | 71 cpu_set_t set; in TEST() local 73 CPU_ZERO(&set); in TEST() 74 CPU_SET(0, &set); in TEST() 75 CPU_SET(17, &set); in TEST() 77 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST() 81 CPU_SET(CPU_SETSIZE, &set); in TEST() 82 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST() 86 cpu_set_t set; in TEST() local 88 CPU_ZERO(&set); in TEST() 89 ASSERT_EQ(0, CPU_COUNT(&set)); in TEST() [all …]
|
/bionic/libc/include/android/ |
D | legacy_signal_inlines.h | 63 static __inline int sigismember(const sigset_t *set, int signum) { in sigismember() argument 66 const unsigned long *local_set = (const unsigned long *)set; in sigismember() 67 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigismember() 74 static __inline int sigaddset(sigset_t *set, int signum) { in sigaddset() argument 77 unsigned long *local_set = (unsigned long *)set; in sigaddset() 78 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigaddset() 86 static __inline int sigdelset(sigset_t *set, int signum) { in sigdelset() argument 89 unsigned long *local_set = (unsigned long *)set; in sigdelset() 90 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigdelset() 98 static __inline int sigemptyset(sigset_t *set) { in sigemptyset() argument [all …]
|
/bionic/libc/include/ |
D | sched.h | 76 int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set) __INTRODUCED_IN(12); 77 int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set) __INTRODUCED_IN(12); 79 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t), set) argument 80 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) argument 81 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) argument 82 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) argument 83 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t), set) argument 98 #define CPU_FREE(set) __sched_cpufree((set)) argument 101 void __sched_cpufree(cpu_set_t* set) __INTRODUCED_IN(12); 103 #define CPU_ZERO_S(setsize, set) __builtin_memset(set, 0, setsize) argument [all …]
|
/bionic/libc/kernel/tools/ |
D | defaults.py | 91 kernel_known_arm_statics = set( 96 kernel_known_arm64_statics = set( 101 kernel_known_mips_statics = set( 106 kernel_known_x86_statics = set( 111 kernel_known_generic_statics = set( 151 kernel_ignored_macros = set(
|
/bionic/libc/tools/ |
D | check-symbols-glibc.py | 41 ignored_symbols = set() 45 ignored_symbols |= set(open(f, 'r').read().splitlines()) 70 glibc = set(map(MangleGlibcNameToBionic, glibc)) 73 bsd_stuff = set([ 94 FORTIFY_stuff = set([ 115 macro_stuff = set([ 133 linux_stuff = set([ 140 std_stuff = set([ 148 weird_stuff = set([ 170 libresolv_stuff = set([ [all …]
|
/bionic/libc/bionic/ |
D | sigrelse.cpp | 32 sigset_t set; in sigrelse() local 33 if (sigemptyset(&set) == -1) return -1; in sigrelse() 34 if (sigaddset(&set, sig) == -1) return -1; in sigrelse() 35 return sigprocmask(SIG_UNBLOCK, &set, nullptr); in sigrelse()
|
D | sighold.cpp | 32 sigset_t set; in sighold() local 33 if (sigemptyset(&set) == -1) return -1; in sighold() 34 if (sigaddset(&set, sig) == -1) return -1; in sighold() 35 return sigprocmask(SIG_BLOCK, &set, nullptr); in sighold()
|
D | sigpause.cpp | 32 sigset_t set; in sigpause() local 33 if (sigprocmask(SIG_SETMASK, nullptr, &set) == -1) return -1; in sigpause() 34 if (sigdelset(&set, sig) == -1) return -1; in sigpause() 35 return sigsuspend(&set); in sigpause()
|
D | sigpending.cpp | 36 kernel_sigset_t set; in sigpending() local 37 int result = __rt_sigpending(&set, sizeof(set)); in sigpending() 39 *bionic_set = set.bionic; in sigpending()
|
D | sigfillset.cpp | 33 int sigfillset(sigset_t* set) { in sigfillset() argument 34 if (set == NULL) { in sigfillset() 38 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
|
D | sigemptyset.cpp | 33 int sigemptyset(sigset_t* set) { in sigemptyset() argument 34 if (set == NULL) { in sigemptyset() 38 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
|
D | sigsuspend.cpp | 36 kernel_sigset_t set(bionic_set); in sigsuspend() local 37 return __rt_sigsuspend(&set, sizeof(set)); in sigsuspend()
|
D | sigismember.cpp | 32 int sigismember(const sigset_t* set, int signum) { in sigismember() argument 34 const unsigned long* local_set = reinterpret_cast<const unsigned long*>(set); in sigismember() 35 if (set == NULL || bit < 0 || bit >= static_cast<int>(8*sizeof(sigset_t))) { in sigismember()
|
D | sigaddset.cpp | 32 int sigaddset(sigset_t* set, int signum) { in sigaddset() argument 34 unsigned long* local_set = reinterpret_cast<unsigned long*>(set); in sigaddset() 35 if (set == NULL || bit < 0 || bit >= static_cast<int>(8*sizeof(sigset_t))) { in sigaddset()
|
D | sigdelset.cpp | 32 int sigdelset(sigset_t* set, int signum) { in sigdelset() argument 34 unsigned long* local_set = reinterpret_cast<unsigned long*>(set); in sigdelset() 35 if (set == NULL || bit < 0 || bit >= static_cast<int>(8*sizeof(sigset_t))) { in sigdelset()
|
D | sched_getaffinity.cpp | 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { in sched_getaffinity() argument 36 int rc = __sched_getaffinity(pid, set_size, set); in sched_getaffinity() 43 memset(reinterpret_cast<char*>(set) + rc, 0, set_size - rc); in sched_getaffinity()
|
D | sigwaitinfo.cpp | 31 int sigwaitinfo(const sigset_t* set, siginfo_t* info) { in sigwaitinfo() argument 32 return sigtimedwait(set, info, NULL); in sigwaitinfo()
|
/bionic/libc/arch-mips/bionic/ |
D | vfork.S | 37 .set noreorder 41 .set push 42 .set mips32r2 44 .set pop
|
/bionic/libc/arch-mips64/syscalls/ |
D | setitimer.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | mount.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | sched_setaffinity.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | mlock.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | epoll_ctl.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | getsid.S | 6 .set push 7 .set noreorder 24 .set pop
|