/external/toybox/lib/ |
xwrap.c | 145 // return: pid of child process 148 int cestnepasun[4], pid; local 153 for (pid = 0; pid < 2; pid++) { 154 if (pipes[pid] == -1) continue; 155 if (pipe(cestnepasun+(2*pid))) perror_exit("pipe"); 156 pipes[pid] = cestnepasun[pid+1]; 161 if (!(pid = xfork())) 214 int pipes[2], pid; local 585 pid_t pid; local [all...] |
/external/toybox/toys/pending/ |
crond.c | 48 pid_t pid; member in struct:_job 334 if (jlist->pid > 0) { 424 pid_t pid = vfork(); local 426 if (pid == 0) { 465 if (pid < 0) { 467 pid = 0; 470 job->pid = pid; 476 pid_t pid = job->pid; local [all...] |
/external/v8/src/ |
d8-posix.cc | 146 explicit ZombieProtector(int pid): pid_(pid) { } 366 int pid, 378 waitid(P_PID, pid, &child_info, WEXITED | WNOHANG | WNOWAIT); 385 kill(pid, SIGINT); 411 waitpid(pid, &child_status, 0); // We hang here if the child doesn't exit. 488 pid_t pid = fork(); local 489 if (pid == 0) { // Child process. 495 ZombieProtector child_waiter(pid); 509 kill(pid, SIGINT); // On timeout, kill the subprocess [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
remote-utils.c | 114 /* only this pid will remove the FIFOs: if an exec fails, we must avoid 304 -from-vgdb-to-pid-by-user-on-host and -to-vgdb-from-pid-by-user-on-host 305 with pid being the pidnr of the valgrind process These two FIFOs 319 const int pid = VG_(getpid)(); local 347 pid, user, host); 349 pid, user, host); 351 pid, user, host); 360 " %s/../../bin/vgdb%s%s --pid=%d ...command...\n", 364 pid); 512 const int pid = VG_(getpid)(); local [all...] |
server.c | 927 unsigned long pid; local 936 /* Reject any annex with invalid/unexpected pid */ 938 pid = strtoul (annex, NULL, 16); 940 pid = 0; 941 if ((int)pid != VG_(getpid)() && pid != 0) { 943 "E.Valgrind gdbserver pid is %d." 944 " Cannot give info for pid %d", 945 VG_(getpid)(), (int) pid); 956 " resolve pid %d exec filename." [all...] |
target.c | 64 void valgrind_update_threads (int pid) 88 in gdb: once with pid xxx lwpid 0, then after that 89 with pid xxx lwpid yyy. */ 269 int pid; local 275 pid = VG_(getpid) (); 276 dlog(1, "enter valgrind_wait pid %d\n", pid); 279 valgrind_update_threads(pid);
|
/external/valgrind/coregrind/ |
m_options.c | 205 // Print the PID. Assume that it's not longer than 10 chars -- 206 // reasonable since 'pid' is an Int (ie. 32 bits). 207 Int pid = VG_(getpid)(); local 209 j += VG_(sprintf)(&out[j], "%d", pid);
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 758 pid_t pid = fork(); local 759 if (pid < 0) { 763 } else if (pid > 0) { 767 pid_t actualPid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 768 if (actualPid != pid) { 769 ALOGW("waitpid(%d) returned %d (errno=%d)", pid, actualPid, errno); [all...] |
/frameworks/av/media/libmedia/ |
IOMX.cpp | 68 virtual bool livesLocally(node_id node, pid_t pid) { 72 data.writeInt32(pid); 607 pid_t pid = (pid_t)data.readInt32(); local 608 reply->writeInt32(livesLocally(node, pid)); [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.h | 78 AudioOutput(int sessionId, int uid, int pid, 331 pid_t pid() const { return mPid; } function in class:android::MediaPlayerService::Client 339 pid_t pid,
|
/frameworks/base/core/java/android/database/ |
CursorWindow.java | 722 private void recordNewWindow(int pid, long window) { 724 sWindowToPidMap.put(window, pid); 753 int pid = sWindowToPidMap.valueAt(indx); local 754 int value = pidCounts.get(pid); 755 pidCounts.put(pid, ++value); 761 int pid = pidCounts.keyAt(i); local 762 if (pid == myPid) { 765 buff.append("pid " + pid + "="); 767 int num = pidCounts.get(pid); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewFactory.java | 449 int pid = LocalServices.getService(ActivityManagerInternal.class).startIsolatedProcess( local 452 if (pid <= 0) throw new Exception("Failed to start the relro file creator process");
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteConnection.java | 161 int pid = -1; local 225 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, 239 if (pid == 0) { 249 // in parent...pid of < 0 means failure 252 return handleParentProc(pid, descriptors, serverPipeFd, parsedArgs); 566 * After the zygote process reads these it will write the pid of 763 * @param pid != 0; pid of child if > 0 or indication of failed fork 772 private boolean handleParentProc(int pid, 775 if (pid > 0) [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 466 final int pid = device.getProductId(); local 468 && (pid == UsbAccessoryConstants.USB_ACCESSORY_PRODUCT_ID 469 || pid == UsbAccessoryConstants.USB_ACCESSORY_ADB_PRODUCT_ID);
|
/frameworks/native/cmds/dumpstate/ |
utils.c | 96 int pid; local 101 if (!(pid = atoi(de->d_name))) { 105 sprintf(cmdpath,"/proc/%d/cmdline", pid); 113 helper(pid, cmdline, arg); 119 static void for_each_pid_helper(int pid, const char *cmdline, void *arg) { 121 func(pid, cmdline); 128 static void for_each_tid_helper(int pid, const char *cmdline, void *arg) { 134 sprintf(taskpath, "/proc/%d/task", pid); 141 func(pid, pid, cmdline) 446 pid_t pid = fork(); local 684 int pid = atoi(d->d_name); local [all...] |
/frameworks/native/libs/binder/tests/ |
binderLibTest.cpp | 63 pid_t pid; local 83 pid = fork(); 84 if (pid == -1) 85 return pid; 86 if (pid == 0) { 101 kill(pid, SIGKILL); 110 return pid; 127 //printf("%s: pid %d, get service\n", __func__, m_pid); 130 //printf("%s: pid %d, get service done\n", __func__, m_pid); 136 pid_t pid; local [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
wifilogger_diag.h | 132 int pid; /* Pid returned in the nl_sockaddr structure member in struct:sAniAppRegReq
|
/hardware/ti/omap4-aah/security/tf_daemon/ |
delegation_client.c | 1493 pid_t pid, sid; local [all...] |
/ndk/sources/host-tools/make-3.81/w32/subproc/ |
sub_proc.c | 43 intptr_t pid; member in struct:sub_process_t 68 if (proc_array[i]->pid == pproc->pid) 95 handles[i] = (HANDLE) proc_array[i]->pid; 128 return (TerminateProcess((HANDLE) pproc->pid, signal)); 565 pproc->pid = (intptr_t)procInfo.hProcess; 686 HANDLE childhand = (HANDLE) pproc->pid; 858 childhand = (HANDLE) pproc->pid; 931 if ((HANDLE)pproc->pid) 932 CloseHandle((HANDLE)pproc->pid); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/ |
fcntl.h | 198 __pid_t pid; /* ID of owner. */ member in struct:f_owner_ex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
blktrace_api.h | 60 __BLK_TN_PROCESS = 0, /* establish pid/name mapping */ 104 __u32 pid; /* who did it */ member in struct:blk_io_trace 138 __u32 pid; member in struct:blk_user_trace_setup
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
fcntl.h | 192 __pid_t pid; /* ID of owner. */ member in struct:f_owner_ex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
blktrace_api.h | 61 __BLK_TN_PROCESS = 0, /* establish pid/name mapping */ 105 __u32 pid; /* who did it */ member in struct:blk_io_trace 139 __u32 pid; member in struct:blk_user_trace_setup
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
fcntl.h | 207 __pid_t pid; /* ID of owner. */ member in struct:f_owner_ex
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
blktrace_api.h | 116 __u32 pid; member in struct:blk_io_trace 146 __u32 pid; member in struct:blk_user_trace_setup
|