/bionic/libc/bionic/ |
H A D | clock_getcpuclockid.cpp | 34 int clock_getcpuclockid(pid_t pid, clockid_t* clockid) { argument 38 clockid_t result = ~static_cast<clockid_t>(pid) << 3;
|
H A D | raise.cpp | 37 pid_t pid = syscall(__NR_getpid); local 39 return tgkill(pid, tid, sig);
|
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);
|
H A D | ptrace.cpp | 32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data); 40 pid_t pid = va_arg(args, pid_t); local 50 long result = __ptrace(req, pid, addr, data);
|
H A D | abort.cpp | 38 pid_t pid = syscall(__NR_getpid); local 49 tgkill(pid, tid, SIGABRT); 60 tgkill(pid, tid, SIGABRT);
|
H A D | sigqueue.cpp | 36 int sigqueue(pid_t pid, int signo, const sigval value) { argument 45 return ___rt_sigqueueinfo(pid, signo, &info);
|
H A D | wait.cpp | 38 pid_t waitpid(pid_t pid, int* status, int options) { argument 39 return wait4(pid, status, options, NULL);
|
H A D | termios.cpp | 109 pid_t pid; local 110 if (ioctl(fd, TIOCGPGRP, &pid) == -1) { 113 return pid; 116 int tcsetpgrp(int fd, pid_t pid) { argument 117 return ioctl(fd, TIOCSPGRP, &pid);
|
H A D | getentropy_linux.c | 354 pid_t pid; local 358 pid = getpid(); 359 if (lastpid == pid) { 364 lastpid = pid; 382 HX((pid = getpid()) == -1, pid); 383 HX((pid = getsid(pid)) == -1, pid); 384 HX((pid [all...] |
H A D | pty.cpp | 160 pid_t pid = fork(); local 161 if (pid == -1) { 167 if (pid == 0) { 180 return pid;
|
/bionic/tests/ |
H A D | pthread_dlfcn_test.cpp | 59 pid_t pid = fork(); local 61 ASSERT_NE(-1, pid) << strerror(errno); 63 if (pid == 0) { 74 AssertChildExited(pid, 0); 76 pid = fork(); 78 ASSERT_NE(-1, pid) << strerror(errno); 80 if (pid == 0) { 88 AssertChildExited(pid, 0); 102 pid_t pid = fork(); local 104 ASSERT_NE(-1, pid) << strerro [all...] |
H A D | sys_select_test.cpp | 52 static void DelayedWrite(int* pid, int* fd) { argument 56 if ((*pid = fork()) == 0) { 63 ASSERT_LT(0, *pid); 69 static void DelayedWriteCleanup(int pid, int fd) { argument 74 AssertChildExited(pid, 0); 115 int pid, fd; local 116 DelayedWrite(&pid, &fd); 125 DelayedWriteCleanup(pid, fd); 170 int pid, fd; local 171 DelayedWrite(&pid, [all...] |
H A D | utils.h | 131 static inline void AssertChildExited(int pid, int expected_exit_status) { argument 133 ASSERT_EQ(pid, waitpid(pid, &status, 0)); 174 pid_t pid = fork(); local 175 ASSERT_NE(pid, -1); 177 if (pid == 0) { 197 AssertChildExited(pid, expected_exit_status);
|
H A D | stdio_ext_test.cpp | 145 static void LockingByCallerHelper(std::atomic<pid_t>* pid) { argument 146 *pid = gettid(); 156 std::atomic<pid_t> pid(0); 158 reinterpret_cast<void* (*)(void*)>(LockingByCallerHelper), &pid)); 159 WaitUntilThreadSleep(pid);
|
/bionic/libc/kernel/uapi/linux/ |
H A D | if_pppol2tp.h | 27 __kernel_pid_t pid; member in struct:pppol2tp_addr 36 __kernel_pid_t pid; member in struct:pppol2tpin6_addr 45 __kernel_pid_t pid; member in struct:pppol2tpv3_addr 54 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
|
H A D | dlm_plock.h | 42 __u32 pid; member in struct:dlm_plock_info
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | if_pppol2tp.h | 27 __kernel_pid_t pid; member in struct:pppol2tp_addr 36 __kernel_pid_t pid; member in struct:pppol2tpin6_addr 45 __kernel_pid_t pid; member in struct:pppol2tpv3_addr 54 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
|
H A D | dlm_plock.h | 42 __u32 pid; member in struct:dlm_plock_info
|
/bionic/libc/include/android/ |
H A D | legacy_sys_wait_inlines.h | 41 static __inline pid_t wait4(pid_t pid, int* status, int options, struct rusage* rusage) { argument 42 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage));
|
/bionic/libc/kernel/uapi/linux/dvb/ |
H A D | net.h | 24 __u16 pid; member in struct:dvb_net_if 36 __u16 pid; member in struct:__dvb_net_if_old
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/dvb/ |
H A D | net.h | 24 __u16 pid; member in struct:dvb_net_if 36 __u16 pid; member in struct:__dvb_net_if_old
|
/bionic/tools/versioner/current/android/ |
H A D | legacy_sys_wait_inlines.h | 41 static __inline pid_t wait4(pid_t pid, int* status, int options, struct rusage* rusage) { argument 42 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage));
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
H A D | popen.c | 67 static struct pid { struct 68 struct pid *next; 73 pid_t pid; member in struct:pid 83 struct pid *cur, *old; 86 int pdes[2], pid, serrno; local 107 if ((cur = malloc(sizeof(struct pid))) == NULL) { 116 switch (pid = vfork()) { 177 cur->pid = pid; 193 struct pid *cu 195 pid_t pid; local [all...] |
/bionic/libc/upstream-openbsd/android/include/ |
H A D | arc4random.h | 59 pid_t pid = getpid(); local 61 if (_rs_pid == 0 || _rs_pid != pid || _rs_forked) { 62 _rs_pid = pid;
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | system.c | 44 pid_t pid, cpid; local 71 pid = waitpid(cpid, &pstat, 0); 72 } while (pid == -1 && errno == EINTR); 76 return (pid == -1 ? -1 : pstat);
|