HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 1 - 25 of 892) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/none/tests/
fork.c 9 pid_t pid; local
11 pid = fork ();
18 printf("%s", pid==0 ? "X" : "XX");
20 if (pid != 0)
21 waitpid(pid, NULL, 0);
res_search.c 27 pthread_t pid; local
42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1]))
48 pthread_join(pid, 0);
syscall-restart1.c 17 int pid; local
25 pid = fork();
27 if (pid == -1) {
32 if (pid == 0) {
54 kill(pid, SIGUSR1);
59 waitpid(pid, NULL, 0);
syscall-restart2.c 17 int pid; local
25 pid = fork();
27 if (pid == -1) {
32 if (pid == 0) {
54 kill(pid, SIGUSR1);
58 waitpid(pid, NULL, 0);
  /bionic/libc/bionic/
daemon.c 34 pid_t pid; local
56 pid = fork();
57 if (pid < 0)
60 if (pid > 0)
  /external/compiler-rt/lib/lsan/lit_tests/TestCases/
fork.cc 16 pid_t pid = fork(); local
17 assert(pid >= 0);
18 if (pid > 0) {
19 waitpid(pid, &status, 0);
  /system/extras/tests/cpueater/
cpueater.c 16 * Simple cpu eater busy loop. Runs as a daemon. prints the child PID to
30 pid_t pid; local
45 switch(pid = fork()) {
69 printf("%d\n", pid);
  /external/compiler-rt/lib/msan/lit_tests/
ptrace.cc 12 pid_t pid; local
13 pid = fork();
14 if (pid == 0) { // child
21 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs);
27 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
32 ptrace(PTRACE_CONT, pid, NULL, NULL);
  /external/valgrind/main/gdbserver_tests/
fork_chain.c 8 int pid; local
12 pid = fork();
13 if (pid == -1) {
18 if (pid == 0) {
25 while((ret = waitpid(pid, &status, 0)) != pid) {
clean_after_fork.c 8 int mem = 0, pid; local
9 pid = fork();
10 if (pid == -1) {
16 if (pid == 0) {
26 while((ret = waitpid(pid, &status, 0)) != pid) {
  /system/core/toolbox/
ionice.c 14 int pid; local
17 fprintf(stderr, "usage: ionice <pid> [none|rt|be|idle] [prio]\n");
21 if (!(pid = atoi(argv[1]))) {
22 fprintf(stderr, "Invalid pid specified\n");
27 if (android_get_ioprio(pid, &clazz, &ioprio)) {
31 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio);
50 printf("Setting pid %d i/o class to %d, prio %d\n", pid, clazz, ioprio);
51 if (android_set_ioprio(pid, clazz, ioprio))
    [all...]
  /external/chromium_org/base/process/
process_handle_linux.cc 13 ProcessId pid = local
15 if (pid)
16 return pid;
process_info_linux.cc 17 ProcessHandle pid = GetCurrentProcessHandle(); local
19 pid, internal::VM_STARTTIME);
  /external/chromium_org/base/test/
multiprocess_test_android.cc 24 pid_t pid = fork(); local
26 if (pid < 0) {
30 if (pid > 0) {
32 return pid;
  /external/chromium_org/chrome/browser/metro_utils/
metro_chrome_win.cc 43 unsigned long pid = 0; local
47 &pid);
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
thread_lister.c 55 pid_t pid; local
63 pid = getpid();
64 rc = callback(parameter, 1, &pid, ap);
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
thread_lister.c 55 pid_t pid; local
63 pid = getpid();
64 rc = callback(parameter, 1, &pid, ap);
  /external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
ptrace.cc 13 pid_t pid; local
14 pid = fork();
15 if (pid == 0) { // child
26 res = ptrace(PTRACE_GETREGS, pid, NULL, pregs);
37 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
43 res = ptrace(PTRACE_GETFPXREGS, pid, NULL, &fpxregs);
48 ptrace(PTRACE_CONT, pid, NULL, NULL);
  /external/oprofile/libutil/
op_lockfile.c 3 * PID-based lockfile management
47 pid_t pid = op_read_lock_file(file); local
50 if (kill(pid, 0)) {
  /external/qemu/hw/
goldfish_nand.h 22 int pid; member in struct:__anon27202
  /libcore/luni/src/main/java/libcore/io/
StructUcred.java 24 public final int pid; field in class:StructUcred
32 private StructUcred(int pid, int uid, int gid) {
33 this.pid = pid;
39 return "StructUcred[pid=" + pid + ",uid=" + uid + ",gid=" + gid + "]";
  /sdk/emulator/opengl/tests/ut_renderer/
Renderer.h 31 unsigned int pid; member in class:Renderer::ClientHandle
33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_handle) {}
36 bool val = (pid == p.pid) ? handle < p.handle : pid < p.pid;
  /system/extras/tests/bionic/libc/common/
test_executable_destructor.c 61 pid_t pid; local
80 pid = fork();
81 if (pid < 0) {
86 if (pid == 0) {
  /bionic/libc/unistd/
system.c 43 pid_t pid; local
57 switch (pid = vfork()) {
69 pid = waitpid(pid, (int *)&pstat, 0);
73 return (pid == -1 ? -1 : pstat);
  /external/chromium/base/debug/
profiler.cc 26 std::string pid = StringPrintf("%d", GetCurrentProcId()); local
28 ReplaceSubstringsAfterOffset(&full_name, 0, "{pid}", pid);

Completed in 912 milliseconds

1 2 3 4 5 6 7 8 91011>>