HomeSort by relevance Sort by last modified time
    Searched defs:pid2 (Results 1 - 16 of 16) sorted by null

  /external/strace/
kcmp.c 35 pid_t pid2 = tcp->u_arg[1]; local
40 tprintf("%d, %d, ", pid1, pid2);
  /external/valgrind/none/tests/x86-solaris/
syscalls.c 21 static void check_pid(int pid, int pid2, const char *instr)
23 if (pid == pid2)
31 int pid, pid2, dummy; local
37 SYSCALL("syscall", SYS_getpid, pid2);
38 check_pid(pid, pid2, "syscall");
41 SYSCALL("sysenter", SYS_getpid, pid2);
42 check_pid(pid, pid2, "sysenter");
45 SYSCALL("int $0x80", SYS_getpid, pid2);
46 check_pid(pid, pid2, "int $0x80");
48 SYSCALL("int $0x81", SYS_getpid, pid2);
    [all...]
  /external/linux-kselftest/tools/testing/selftests/kcmp/
kcmp_test.c 22 static long sys_kcmp(int pid1, int pid2, int type, int fd1, int fd2)
24 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2);
30 int pid1, pid2; local
42 pid2 = fork();
43 if (pid2 < 0) {
48 if (!pid2) {
49 int pid2 = getpid(); local
59 printf("pid1: %6d pid2: %6d FD: %2ld FILES: %2ld VM: %2ld "
62 pid1, pid2,
63 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2)
    [all...]
  /external/linux-kselftest/tools/testing/selftests/powerpc/math/
fpu_syscall.c 54 pid_t pid2; local
60 pid2 = fork();
61 /* Can't FAIL_IF(pid2 == -1); because already forked once */
62 if (pid2 == -1) {
69 if (pid2)
70 waitpid(pid2, &child_ret, 0);
vmx_syscall.c 55 pid_t pid2; local
61 pid2 = fork();
63 /* Can't FAIL_IF(pid2 == -1); because we've already forked */
64 if (pid2 == -1) {
70 if (pid2)
71 waitpid(pid2, &child_ret, 0);
  /external/ltp/testcases/kernel/syscalls/fork/
fork02.c 57 int pid1, pid2, status; local
77 pid2 = wait(&status);
80 if (pid1 == pid2)
fork03.c 57 int pid1, pid2, status; local
90 pid2 = wait(&status); /* wait for child */
92 if (pid1 != pid2) {
94 pid1, pid2);
  /external/ltp/testcases/kernel/syscalls/kcmp/
kcmp03.c 42 static int pid2; variable
67 pid2 = getpid();
69 TEST(kcmp(pid1, pid2, *(int *)arg, 0, 0));
kcmp01.c 40 static int pid2; variable
44 int *pid2; member in struct:test_case
51 {&pid2, &pid2, KCMP_FILE, &fd1, &fd2, 0},
52 {&pid1, &pid2, KCMP_FILE, &fd1, &fd1, 0},
53 {&pid1, &pid2, KCMP_FILE, &fd1, &fd2, 0},
54 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1},
70 pid2 = getpid();
81 TEST(kcmp(*(test->pid1), *(test->pid2), test->type,
108 pid2 = SAFE_FORK()
    [all...]
kcmp02.c 51 int *pid2; member in struct:test_case
87 TEST(kcmp(*(test->pid1), *(test->pid2), test->type,
  /external/ltp/testcases/kernel/syscalls/kill/
kill06.c 77 pid_t pid1, pid2; local
104 pid2 = FORK_OR_VFORK();
105 if (pid2 < 0) {
107 } else if (pid2 == 0) {
kill08.c 77 pid_t pid1, pid2; local
104 pid2 = FORK_OR_VFORK();
105 if (pid2 < 0) {
107 } else if (pid2 == 0) {
kill02.c 161 int pid2; /*Return value from 2nd fork. Global so that it can be */ variable
235 if ((pid2 = FORK_OR_VFORK()) > 0) {
237 } else if (pid2 == 0) {
826 if (kill(pid2, SIGKILL) == -1 && errno != ESRCH)
  /external/elfutils/tests/
backtrace.c 258 prepare_thread (pid_t pid2 __attribute__ ((unused)),
267 l = ptrace (PTRACE_GETREGS, pid2, 0, (intptr_t) &user_regs);
271 l = ptrace (PTRACE_SETREGS, pid2, 0, (intptr_t) &user_regs);
274 l = ptrace (PTRACE_CONT, pid2, NULL, (void *) (intptr_t) SIGUSR2);
276 pid_t got = waitpid (pid2, &status, __WALL);
278 assert (got == pid2);
354 pid_t pid2 = waitpid (-1, &status, __WALL); local
356 assert (pid2 > 0);
357 assert (pid2 != pid);
414 prepare_thread (pid2, jmp)
    [all...]
  /toolchain/binutils/binutils-2.25/libiberty/testsuite/
test-pexecute.c 384 int pid1, pid2; local
405 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp",
407 if (pid2 < 0)
419 if (pwait (pid2, &status, 0) < 0)
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalSource.java 227 PathId pid2 = list.get(j); local
228 int curId = Integer.parseInt(pid2.path.getSuffix());
238 PathId pid2 = list.get(k); local
239 consumer.consume(pid2.id, items[k - i]);

Completed in 5831 milliseconds