Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 48) sorted by relevance

12

/ndk/sources/android/libthread_db/gdb-6.6/
Dlibthread_db.c27 pid_t pid; member
56 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) in _get_task_permitted_caps() argument
67 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
135 int target_pid = proc_handle->pid; in td_ta_new()
199 agent->pid = proc_handle->pid; in td_ta_new()
223 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
224 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
238 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper()
239 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
247 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper()
[all …]
Dthread_db.h69 pid_t pid; member
74 pid_t pid; member
/ndk/sources/android/libthread_db/gdb-7.3.x/
Dlibthread_db.c52 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) in _get_task_permitted_caps() argument
63 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
195 agent->pid = ps_getpid(proc_handle); in td_ta_new()
234 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
235 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
249 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper()
250 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
258 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper()
259 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
295 th->pid = ps_getpid(agent->ph); in td_ta_map_lwp2thr()
[all …]
Dthread_db.h74 pid_t pid; member
80 pid_t pid; member
/ndk/sources/android/libthread_db/gdb-7.6/
Dlibthread_db.c64 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) in _get_task_permitted_caps() argument
75 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
208 agent->pid = ps_getpid(proc_handle); in td_ta_new()
247 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
248 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
262 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper()
263 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
271 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper()
272 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
308 th->pid = ps_getpid(agent->ph); in td_ta_map_lwp2thr()
[all …]
Dthread_db.h86 pid_t pid; member
92 pid_t pid; member
/ndk/sources/host-tools/make-3.81/
Djob.c238 w32_kill(intptr_t pid, int sig) in w32_kill() argument
240 return ((process_kill((HANDLE)pid, sig) == TRUE) ? 0 : -1); in w32_kill()
473 pid_t pid; in reap_children() local
520 (long) c->pid, c->remote ? _(" (remote)") : "")); in reap_children()
528 pid = remote_status (&exit_code, &exit_sig, &coredump, 0); in reap_children()
530 pid = 0; in reap_children()
532 if (pid > 0) in reap_children()
535 else if (pid < 0) in reap_children()
549 pid = c->pid; in reap_children()
553 pid = WAIT_NOHANG (&status); in reap_children()
[all …]
Dremote-cstms.c151 int pid; in start_remote_job() local
226 pid = vfork (); in start_remote_job()
227 if (pid < 0) in start_remote_job()
233 else if (pid == 0) in start_remote_job()
260 *id_ptr = pid; in start_remote_job()
Dvmsjobs.c403 child->pid = 270163; in child_execute_job()
645 &child->pid, &child->cstatus, &child->efn, in child_execute_job()
650 pidToAbort= child->pid; in child_execute_job()
661 &child->pid, &child->cstatus, &child->efn, in child_execute_job()
Djob.h52 intptr_t pid; /* Child process's ID number. */ member
Dmake.h367 # define kill(pid,sig) w32_kill(pid,sig) argument
370 extern int kill(intptr_t pid, int sig);
Dfunction.c1589 int pid; in func_shell() local
1624 windows32_openpipe (pipedes, &pid, command_argv, envp); in func_shell()
1635 fpipe = msdos_openpipe (pipedes, &pid, argv[0]); in func_shell()
1656 pid = child_execute_job (0, pipedes[1], command_argv, envp); in func_shell()
1657 if (pid < 0) in func_shell()
1662 pid = vfork (); in func_shell()
1663 if (pid < 0) in func_shell()
1665 else if (pid == 0) in func_shell()
1679 shell_function_pid = pid; in func_shell()
Dcommands.c461 (void) kill (c->pid, SIGTERM); in fatal_error_signal()
482 (void) remote_kill (c->pid, sig); in fatal_error_signal()
Dconfigure.in203 [[union wait status; int pid; pid = wait (&status);
208 if (WEXITSTATUS (status) != 0) pid = -1;
216 pid = waitpid (-1, &status, 0);
Dmain.c2092 int pid; in main() local
2094 pid = child_execute_job (0, 1, nargv, environ); in main()
2098 pid = wait (&status); in main()
2099 } while (pid <= 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
Dnative_handle.pass.cpp47 pthread_t pid = t0.native_handle(); in main() local
48 assert(pid != 0); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Ddebug.ipp198 explicit process_info( int pid );
221 process_info::process_info( int pid )
227 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/psinfo", pid );
243 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/as", pid );
261 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/stat", pid );
286 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/exe", pid );
320 …:snprintf( title_str, sizeof(title_str), "%*s %ld", (int)(dsi.binary_path.end()-it), it, dsi.pid );
418 // prepare pid value
420 ::snprintf( pid_buff, sizeof(pid_buff), "%ld", dsi.pid );
530 ::snprintf( pid_buff, sizeof(pid_buff), "%ld", dsi.pid );
[all …]
Dexecution_monitor.ipp333 "signal: generated by kill() (or family); uid=%d; pid=%d",
513 "child has exited; pid: %d; uid: %d; exit value: %d",
518 "child was killed; pid: %d; uid: %d; exit value: %d",
523 "child terminated abnormally; pid: %d; uid: %d; exit value: %d",
528 "traced child has trapped; pid: %d; uid: %d; exit value: %d",
533 "child has stopped; pid: %d; uid: %d; exit value: %d",
538 "stopped child had continued; pid: %d; uid: %d; exit value: %d",
544 … "signal: SIGCHLD, si_code: %d (child process has terminated; pid: %d; uid: %d; exit value: %d)",
/ndk/sources/host-tools/make-3.81/w32/subproc/
Dsub_proc.c43 intptr_t pid; member
68 if (proc_array[i]->pid == pproc->pid) in process_adjust_wait_state()
95 handles[i] = (HANDLE) proc_array[i]->pid; in process_wait_for_any_private()
128 return (TerminateProcess((HANDLE) pproc->pid, signal)); in process_kill()
565 pproc->pid = (intptr_t)procInfo.hProcess; in process_begin()
686 HANDLE childhand = (HANDLE) pproc->pid; in process_pipe_io()
858 childhand = (HANDLE) pproc->pid; in process_file_io()
931 if ((HANDLE)pproc->pid) in process_cleanup()
932 CloseHandle((HANDLE)pproc->pid); in process_cleanup()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_proc_maps.h27 explicit ProcMaps(pid_t pid);
Dcrazy_linker_proc_maps.cpp188 ProcMaps::ProcMaps(pid_t pid) { in ProcMaps() argument
191 snprintf(maps_file, sizeof maps_file, "/proc/%u/maps", pid); in ProcMaps()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Ddebug.hpp52 long pid; member
/ndk/docs/text/
DNDK-STACK.text21 I/DEBUG ( 31): pid: 351, tid: 351 %gt;%gt;%gt; /data/local/ndk-tests/crasher <<<
40 pid: 351, tid: 351 >>> /data/local/ndk-tests/crasher <<<
/ndk/tests/
Drun-tests.sh603 pid="`$ADB_CMD -s "$DEVICE" shell top -n 1 | grep $COMPILER_PKGNAME | awk '{print $1}'`"
604 if [ "$pid" = "$old_pid" ]; then
608 old_pid="$pid"
/ndk/sources/host-tools/make-3.81/po/
Dja.po668 msgid "make reaped child pid %ld, still waiting for pid %ld\n"
669 msgstr "make �� pid %d �λҥץ���������, pid %d ���Ԥ�³���ޤ�\n"

12