/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
kill.c | 8 int kill(pid_t pid, int sig) { 9 return ki_kill(pid, sig);
|
killpg.c | 8 int killpg(pid_t pid, int sig) { 9 return ki_killpg(pid, sig);
|
/frameworks/base/core/java/android/app/ |
IProcessObserver.aidl | 22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); 23 void onImportanceChanged(int pid, int uid, int importance); 24 void onProcessDied(int pid, int uid);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowProcess.java | 9 private static Integer pid; field in class:ShadowProcess 13 if (pid != null) { 14 return pid; 19 public static void setPid(int pid) { 20 ShadowProcess.pid = pid; 24 ShadowProcess.pid = null;
|
/external/openssh/openbsd-compat/ |
bsd-waitpid.c | 33 waitpid(int pid, int *stat_loc, int options) 38 if (pid <= 0) { 39 if (pid != -1) { 43 /* wait4() wants pid=0 for indiscriminate wait. */ 44 pid = 0; 46 wait_pid = wait4(pid, &statusp, options, NULL);
|
/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);
|
/frameworks/base/core/java/android/net/ |
Credentials.java | 24 /** pid of process. root peers may lie. */ 25 private final int pid; field in class:Credentials 31 public Credentials (int pid, int uid, int gid) { 32 this.pid = pid; 38 return pid;
|
/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 + "]";
|
/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) {
|
/external/chromium/chrome/browser/net/ |
url_request_tracking.cc | 13 // PID. 18 explicit OriginPidData(int pid) : pid_(pid) {} 21 int pid() const { return pid_; } function in class:__anon1999::OriginPidData 22 void set_pid(int pid) { pid_ = pid; } 34 void SetOriginPIDForRequest(int pid, net::URLRequest* request) { 36 request->SetUserData(&kOriginPidKey, new OriginPidData(pid)); 44 return data->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);
|
IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
sched_getscheduler.c | 42 sched_getscheduler (pid_t pid) 49 if (0 != pid) 53 if (pid != selfPid) 56 OpenProcess (PROCESS_QUERY_INFORMATION, PTW32_FALSE, (DWORD) pid);
|
sched_setscheduler.c | 42 sched_setscheduler (pid_t pid, int policy) 51 if (0 != pid) 55 if (pid != selfPid) 58 OpenProcess (PROCESS_SET_INFORMATION, PTW32_FALSE, (DWORD) pid);
|
/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);
|
/external/dhcpcd/dhcpcd-hooks/ |
50-yp.conf | 6 [ -s /var/run/ypbind.pid ] && cat /var/run/ypbind.pid 12 local cf=/etc/yp.conf."$interface" prefix= x= pid= 31 pid="$(ypbind_pid)" 32 if [ -n "$pid" ]; then 33 kill -HUP "$pid" 41 local pid="$(ypbind_pid)" 42 if [ -n "$pid" ]; then 43 kill -HUP "$pid"
|
/external/chromium_org/base/process/ |
process_handle_posix.cc | 19 bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { 22 *handle = pid; 26 bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { 29 return OpenProcessHandle(pid, handle); 32 bool OpenProcessHandleWithAccess(ProcessId pid, 37 return OpenProcessHandle(pid, handle);
|
/system/vold/ |
Process.h | 24 static int checkSymLink(int pid, const char *path, const char *name); 25 static int checkFileMaps(int pid, const char *path); 26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 27 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint); 28 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max); 29 static void getProcessName(int pid, char *buffer, size_t max);
|
/external/bison/lib/ |
waitpid.c | 27 waitpid (pid_t pid, int *statusp, int options) 29 return _cwait (statusp, pid, WAIT_CHILD);
|
/external/chromium/chrome/browser/ |
load_from_memory_cache_details.cc | 9 int pid, 13 pid_(pid),
|
/external/dnsmasq/contrib/dnsmasq_MacOSX/ |
DNSmasq | 11 pid=`GetPID dnsmasq` 13 kill $pid
|
/external/linux-tools-perf/scripts/perl/bin/ |
rw-by-pid-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl
|
/system/core/include/cutils/ |
iosched_policy.h | 31 extern int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio); 32 extern int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio);
|
/bionic/libc/bionic/ |
daemon.c | 34 pid_t pid; local 56 pid = fork(); 57 if (pid < 0) 60 if (pid > 0)
|