Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/bionic/libc/include/sys/
Dselect.h49 #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/
Dlegacy_signal_inlines.h39 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/
Dsched_test.cpp63 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/
Dsched.h75 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/
Ddefaults.py79 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/
Dcheck-symbols-glibc.py41 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/
Dsigpending.cpp36 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.cpp33 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()
Dsigemptyset.cpp33 int sigemptyset(sigset_t* set) { in sigemptyset() argument
34 if (set == NULL) { in sigemptyset()
38 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
Dsigfillset.cpp33 int sigfillset(sigset_t* set) { in sigfillset() argument
34 if (set == NULL) { in sigfillset()
38 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
Dsigsuspend.cpp36 kernel_sigset_t set(bionic_set); in sigsuspend() local
37 return __rt_sigsuspend(&set, sizeof(set)); in sigsuspend()
Dsigismember.cpp32 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()
Dsigaddset.cpp32 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()
Dsigdelset.cpp32 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()
Dsched_getaffinity.cpp35 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()
Dsigwaitinfo.cpp31 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/
Dgetuid.S6 .set push
7 .set noreorder
24 .set pop
Dclock_settime.S6 .set push
7 .set noreorder
24 .set pop
Dsetpgid.S6 .set push
7 .set noreorder
24 .set pop
Dfdatasync.S6 .set push
7 .set noreorder
24 .set pop
Dlgetxattr.S6 .set push
7 .set noreorder
24 .set pop
Drecvmmsg.S6 .set push
7 .set noreorder
24 .set pop
Dwrite.S6 .set push
7 .set noreorder
24 .set pop
Dlremovexattr.S6 .set push
7 .set noreorder
24 .set pop
Dswapoff.S6 .set push
7 .set noreorder
24 .set pop

12345678910>>...19