/bionic/libc/include/sys/ |
D | select.h | 49 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) argument 52 #define FD_ZERO(set) \ argument 56 (set)->fds_bits[__i] = 0; \ 65 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set)) argument 66 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set)) argument 67 #define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set)) argument 69 #define FD_CLR(fd, set) (__FDS_BITS(set)[__FDELT(fd)] &= ~__FDMASK(fd)) argument 70 #define FD_SET(fd, set) (__FDS_BITS(set)[__FDELT(fd)] |= __FDMASK(fd)) argument 71 #define FD_ISSET(fd, set) ((__FDS_BITS(set)[__FDELT(fd)] & __FDMASK(fd)) != 0) argument
|
/bionic/libc/include/android/ |
D | legacy_signal_inlines.h | 39 static __inline int sigismember(sigset_t *set, int signum) { in sigismember() argument 42 const unsigned long *local_set = (const unsigned long *)set; in sigismember() 43 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigismember() 50 static __inline int sigaddset(sigset_t *set, int signum) { in sigaddset() argument 53 unsigned long *local_set = (unsigned long *)set; in sigaddset() 54 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigaddset() 62 static __inline int sigdelset(sigset_t *set, int signum) { in sigdelset() argument 65 unsigned long *local_set = (unsigned long *)set; in sigdelset() 66 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) { in sigdelset() 74 static __inline int sigemptyset(sigset_t *set) { in sigemptyset() argument [all …]
|
/bionic/tests/ |
D | sched_test.cpp | 63 cpu_set_t set; in TEST() local 65 CPU_ZERO(&set); in TEST() 66 CPU_SET(0, &set); in TEST() 67 CPU_SET(17, &set); in TEST() 69 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); in TEST() 73 CPU_SET(CPU_SETSIZE, &set); in TEST() 74 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); in TEST() 78 cpu_set_t set; in TEST() local 80 CPU_ZERO(&set); in TEST() 81 ASSERT_EQ(0, CPU_COUNT(&set)); in TEST() [all …]
|
/bionic/libc/include/ |
D | sched.h | 75 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 77 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 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 extern void __sched_cpufree(cpu_set_t* set); 103 #define CPU_ZERO_S(setsize, set) __builtin_memset(set, 0, setsize) argument [all …]
|
/bionic/libc/kernel/tools/ |
D | defaults.py | 79 kernel_known_arm_statics = set( 84 kernel_known_arm64_statics = set( 89 kernel_known_mips_statics = set( 94 kernel_known_x86_statics = set( 100 kernel_known_generic_statics = set( 120 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([ 90 FORTIFY_stuff = set([ 105 macro_stuff = set([ 122 linux_stuff = set([ 128 std_stuff = set([ 136 weird_stuff = set([ 158 libresolv_stuff = set([ [all …]
|
/bionic/libc/bionic/ |
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 | __FD_chk.cpp | 33 extern "C" int __FD_ISSET_chk(int fd, fd_set* set, size_t set_size) { in __FD_ISSET_chk() argument 43 return FD_ISSET(fd, set); in __FD_ISSET_chk() 46 extern "C" void __FD_CLR_chk(int fd, fd_set* set, size_t set_size) { in __FD_CLR_chk() argument 56 FD_CLR(fd, set); in __FD_CLR_chk() 59 extern "C" void __FD_SET_chk(int fd, fd_set* set, size_t set_size) { in __FD_SET_chk() argument 69 FD_SET(fd, set); in __FD_SET_chk()
|
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 | 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 | 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-mips64/syscalls/ |
D | getuid.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | clock_settime.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | setpgid.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | fdatasync.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | lgetxattr.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | recvmmsg.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | write.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | lremovexattr.S | 6 .set push 7 .set noreorder 24 .set pop
|
D | swapoff.S | 6 .set push 7 .set noreorder 24 .set pop
|