/external/ltp/testcases/kernel/syscalls/kill/ |
kill10.c | 202 pid_t mypid = 0; variable 251 mypid, -child_checklist[cnt].pid); 260 mypid, child_signal_counter, num_pgrps); 298 mypid = getpid(); 303 printf("%d: setting SIGTRAP -> SIG_DFL\n", mypid); 306 printf("%d: setting SIGCONT -> SIG_DFL\n", mypid); 311 printf("%d: setting SIGALRM -> set_create_procs\n", mypid); 318 printf("%d: setting SIGUSR1 -> ack_ready\n", mypid); 325 printf("Master: %d\n", mypid); 330 mypid, pgrps_ready, num_pgrps) [all...] |
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/event/ |
event-pid.tc | 45 read mypid rest < /proc/self/stat 47 echo $mypid > set_event_pid 52 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l` 59 echo $mypid > set_event_pid 65 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
|
/external/ltp/testcases/kernel/syscalls/open/ |
open04.c | 41 static int fd, ifile, mypid, first; variable 88 mypid = getpid(); 90 sprintf(fname, "open04.%d", mypid); 106 sprintf(fname, "open04.%d.%d", ifile, mypid); 124 sprintf(fname, "open04.%d.%d", ifile, mypid);
|
open10.c | 76 pid_t mypid; local 89 mypid = getpid(); 90 sprintf(DIR_A, DIR_A_TEMP, mypid); 91 sprintf(DIR_B, DIR_B_TEMP, mypid);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
1-1.c | 72 pid_t mypid, hispid, ctlpid; local 77 mypid = getpid(); 79 output("Main pid: %d\n", mypid); 95 if (mypid != hispid) { 185 if (hispid == mypid) {
|
/external/ltp/testcases/kernel/syscalls/close/ |
close01.c | 105 int mypid; local 115 mypid = getpid(); 116 sprintf(fname, "fname.%d", mypid);
|
/external/ltp/testcases/kernel/syscalls/fork/ |
fork09.c | 60 static int mypid, nfiles; variable 80 mypid = getpid(); 85 sprintf(filname, "fork09.%d", mypid); 102 sprintf(filname, "file%d.%d", nfiles, mypid); 155 sprintf(filname, "file%d.%d", nf, mypid);
|
/external/ltp/testcases/kernel/syscalls/dup2/ |
dup201.c | 79 int mypid; variable 142 sprintf(fname, "dup201.%d.%d", j, mypid); 166 mypid = getpid();
|
/bionic/tests/ |
bug_26110743_test.cpp | 76 pid_t mypid = getpid(); local 78 ASSERT_NE(mypid, mytid); 79 snprintf(buf, sizeof(buf), "/proc/%d/task/%d/fd/%d", mypid, mytid, fd);
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
mknod02.c | 99 pid_t mypid; /* process id */ variable 217 mypid = getpid(); 220 sprintf(node_name, TNODE, mypid);
|
mknod03.c | 99 pid_t mypid; /* process id */ variable 216 mypid = getpid(); 219 sprintf(node_name, TNODE, mypid);
|
mknod04.c | 99 pid_t mypid; /* process id */ variable 218 mypid = getpid(); 221 sprintf(node_name, TNODE, mypid);
|
mknod05.c | 99 pid_t mypid; /* process id */ variable 210 mypid = getpid(); 213 sprintf(node_name, TNODE, mypid);
|
mknod08.c | 98 pid_t mypid; /* process id */ variable 214 mypid = getpid(); 217 sprintf(node_name, TNODE, mypid);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl01.c | 49 int mypid, i; local 61 mypid = getpid(); 63 sprintf(fname, "./fcntl%d.%d", i, mypid); 160 sprintf(fname, "./fcntl%d.%d", i, mypid);
|
/external/libcap/progs/ |
quicktest.sh | 126 mypid=\$\$ 127 caps=\$(./getpcaps \$mypid 2>&1 | /usr/bin/cut -d: -f2)
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
getdelays.c | 263 __u32 mypid; local 359 mypid = getpid(); 368 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, 384 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, 400 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, 523 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat08.c | 86 pid_t mypid; local 100 mypid = getpid(); 101 sprintf(DIR_A, DIR_A_TEMP, mypid); 102 sprintf(DIR_B, DIR_B_TEMP, mypid);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_sgi.h | 81 pid_t mypid, pid;
local 84 mypid = getpid();
87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) {
|
/external/syslinux/linux/ |
syslinux.c | 78 pid_t mypid; variable 147 (unsigned long)mypid, dev_fd); 161 (unsigned long)mypid, dev_fd); 276 mypid = getpid(); 355 (unsigned long)mypid, i);
|
/external/syslinux/mtools/ |
syslinux.c | 47 pid_t mypid; variable 207 mypid = getpid(); 281 (unsigned long)mypid,
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
seccomp_bpf.c | 1433 pid_t tracer, mytid, mypid, parent; local [all...] |
/frameworks/av/media/libaudioclient/ |
AudioRecord.cpp | 240 int mypid = getpid(); local 241 if (uid == AUDIO_UID_INVALID || (callingpid != mypid)) { 246 if (pid == -1 || (callingpid != mypid)) { [all...] |
/external/seccomp-tests/linux/ |
seccomp_bpf.c | 1379 pid_t tracer, mytid, mypid, parent; local [all...] |
/external/ppp/pppd/ |
sys-linux.c | 2174 pid_t mypid = getpid(); local [all...] |