/external/strace/ |
signal.c | 866 sprintf(sname, "/proc/%d/status", tcp->pid); 881 fprintf(stderr, "/proc/pid/status format error\n"); 889 fprintf(stderr, "/proc/pid/status format error\n"); 905 if (upeek(tcp->pid, uoff(u_signal[0]) + sig*sizeof(u_signal), 949 kill(tcp->pid, SIGSTOP); 956 kill(tcp->pid, SIGSTOP); 963 kill(tcp->pid, SIGSTOP); 1042 kill(tcp->pid, SIGSTOP); 1118 kill(tcp->pid, SIGSTOP); 1127 kill(tcp->pid, SIGSTOP) [all...] |
/external/valgrind/main/coregrind/ |
launcher-aix5.c | 85 pid_t pid; member in struct:__anon12101 98 r = ptrace64( PT_READ_BLOCK, (ULong)ch->pid, rsrc, len, ldst ); 112 r = ptrace64( PT_WRITE_BLOCK, (ULong)child->pid, rdst, len, lsrc ); 128 (ULong)child->pid, (ULong)reg, 8, (Int*)(&w64) ); 132 (ULong)child->pid, (ULong)reg, 0, 0 ); 151 (ULong)child->pid, (ULong)reg, 8, (Int*)&w64 ); 156 (ULong)child->pid, (ULong)reg, w32, 0 ); 607 /proc/<pid>/maps, doesn't point into the loaded object image. It 610 /proc/<pid>/maps, they are respectively the actual VMAs of the text 711 /proc/<pid>/sysent file. * [all...] |
/external/chromium/base/ |
process_util_linux.cc | 34 // Reads /proc/<pid>/stat and populates |proc_stats| with the values split by 36 bool GetProcStats(pid_t pid, std::vector<std::string>* proc_stats) { 41 stat_file = stat_file.Append(base::IntToString(pid)); 50 // Reads /proc/<pid>/cmdline and populates |proc_cmd_line_args| with the command 52 // Note: /proc/<pid>/cmdline contains command line arguments separated by single 55 bool GetProcCmdline(pid_t pid, std::vector<std::string>* proc_cmd_line_args) { 60 cmd_line_file = cmd_line_file.Append(base::IntToString(pid)); 73 int GetProcessCPU(pid_t pid) { 77 // Use /proc/<pid>/task to find all threads and parse their /stat file. 78 FilePath path = FilePath(StringPrintf("/proc/%d/task/", pid)); 201 int pid; local [all...] |
/system/core/init/ |
init.c | 149 pid_t pid; local 191 pid = fork(); 193 if (pid == 0) { 221 ERROR("Failed to set pid %d ioprio = %d,%d: %s\n", 289 if (pid < 0) { 291 svc->pid = 0; 296 svc->pid = pid; 324 if (svc->pid) { 326 kill(-svc->pid, SIGKILL) [all...] |
/system/vold/ |
CommandListener.cpp | 232 int pid = Process::getPid(de->d_name); local 234 if (pid < 0) { 239 Process::getProcessName(pid, processName, sizeof(processName)); 241 if (Process::checkFileDescriptorSymLinks(pid, argv[2]) || 242 Process::checkFileMaps(pid, argv[2]) || 243 Process::checkSymLink(pid, argv[2], "cwd") || 244 Process::checkSymLink(pid, argv[2], "root") || 245 Process::checkSymLink(pid, argv[2], "exe")) { 248 snprintf(msg, sizeof(msg), "%d %s", pid, processName);
|
/external/mksh/src/ |
jobs.c | 43 pid_t pid; /* process id */ member in struct:proc 53 #define JP_LONG 3 /* print [job-num] -/+ pid command */ 82 pid_t ppid; /* pid of process that forked job */ 105 #define JL_INVALID 3 /* non-pid, non-% job id */ 365 pi.p->pid = 0; 372 "exchild: XPIPEI and no last_job - pid %d", 415 pi.p->pid = pi.cldpid ? pi.cldpid : (procpid = getpid()); 428 pi.j->pgrp = pi.p->pid; 435 setpgid(pi.p->pid, pi.j->pgrp); 522 (int)pi.p->pid); 1118 pid_t pid; local [all...] |
/external/clang/tools/scan-build/ |
c++-analyzer | 122 my $pid = fork(); 123 if ($pid == 0) { 136 waitpid($pid,0); 229 my $pid = fork(); 230 if ($pid == 0) { 245 waitpid($pid,0);
|
ccc-analyzer | 122 my $pid = fork(); 123 if ($pid == 0) { 136 waitpid($pid,0); 229 my $pid = fork(); 230 if ($pid == 0) { 245 waitpid($pid,0);
|
/frameworks/base/core/jni/ |
android_os_Debug.cpp | 227 static void load_maps(int pid, stats_t* stats) 232 sprintf(tmp, "/proc/%d/smaps", pid); 241 jint pid, jobject object) 246 load_maps(pid, stats); 282 static jlong android_os_Debug_getPssPid(JNIEnv *env, jobject clazz, jint pid) 291 sprintf(tmp, "/proc/%d/smaps", pid);
|
android_database_SQLiteDebug.cpp | 153 static void load_maps(int pid, int *sharedPages, int *privatePages) 158 sprintf(tmp, "/proc/%d/smaps", pid);
|
/frameworks/base/services/java/com/android/server/am/ |
ActivityManagerService.java | 348 * All of the processes we currently have running organized by pid. 349 * The keys are the pid running the application. 358 * is the pid of the caller who requested it (we hold a death 362 int pid; field in class:ActivityManagerService.ForegroundToken 601 public int pid; field in class:ActivityManagerService.Identity 605 pid = _pid; 802 AppDeathRecipient(ProcessRecord app, int pid, 808 mPid = pid; 2932 int pid = r.pid; local 3056 int pid = Binder.getCallingPid(); local 3465 int pid = app.pid; local 3489 final int pid = app.pid; local 7505 int pid = r != null ? r.pid : Binder.getCallingPid(); local 9121 int pid = -1; local 14018 int pid = Integer.parseInt(process); local 14095 int pid = Integer.parseInt(process); local [all...] |
/external/blktrace/ |
blktrace.h | 115 t->pid = be32_to_cpu(t->pid);
|
/external/chromium/chrome/browser/automation/ |
automation_resource_message_filter.h | 172 RendererId(int pid, int id) : pid_(pid), id_(id) {}
|
/external/chromium/chrome/browser/chromeos/cros/ |
input_method_library.cc | 669 const base::ProcessId pid = base::GetProcId(handle); local 670 g_child_watch_add(pid, 675 VLOG(1) << command_line << " (PID=" << pid << ") is started"; local 716 static void OnImeShutdown(GPid pid, 720 base::GetProcId(library->ibus_daemon_process_handle_) == pid) { 737 const base::ProcessId pid = base::GetProcId(ibus_daemon_process_handle_); local 740 << "PID " << pid; 743 VLOG(1) << "ibus-daemon (PID=" << pid << ") is terminated" [all...] |
/external/chromium/chrome/browser/ssl/ |
ssl_policy.cc | 222 void SSLPolicy::OriginRanInsecureContent(const std::string& origin, int pid) { 225 backend_->HostRanInsecureContent(parsed_origin.host(), pid);
|
/external/dbus/tools/ |
dbus-launch.c | 317 pid_t pid) 319 do_write (fd, &pid, sizeof (pid)); 323 do_waitpid (pid_t pid) 328 ret = waitpid (pid, NULL, 0); 550 int read_bus_pid_fd) /* read pid from here */ 626 verbose ("Reading PID from bus\n"); 633 fprintf (stderr, "EOF in dbus-launch reading PID from bus daemon\n"); 637 fprintf (stderr, "Error in dbus-launch reading PID from bus daemon: %s\n", 643 verbose ("Got PID %ld from daemon\n" [all...] |
/external/dhcpcd/ |
common.c | 214 writepid(int fd, pid_t pid) 221 snprintf(spid, sizeof(spid), "%u\n", pid);
|
/external/kernel-headers/original/linux/netfilter/ |
nfnetlink.h | 168 extern int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, 170 extern int nfnetlink_unicast(struct sk_buff *skb, u_int32_t pid, int flags);
|
/external/llvm/lib/VMCore/ |
Pass.cpp | 28 Pass::Pass(PassKind K, char &pid) : Resolver(0), PassID(&pid), Kind(K) { }
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
NetscapePluginHostManager.mm | 281 pid_t pid; 293 int result = posix_spawn(&pid, args[0], 0, &attr, const_cast<char* const*>(args), 0); 296 if (!result && pid > 0) { 298 while (waitpid(pid, 0, 0) == -1) { }
|
/frameworks/base/cmds/screenshot/ |
screenshot.c | 92 pid_t pid = fork(); local 93 if (pid == 0) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaTestUtil.java | 79 String pid = poList2[1]; local 80 pidvalue = Integer.parseInt(pid); 81 Log.v(TAG, "PID = " + pidvalue);
|
/frameworks/base/test-runner/src/android/test/ |
IsolatedContext.java | 106 Uri uri, String readPermission, String writePermission, int pid, 112 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) {
|
/external/bluetooth/bluez/cups/ |
hcrp.c | 54 uint16_t pid; member in struct:hcrp_pdu_hdr 90 hdr.pid = htons(HCRP_PDU_CREDIT_GRANT); 122 hdr.pid = htons(HCRP_PDU_CREDIT_REQUEST); 155 hdr.pid = htons(HCRP_PDU_GET_LPT_STATUS);
|
/external/bluetooth/glib/glib/ |
gspawn.h | 135 void g_spawn_close_pid (GPid pid);
|