/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);
|
/external/ltrace/testsuite/ltrace.minor/ |
trace-fork.c | 20 pid_t pid; local 21 pid = fork (); 23 if (pid == -1) 25 else if (pid == 0) 29 printf("My child pid is %d\n",pid);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
BindingManager.java | 33 * @param pid handle of the service process 35 void addNewConnection(int pid, ChildProcessConnection connection); 39 * @param pid handle of the service process 42 void setInForeground(int pid, boolean inForeground); 68 boolean isOomProtected(int pid); 75 void clearConnection(int pid);
|
/frameworks/base/core/java/android/app/ |
IProcessObserver.aidl | 22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); 23 void onProcessStateChanged(int pid, int uid, int procState); 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/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;
|
/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) {
|
/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/test/lsan/TestCases/ |
fork.cc | 16 pid_t pid = fork(); local 17 assert(pid >= 0); 18 if (pid > 0) { 19 waitpid(pid, &status, 0);
|
/libcore/luni/src/main/java/android/system/ |
StructUcred.java | 28 public final int pid; field in class:StructUcred 36 public StructUcred(int pid, int uid, int gid) { 37 this.pid = pid;
|
/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/lldb/tools/debugserver/source/ |
DNB.h | 46 nub_process_t DNBProcessAttach (nub_process_t pid, struct timespec *timeout, char *err_str, size_t err_len) DNB_EXPORT; 57 nub_bool_t DNBProcessResume (nub_process_t pid, const DNBThreadResumeAction *actions, size_t num_actions) DNB_EXPORT; 58 nub_bool_t DNBProcessHalt (nub_process_t pid) DNB_EXPORT; 59 nub_bool_t DNBProcessDetach (nub_process_t pid) DNB_EXPORT; 60 nub_bool_t DNBProcessSignal (nub_process_t pid, int signal) DNB_EXPORT; 61 nub_bool_t DNBProcessKill (nub_process_t pid) DNB_EXPORT; 62 nub_size_t DNBProcessMemoryRead (nub_process_t pid, nub_addr_t addr, nub_size_t size, void *buf) DNB_EXPORT; 63 nub_size_t DNBProcessMemoryWrite (nub_process_t pid, nub_addr_t addr, nub_size_t size, const void *buf) DNB_EXPORT; 64 nub_addr_t DNBProcessMemoryAllocate (nub_process_t pid, nub_size_t size, uint32_t permissions) DNB_EXPORT; 65 nub_bool_t DNBProcessMemoryDeallocate (nub_process_t pid, nub_addr_t addr) DNB_EXPORT [all...] |
/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);
|
/external/lldb/tools/debugserver/scripts/ |
diagnose-termination.d | 3 printf("pid %d got an exception of type %d\n", pid, arg1); 10 printf("pid %d called kill(%d, %d)\n", pid, arg0, arg1); 16 printf("pid %d called pthread_kill(%p, %d)\n", pid, arg0, arg1);
|
/system/vold/ |
Process.h | 26 static int checkSymLink(int pid, const char *path, const char *name); 27 static int checkFileMaps(int pid, const char *path); 28 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 29 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint); 30 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max); 31 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/dnsmasq/contrib/dnsmasq_MacOSX/ |
DNSmasq | 11 pid=`GetPID dnsmasq` 13 kill $pid
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/bin/ |
rw-by-pid-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl
|
/external/strace/test/ |
sigkill_rain.c | 15 int pid; local 34 pid = fork(); 36 if (pid < 0) 39 if (!pid) { 45 pid = fork(); 47 if (pid < 0) 50 if (!pid) { 73 kill(pid, SIGKILL);
|