/bionic/libc/bionic/ |
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 | sigsuspend.cpp | 36 kernel_sigset_t set(bionic_set); 37 return __rt_sigsuspend(&set, sizeof(set));
|
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 | sched_cpualloc.c | 37 void __sched_cpufree(cpu_set_t* set) argument 39 free(set);
|
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 | 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 | __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);
|
/bionic/libc/include/sys/ |
H A D | select.h | 50 #define __FDS_BITS(set) (((fd_set*)(set))->fds_bits) 52 #define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set)))) 58 #define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set)) 59 #define FD_SET(fd, set) __FD_SET_chk(fd, set, __bo [all...] |
H A D | cdefs_elf.h | 99 #define __link_set_make_entry(set, sym) \ 100 static void const * const __link_set_##set##_sym_##sym \ 101 __section("link_set_" #set) __used = &sym 102 #define __link_set_make_entry2(set, sym, n) \ 103 static void const * const __link_set_##set##_sym_##sym##_##n \ 104 __section("link_set_" #set) __used = &sym[n] 106 #define __link_set_make_entry(set, sym) \ 107 extern void const * const __link_set_##set##_sym_##sym 108 #define __link_set_make_entry2(set, sym, n) \ 109 extern void const * const __link_set_##set##_sym [all...] |
/bionic/libc/kernel/tools/ |
H A D | defaults.py | 25 # this is the set of known macros we want to totally optimize out from the 42 # maps an architecture to a set of default macros that would be provided by 75 # this is the set of known static inline functions that we want to keep 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( 107 # this maps an architecture to the set of static inline functions that 120 kernel_ignored_macros = set( [all...] |
/bionic/libc/include/ |
H A D | sched.h | 77 extern int sched_setaffinity(pid_t pid, size_t setsize, const cpu_set_t* set); 79 extern int sched_getaffinity(pid_t pid, size_t setsize, cpu_set_t* set); 81 #define CPU_ZERO(set) CPU_ZERO_S(sizeof(cpu_set_t), set) 82 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) 83 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) 84 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) [all...] |
/bionic/tests/ |
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...] |
/bionic/libc/tools/ |
H A D | check-symbols-glibc.py | 22 symbols = set() 36 symbols = set() 42 symbols = set() 66 bsd_stuff = set([ 83 FORTIFY_stuff = set([ 98 macro_stuff = set([ 105 linux_stuff = set([ 111 std_stuff = set([ 119 weird_stuff = set([
|
/bionic/libc/arch-mips/syscalls/ |
H A D | __accept4.S | 6 .set noreorder 18 .set reorder
|
H A D | __brk.S | 6 .set noreorder 18 .set reorder
|
H A D | __connect.S | 6 .set noreorder 18 .set reorder
|
H A D | __epoll_pwait.S | 6 .set noreorder 18 .set reorder
|
H A D | __exit.S | 6 .set noreorder 18 .set reorder
|
H A D | __fadvise64.S | 6 .set noreorder 18 .set reorder
|
H A D | __fcntl64.S | 6 .set noreorder 18 .set reorder
|
H A D | __fstatfs64.S | 6 .set noreorder 18 .set reorder
|
H A D | __getcpu.S | 6 .set noreorder 18 .set reorder
|