Searched refs:set_size (Results 1 - 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
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 | __FD_chk.cpp | 33 extern "C" int __FD_ISSET_chk(int fd, fd_set* set, size_t set_size) { argument 40 if (__predict_false(set_size < sizeof(fd_set))) { 46 extern "C" void __FD_CLR_chk(int fd, fd_set* set, size_t set_size) { argument 53 if (__predict_false(set_size < sizeof(fd_set))) { 59 extern "C" void __FD_SET_chk(int fd, fd_set* set, size_t set_size) { argument 66 if (__predict_false(set_size < sizeof(fd_set))) {
|
/bionic/tests/ |
H A D | sched_test.cpp | 184 int set_size = 64; local 185 size_t size = CPU_ALLOC_SIZE(set_size); 186 cpu_set_t* set = CPU_ALLOC(set_size); 189 for (int i = 0; i < set_size; i++) { 196 for (int i = 0; i < set_size; i++) { 199 ASSERT_EQ(set_size - i - 1, CPU_COUNT_S(size, set));
|
Completed in 649 milliseconds