/system/extras/perfprofd/ |
perfprofdcore.cc | 580 pid_t pid = fork(); local 582 if (pid == -1) { 586 if (pid == 0) { 632 fprintf(stderr, "perf invocation (pid=%d):\n", getpid()); 646 pid_t reaped = TEMP_FAILURE_RETRY(waitpid(pid, &st, 0));
|
/system/extras/tests/sdcard/ |
testcase.h | 121 pid_t pid() const { return mPid; } function in class:android_test::TestCase
|
/system/vold/ |
Utils.cpp | 308 pid_t pid = fork(); local 309 if (pid == 0) { 321 if (pid == -1) { 326 return pid;
|
/bionic/libc/kernel/uapi/linux/ |
blktrace_api.h | 116 __u32 pid; member in struct:blk_io_trace 146 __u32 pid; member in struct:blk_user_trace_setup
|
/development/ndk/platforms/android-21/include/linux/ |
blktrace_api.h | 116 __u32 pid; member in struct:blk_io_trace 146 __u32 pid; member in struct:blk_user_trace_setup
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 117 int pid = getResources().getIdentifier(prefix + "points", "array", getPackageName()); local 120 String [] p = getResources().getStringArray(pid);
|
/external/blktrace/ |
blktrace_api.h | 59 __BLK_TN_PROCESS = 0, /* establish pid/name mapping */ 102 __u32 pid; /* who did it */ member in struct:blk_io_trace 128 __u32 pid; member in struct:blk_user_trace_setup
|
/external/dnsmasq/src/ |
dnsmasq.c | 58 static volatile pid_t pid = 0; variable 113 umask(022); /* known umask, create leases and pid files as 0644 */ 298 pid_t pid; local 304 if ((pid = fork()) == -1) 308 if (pid != 0) 328 if ((pid = fork()) == -1) 331 if (pid != 0) 574 pid = getpid(); 714 if (pid == 0) 721 else if (pid != getpid() [all...] |
/external/elfutils/src/src/ |
stack.c | 72 static pid_t pid = 0; variable 486 pid = atoi (arg); 487 if (pid == 0) 488 argp_error (state, N_("-p PID should be a positive process id.")); 568 if (pid == 0 && show_one_tid == true) 572 if ((pid == 0 && core == NULL) || (pid != 0 && core != NULL)) 574 N_("One of -p PID or --core COREFILE should be given.")); 576 if (pid != 0) 582 int err = dwfl_linux_proc_report (dwfl, pid); [all...] |
/external/fio/ |
blktrace_api.h | 59 __BLK_TN_PROCESS = 0, /* establish pid/name mapping */ 101 __u32 pid; /* who did it */ member in struct:blk_io_trace 127 __u32 pid; member in struct:blk_user_trace_setup
|
stat.h | 126 uint32_t pid; member in struct:thread_stat
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 717 pid_t pid = getpid(); local 726 newmsg->sadb_msg_pid == pid) [all...] |
/external/kernel-headers/original/uapi/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
|
/external/libpcap/ |
pcap-dag.c | 106 pid_t pid; member in struct:pcap_dag_node 180 if (pcap_dags->pid == getpid()) { 204 node->pid = getpid(); [all...] |
/external/linux-tools-perf/src/tools/perf/util/ |
event.h | 13 u32 pid, tid; member in struct:mmap_event 22 u32 pid, tid; member in struct:mmap2_event 35 u32 pid, tid; member in struct:comm_event 41 u32 pid, ppid; member in struct:fork_event 57 u32 pid, tid; member in struct:read_event 107 u32 pid, tid; member in struct:perf_sample 134 pid_t pid; member in struct:build_id_event
|
/external/lldb/examples/interposing/darwin/fd_interposing/ |
FDInterposing.cpp | 412 const pid_t pid = getpid(); local 413 if (g_pid != pid) 417 g_pid = pid; 418 log ("Interposing file descriptor create and delete functions for %s (pid=%i)\n", get_process_fullpath (true), pid); 422 log ("pid=%i: disabling interposing file descriptor create and delete functions for child process %s (pid=%i)\n", g_pid, get_process_fullpath (true), pid); 441 const pid_t pid = get_interposed_pid(); local 467 log ("pid=%i: logging disabled\n", getpid()) 572 const int pid = get_interposed_pid(); local 666 const int pid = get_interposed_pid(); local 695 const int pid = get_interposed_pid(); local 724 const int pid = get_interposed_pid(); local 760 const int pid = get_interposed_pid(); local 786 const int pid = get_interposed_pid(); local 811 const int pid = get_interposed_pid(); local 836 const int pid = get_interposed_pid(); local 861 const int pid = get_interposed_pid(); local 887 const int pid = get_interposed_pid(); local 912 const int pid = get_interposed_pid(); local 937 const int pid = get_interposed_pid(); local 971 const int pid = get_interposed_pid(); local 1017 const int pid = get_interposed_pid(); local 1063 const int pid = get_interposed_pid(); local [all...] |
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
ProcessKDP.cpp | 226 ProcessKDP::WillAttachToProcessWithID (lldb::pid_t pid) 543 log->Printf ("ProcessKDP::%s (pid = %" PRIu64 ")", __FUNCTION__, GetID()); 844 const lldb::pid_t pid = process->GetID(); local 848 log->Printf ("ProcessKDP::AsyncThread (arg = %p, pid = %" PRIu64 ") thread starting...", arg, pid); 862 log->Printf ("ProcessKDP::AsyncThread (pid = %" PRIu64 ") listener.WaitForEvent (NULL, event_sp)...", 863 pid); 868 log->Printf ("ProcessKDP::AsyncThread (pid = %" PRIu64 ") Got an event of type: %d...", 869 pid, 915 log->Printf ("ProcessKDP::AsyncThread (pid = %" PRIu64 ") got eBroadcastBitAsyncThreadShouldExit..." [all...] |
/external/lldb/source/Plugins/Process/gdb-remote/ |
GDBRemoteCommunicationClient.cpp | 581 lldb::pid_t pid = GetCurrentProcessID (); local 582 if (pid != LLDB_INVALID_PROCESS_ID) 583 process->SetID (pid); [all...] |
/external/lldb/tools/debugserver/source/MacOSX/ |
MachTask.cpp | 236 static void get_threads_profile_data(DNBProfileDataScanType scanType, task_t task, nub_process_t pid, std::vector<uint64_t> &threads_id, std::vector<std::string> &threads_name, std::vector<uint64_t> &threads_used_usec) 266 int len = ::proc_pidinfo(pid, PROC_PIDTHREADINFO, identifier_info.thread_handle, &proc_threadinfo, PROC_PIDTHREADINFO_SIZE); 476 MachTask::TaskPortForProcessID (pid_t pid, DNBError &err, uint32_t num_retries, uint32_t usec_interval) 478 if (pid != INVALID_NUB_PROCESS) 485 err = ::task_for_pid ( task_self, pid, &task); 492 "::task_for_pid ( target_tport = 0x%4.4x, pid = %d, &task ) => err = 0x%8.8x (%s)", 494 pid, 699 pid_t pid = mach_proc->ProcessID(); local 705 watchdog.reset(::SBSWatchdogAssertionCreateForPID(NULL, pid, 60)); 706 DNBLogThreadedIf(LOG_TASK, "::SBSWatchdogAssertionCreateForPID (NULL, %4.4x, 60 ) => %p", pid, watchdog.get()) [all...] |
/external/lldb/tools/debugserver/source/ |
debugserver.cpp | 38 // Global PID in case we get a signal and need to stop the process... 72 // We will need to start up the remote connection without a PID, get the 219 nub_process_t pid = DNBProcessLaunch (resolved_path, local 232 g_pid = pid; 234 if (pid == INVALID_NUB_PROCESS && strlen (launch_err_str) > 0) 240 else if (pid == INVALID_NUB_PROCESS) 280 while (pid != INVALID_NUB_PROCESS) 283 DNBLogThreadedIf (LOG_RNB_EVENTS, "%s DNBProcessWaitForEvent (%4.4x, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged, true, INFINITE)...", __FUNCTION__, pid); 284 nub_event_t set_events = DNBProcessWaitForEvents (pid, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged, true, NULL); 285 DNBLogThreadedIf (LOG_RNB_EVENTS, "%s DNBProcessWaitForEvent (%4.4x, eEventProcessRunningStateChanged | eEventProcessStoppedStateChanged, true, INFINITE) => 0x%8.8x", __FUNCTION__, pid, set_events) 411 nub_process_t pid = ctx.ProcessID(); local 1347 nub_process_t pid = DNBProcessAttachWait (waitfor_pid_name.c_str(), launch_flavor, ignore_existing, timeout_ptr, waitfor_interval, err_str, sizeof(err_str)); local 1387 nub_process_t pid = DNBProcessAttachByName (attach_pid_name.c_str(), timeout_ptr, err_str, sizeof(err_str)); local [all...] |
/external/openssh/ |
auth-pam.c | 181 pid_t pid; local 185 switch ((pid = fork())) { 195 *thread = pid;
|
ssh.c | 1373 pid_t pid; local 2042 pid_t pid; local [all...] |
sshconnect.c | 111 pid_t pid; local 126 if ((pid = fork()) == 0) { 163 if (pid < 0) 171 while (waitpid(pid, NULL, 0) == -1) 189 pid_t pid; local 205 if ((pid = fork()) == 0) { 239 if (pid < 0) 242 proxy_command_pid = pid; /* save pid to clean up later */ 1457 pid_t pid; local [all...] |
/external/selinux/policycoreutils/newrole/ |
newrole.c | 1171 pid_t pid; local 1176 pid = wait(&status); 1177 } while (pid < 0 && errno == EINTR); [all...] |
/external/strace/ |
util.c | 445 sprintf(path, "/proc/%u/fd/%u", tcp->pid, fd); 949 static ssize_t strace_process_vm_readv(pid_t pid, 956 return syscall(__NR_process_vm_readv, (long)pid, lvec, liovcnt, rvec, riovcnt, flags); 967 vm_read_mem(pid_t pid, void *laddr, long raddr, size_t len) 978 return process_vm_readv(pid, &local, 1, &remote, 1, 0); 982 * move `len' bytes of data from process `pid' 989 int pid = tcp->pid; local 1002 int r = vm_read_mem(pid, laddr, addr, len); 1036 u.val = ptrace(PTRACE_PEEKDATA, pid, (char *) addr, 0) 1117 int pid = tcp->pid; local [all...] |