/external/strace/linux/sparc64/ |
set_error.c | 6 return set_regs(tcp->pid); 14 return set_regs(tcp->pid);
|
/external/strace/ |
strace-graph | 48 my ($pid, $call, $args, $result, $time, $time_spent); 53 $pid = $1; 67 $unfinished{$pid} = $_; 72 unless (exists $unfinished{$pid}) { 76 $_ = $unfinished{$pid} . $_; 77 delete $unfinished{$pid}; 81 # $pid received signal $1 87 # $pid received signal $1 88 handle_killed($pid, $time); 93 # $pid exited $ [all...] |
upeek.c | 44 val = ptrace(PTRACE_PEEKUSER, (pid_t) tcp->pid, (void *) off, 0); 47 perror_msg("upeek: PTRACE_PEEKUSER pid:%d @0x%lx)", 48 tcp->pid, off);
|
/external/webrtc/webrtc/base/ |
posix.cc | 47 pid_t pid = fork(); local 48 if (pid < 0) { 51 } else if (!pid) { 71 pid = fork(); 75 if (pid < 0) { 78 } else if (!pid) { 96 pid_t child = waitpid(pid, &status, 0); 101 if (child != pid) {
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
ProcessInfo.h | 29 virtual bool getPriority(int pid, int* priority); 30 virtual bool isValidPid(int pid);
|
/frameworks/base/core/java/android/os/ |
ISchedulingPolicyService.aidl | 29 * The thread group leader of tid must be pid. 32 int requestPriority(int pid, int tid, int prio, boolean isForApp);
|
/frameworks/base/core/java/android/service/vr/ |
IVrListener.aidl | 23 void focusedActivityChanged(in ComponentName component, boolean running2dInVr, int pid);
|
/frameworks/native/services/nativeperms/android/os/ |
IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid);
|
/hardware/interfaces/memtrack/1.0/ |
IMemtrack.hal | 41 * combination of pid and memory type. For each memory type that it 45 * getMemory(<pid>, GL) might return: 60 * @param pid process for which memory information is requested 66 getMemory(int32_t pid, MemtrackType type)
|
/system/libhidl/transport/base/1.0/ |
types.hal | 21 * pid: pid of current process. -1 if not available. 33 int32_t pid;
|
/toolchain/binutils/binutils-2.27/libiberty/ |
pexecute.c | 78 /* Instead of a PID, we just return a one-based index into the 85 pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED) 87 /* The PID returned by pexecute is one-based. */ 88 --pid; 90 if (pex == NULL || pid < 0 || pid >= idx) 93 if (pid == 0 && idx == 1) 108 *status = vector[pid]; 116 if (pid + 1 == idx) 123 return pid + 1 [all...] |
waitpid.c | 3 @deftypefn Supplemental int waitpid (int @var{pid}, int *@var{status}, int) 6 values of @var{pid} depend on your implementation of @code{wait}, as 27 waitpid (pid_t pid, int *stat_loc, int options ATTRIBUTE_UNUSED) 32 if (wpid == pid || wpid == -1)
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
ProcessInfo.java | 20 * Used to store process related(USER, PID and NAME) information. 33 * @param pid process id number 36 ProcessInfo(String user, int pid, String name) { 38 mPid = pid;
|
/external/v8/tools/testrunner/server/ |
daemon.py | 39 pid = os.fork() 40 if pid > 0: 54 pid = os.fork() 55 if pid > 0: 75 pid = str(os.getpid()) 76 file(self.pidfile, 'w+').write("%s\n" % pid) 88 pid = int(pf.read().strip()) 91 pid = None 93 if pid: 106 # Get the pid from the pidfil [all...] |
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
VmTraces.java | 33 public ProcessSnapshot getProcess(int pid) { 35 if (process.pid == pid) { 42 public ThreadSnapshot getThread(int pid, String name) { 43 final ProcessSnapshot process = getProcess(pid);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
signal_during_stop_the_world.cc | 26 pid_t pid = fork(); local 27 if (pid < 0) { 31 if (pid == 0) { 46 kill(pid, SIGTERM); 47 waitpid(pid, 0, 0);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
dscr_inherit_test.c | 26 pid_t pid; local 43 pid = fork(); 44 if (pid == -1) { 47 } else if (pid) { 50 if (waitpid(pid, &status, 0) == -1) {
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
skew_consistency.c | 46 pid_t pid; local 51 pid = fork(); 52 if (!pid) 58 while (pid != waitpid(pid, &ret, WNOHANG)) {
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat07.c | 37 pid_t pid; local 39 pid = SAFE_FORK(); 40 if (pid == 0) { 59 SAFE_KILL(pid, SIGKILL); 60 SAFE_WAITPID(pid, NULL, 0);
|
/external/ltp/testcases/kernel/syscalls/fork/ |
fork06.c | 55 int i, pid, status, childpid, succeed, fail; local 69 pid = fork(); 70 if (pid == -1) { 75 if (pid == 0) 79 if (pid != childpid) 80 tst_resm(TFAIL, "pid from wait %d", childpid);
|
fork11.c | 23 * Test that parent gets a pid from each child when doing wait 54 int i, pid, cpid, status; local 66 pid = fork(); 67 if (pid == 0) 70 if (pid > 0) { /* parent */ 72 if (cpid != pid)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
1-2.c | 9 * specified by pid when the process specified by pid is not the calling 13 * pid of the child. 44 int pid; local 59 pid = fork(); 60 if (pid == 0) { 80 } else if (pid > 0) { 85 if (kill(pid, SIGTOTEST) != 0) {
|
/external/perfetto/src/traced/probes/ |
process_stats_data_source.cc | 31 // The notion of PID in the Linux kernel is a bit confusing. 32 // - PID: is really the thread id (for the main thread: PID == TID). 33 // - TGID (thread group ID): is the Unix Process ID (the actual PID). 34 // - PID == TGID for the main thread: the TID of the main thread is also the PID 36 // So, in this file, |pid| might refer to either a process id or a thread id. 90 while (int32_t pid = ReadNextNumericDir(*proc_dir)) { 91 WriteProcessOrThread(pid); 93 sprintf(task_path, "/proc/%d/task", pid); [all...] |
/external/strace/tests/ |
kill.c | 58 const int pid = getpid(); local 59 long rc = syscall(__NR_kill, pid, (long) 0xdefaced00000000ULL | SIGALRM); 60 printf("kill(%d, SIGALRM) = %ld\n", pid, rc); 68 rc = syscall(__NR_kill, (long) 0xdefaced00000000ULL | pid, 0); 69 printf("kill(%d, SIG_0) = %ld\n", pid, rc);
|
qual_signal.c | 37 static pid_t pid; variable 59 if (kill(pid, signo)) 60 perror_msg_and_fail("kill(%d, %d)", pid, signo); 65 name, name, pid, uid); 73 pid = getpid();
|