/bionic/tests/ |
H A D | fortify_test.cpp | 689 fd_set set; local 690 memset(&set, 0, sizeof(set)); 691 ASSERT_EXIT(FD_ISSET(-1, &set), testing::KilledBySignal(SIGABRT), ""); 698 fd_set* set = (fd_set*) buf; local 699 ASSERT_EXIT(FD_ISSET(0, set), testing::KilledBySignal(SIGABRT), ""); 708 fd_set* set = (fd_set*) buf; local 709 ASSERT_EXIT(FD_ZERO_function(set), testing::KilledBySignal(SIGABRT), "");
|
H A D | pthread_test.cpp | 292 sigset_t set; local 293 sigemptyset(&set); 294 sigaddset(&set, SIGUSR1); 295 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, &set, NULL));
|
H A D | sched_test.cpp | 45 // For glibc, any call to clone with CLONE_VM set will cause later pthread 63 cpu_set_t set; local 65 CPU_ZERO(&set); 66 CPU_SET(0, &set); 67 CPU_SET(17, &set); 69 ASSERT_EQ(i == 0 || i == 17, CPU_ISSET(i, &set)); 72 // We should fail silently if we try to set/test outside the range. 73 CPU_SET(CPU_SETSIZE, &set); 74 ASSERT_FALSE(CPU_ISSET(CPU_SETSIZE, &set)); 78 cpu_set_t set; local 90 cpu_set_t set; local 100 cpu_set_t set; local 160 cpu_set_t* set = CPU_ALLOC(17); local 172 cpu_set_t* set = CPU_ALLOC(10 * CPU_SETSIZE); local 186 cpu_set_t* set = CPU_ALLOC(set_size); local [all...] |
H A D | signal_test.cpp | 55 sigset_t set; local 57 ASSERT_EQ(0, fn(&set)); 69 sigset_t set; local 70 sigemptyset(&set); 74 ASSERT_EQ(-1, fn(&set, 0)); 79 ASSERT_EQ(-1, fn(&set, SIGNAL_MAX() + 1)); 84 ASSERT_EQ(0, fn(&set, SIGNAL_MIN())); 86 ASSERT_EQ(0, fn(&set, SIGNAL_MAX())); 193 // Restore the original set. 201 // See what's currently set fo [all...] |
/bionic/libc/bionic/ |
H A D | __FD_chk.cpp | 33 extern "C" int __FD_ISSET_chk(int fd, fd_set* set, size_t set_size) { argument 41 __fortify_chk_fail("FD_ISSET: set is too small", 0); 43 return FD_ISSET(fd, set); 46 extern "C" void __FD_CLR_chk(int fd, fd_set* set, size_t set_size) { argument 54 __fortify_chk_fail("FD_CLR: set is too small", 0); 56 FD_CLR(fd, set); 59 extern "C" void __FD_SET_chk(int fd, fd_set* set, size_t set_size) { argument 67 __fortify_chk_fail("FD_SET: set is too small", 0); 69 FD_SET(fd, set);
|
H A D | sched_cpualloc.c | 37 void __sched_cpufree(cpu_set_t* set) argument 39 free(set);
|
H A D | sched_cpucount.c | 31 int __sched_cpucount(size_t setsize, cpu_set_t* set) { argument 37 count += __builtin_popcountl(set->__bits[nn]);
|
H A D | sched_getaffinity.cpp | 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { argument 36 int rc = __sched_getaffinity(pid, set_size, set); 43 memset(reinterpret_cast<char*>(set) + rc, 0, set_size - rc);
|
H A D | sigaddset.cpp | 31 int sigaddset(sigset_t* set, int signum) { argument 33 unsigned long* local_set = (unsigned long*) set; 34 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
|
H A D | sigdelset.cpp | 31 int sigdelset(sigset_t* set, int signum) { argument 33 unsigned long* local_set = (unsigned long*) set; 34 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
|
H A D | sigemptyset.cpp | 31 int sigemptyset(sigset_t* set) { argument 32 if (set == NULL) { 36 memset(set, 0, sizeof(sigset_t));
|
H A D | sigfillset.cpp | 31 int sigfillset(sigset_t* set) { argument 32 if (set == NULL) { 36 memset(set, ~0, sizeof(sigset_t));
|
H A D | sigismember.cpp | 31 int sigismember(const sigset_t* set, int signum) { argument 33 const unsigned long* local_set = (const unsigned long*) set; 34 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
|
H A D | sigpending.cpp | 36 kernel_sigset_t set; local 37 int result = __rt_sigpending(&set, sizeof(set)); 39 *bionic_set = set.bionic;
|
H A D | sigwait.cpp | 38 int sigwait(const sigset_t* set, int* sig) { argument 39 kernel_sigset_t sigset(set);
|
H A D | tmpfile.cpp | 46 sigset_t set; local 47 sigfillset(&set); 48 sigprocmask(SIG_BLOCK, &set, &old_set_);
|
/bionic/libc/dns/resolv/ |
H A D | res_init.c | 140 * there will have precedence. Otherwise, the server address is set to 256 * to still have a search list, and anyone to set the 314 /* set search list */ 712 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) argument 725 switch (set->sin.sin_family) { 727 size = sizeof(set->sin); 730 &set->sin, size); 733 &set->sin, size); 741 size = sizeof(set->sin6); 744 &set 764 res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) argument [all...] |
/bionic/libc/kernel/tools/ |
H A D | cpp.py | 78 def set(self,id,val=None): member in class:Token 158 """set the content of the (next) current line. should be called 266 return tok.set(c) 276 return tok.set(tokLN) 284 return tok.set(tokEOF,value) 291 return tok.set(tokSPACE,value) 301 return tok.set(tokSPACE,c) 312 return tok.set(tokSPACE,"\\") 316 return tok.set(c) 332 return tok.set(tokSTRIN [all...] |
/bionic/libc/kernel/uapi/linux/dvb/ |
H A D | frontend.h | 442 __u32 set:1; member in struct:dtv_cmds_h
|
/bionic/libc/kernel/uapi/linux/ |
H A D | fb.h | 390 __u16 set; member in struct:fb_cursor
|
H A D | nl80211.h | 519 __u32 set; member in struct:nl80211_sta_flag_update
|
/bionic/libc/kernel/uapi/linux/netfilter/ipset/ |
H A D | ip_set.h | 255 union ip_set_name_index set; member in struct:ip_set_req_get_set 265 union ip_set_name_index set; member in struct:ip_set_req_get_set_family
|
/bionic/libc/private/ |
H A D | kernel_sigset_t.h | 31 set(value); 38 void set(const sigset_t* value) { function in union:kernel_sigset_t
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
H A D | wcscspn.c | 40 wcscspn(const wchar_t *s, const wchar_t *set) argument 47 q = set;
|
H A D | wcspbrk.c | 40 wcspbrk(const wchar_t *s, const wchar_t *set) argument 47 q = set;
|