Searched defs:pid (Results 1 - 25 of 43) sorted by relevance

12

/bionic/libc/bionic/
H A Dsigqueue.cpp36 int sigqueue(pid_t pid, int signo, const sigval value) { argument
45 return ___rt_sigqueueinfo(pid, signo, &info);
H A Dclock_getcpuclockid.cpp34 int clock_getcpuclockid(pid_t pid, clockid_t* clockid) { argument
38 clockid_t result = ~static_cast<clockid_t>(pid) << 3;
H A Dsched_getaffinity.cpp35 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 Dptrace.cpp32 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 Dwait.cpp38 pid_t waitpid(pid_t pid, int* status, int options) { argument
39 return wait4(pid, status, options, NULL);
H A Dtermios.cpp109 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 Dlegacy_32_bit_support.cpp116 int prlimit(pid_t pid, int resource, const rlimit* n32, rlimit* o32) { argument
124 int result = prlimit64(pid, resource,
H A Dpty.cpp161 pid_t pid = fork(); local
162 if (pid == -1) {
168 if (pid == 0) {
181 return pid;
H A Dgetentropy_linux.c366 pid_t pid; local
370 pid = getpid();
371 if (lastpid == pid) {
376 lastpid = pid;
394 HX((pid = getpid()) == -1, pid);
395 HX((pid = getsid(pid)) == -1, pid);
396 HX((pid
[all...]
/bionic/libc/upstream-openbsd/android/include/
H A Darc4random.h64 pid_t pid = getpid(); local
66 if (_rs_pid == 0 || _rs_pid != pid || _rs_forked) {
67 _rs_pid = pid;
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dsystem.c44 pid_t pid, cpid; local
71 pid = waitpid(cpid, &pstat, 0);
72 } while (pid == -1 && errno == EINTR);
76 return (pid == -1 ? -1 : pstat);
/bionic/tests/
H A Dpty_test.cpp52 pid_t pid = forkpty(&master, NULL, NULL, NULL); local
53 ASSERT_NE(-1, pid);
55 if (pid == 0) {
63 AssertChildExited(pid, 0);
H A Dstdio_ext_test.cpp145 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);
H A Dsys_select_test.cpp52 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 Dpthread_dlfcn_test.cpp54 pid_t pid = fork(); local
56 ASSERT_NE(-1, pid) << strerror(errno);
58 if (pid == 0) {
69 AssertChildExited(pid, 0);
71 pid = fork();
73 ASSERT_NE(-1, pid) << strerror(errno);
75 if (pid == 0) {
83 AssertChildExited(pid, 0);
H A Dutils.h115 static inline void AssertChildExited(int pid, int expected_exit_status) { argument
117 ASSERT_EQ(pid, waitpid(pid, &status, 0));
H A Dstdlib_test.cpp321 pid_t pid = fork(); local
322 ASSERT_NE(-1, pid) << strerror(errno);
324 if (pid == 0) {
328 AssertChildExited(pid, 99);
347 pid_t pid = fork(); local
348 ASSERT_NE(-1, pid) << strerror(errno);
350 if (pid == 0) {
357 AssertChildExited(pid, 99);
361 pid_t pid = fork(); local
362 ASSERT_NE(-1, pid) << strerro
[all...]
/bionic/libc/kernel/uapi/linux/dvb/
H A Dnet.h24 __u16 pid; member in struct:dvb_net_if
36 __u16 pid; member in struct:__dvb_net_if_old
H A Dca.h67 unsigned int pid; member in struct:ca_pid
/bionic/libc/kernel/uapi/linux/
H A Ddlm_plock.h42 __u32 pid; member in struct:dlm_plock_info
H A Dif_pppol2tp.h24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
H A Dagpgart.h75 __kernel_pid_t pid; member in struct:_agp_region
H A Dauto_fs4.h76 __u32 pid; member in struct:autofs_v5_packet
H A Ddlm_device.h59 __u32 pid; member in struct:dlm_purge_params
/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dpopen.c67 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...]

Completed in 442 milliseconds

12