/external/mdnsresponder/Clients/ |
H A D | dns-sd.c | 1206 pid_t pid = getpid(); local 1207 Opaque16 registerPort = { { pid >> 8, pid & 0xFF } }; 1217 pid_t pid = getpid(); local 1218 Opaque16 registerPort = { { pid >> 8, pid & 0xFF } };
|
/external/oprofile/libpp/ |
H A D | xml_utils.cpp | 466 void build_process(string const & pid, size_t l, size_t h); 483 process_info * add_process(string const & pid, size_t lo, size_t hi); 697 process_root_info::add_process(string const & pid, size_t lo, size_t hi) argument 699 processes[nr_processes].build_process(pid, lo, hi); 814 void process_info::build_process(string const & pid, size_t l, size_t h) argument 816 process_id = pid; 964 cverb << vxml << "pid=" << process_id << " app=" << name << endl;
|
/external/ppp/pppd/ |
H A D | main.c | 135 static char pidfilename[MAXPATHLEN]; /* name of pid file */ 136 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */ 224 pid_t pid; member in struct:subprocess 236 static void create_pidfile __P((int pid)); 237 static void create_linkpidfile __P((int pid)); 631 dbglog(" script %s, pid %d", chp->prog, chp->pid); 785 create_pidfile(getpid()); /* write pid to file */ 796 int pid; local 804 if ((pid 1512 pid_t pid; local 1599 int pid; local 1668 int pid; local 1795 int pid, status; local [all...] |
/external/strace/ |
H A D | defs.h | 406 int pid; /* If 0, this tcb is free */ member in struct:tcb 622 extern void get_regs(pid_t pid); 626 # define get_regs(pid) ((void)0) 629 #define umove(pid, addr, objp) \ 630 umoven((pid), (addr), sizeof(*(objp)), (char *) (objp)) 632 extern int upeek(int pid, long, long *);
|
H A D | process.c | 292 #define CLONE_NEWPID 0x20000000 /* New pid namespace */ 881 * pid argument to int on 64bit arches, producing, 885 int pid = tcp->u_arg[0]; local 886 tprintf("%d, ", pid); 2550 /* arg 1: pid */ 2578 /* arg 1: pid */
|
H A D | strace.c | 203 -p pid... / [-D] [-E var=val]... [-u username] PROG [ARGS]\n\ 205 -p pid... / [-D] [-E var=val]... [-u username] PROG [ARGS]\n\ 232 -p pid -- trace process with process id PID, may be repeated\n\ 344 ptrace_attach_or_seize(int pid) argument 348 return ptrace(PTRACE_ATTACH, pid, 0L, 0L); 349 r = ptrace(PTRACE_SEIZE, pid, 0L, (unsigned long)ptrace_setoptions); 352 r = ptrace(PTRACE_INTERRUPT, pid, 0L, 0L); 356 # define ptrace_attach_or_seize(pid) ptrace(PTRACE_ATTACH, (pid), 0, 0) 373 ptrace(op, tcp->pid, (voi 429 kill_save_errno(pid_t pid, int sig) argument 502 int pid; local 690 alloctcb(int pid) argument 934 int pid; local 970 pid_t pid = fork(); local 1164 int pid; local 1331 int pid, expected_grandchild = 0, found_grandchild = 0; local 1453 int pid; local 1540 int pid; local 1979 pid2tcb(int pid) argument 2050 int pid; local [all...] |
H A D | syscall.c | 340 tcp->pid, names[personality]); 346 tcp->pid, names[personality]); 352 tcp->pid, names[personality]); 358 tcp->pid, names[personality]); 364 tcp->pid, names[personality]); 673 if (upeek(tcp->pid, 4*(REG_REG0+1), &val) < 0) 676 if (upeek(tcp->pid, PT_R9, &val) < 0) 801 if (upeek(tcp->pid, PT_PSWADDR, &psw) < 0) { 823 if (upeek(tcp->pid, PT_B0, &ip) < 0) { 837 if (upeek(tcp->pid, 980 powerpc_getregs_old(pid_t pid) argument 1016 get_regset(pid_t pid) argument 1046 get_regs(pid_t pid) argument [all...] |
/external/valgrind/main/coregrind/ |
H A D | vgdb.c | 56 arguments are given or only --pid and --vgdb-prefix, then usage 1 is 217 int pid = *(int *)v_pid; local 277 /* if the pid does not exist anymore, we better stop */ 278 if (kill(pid, 0) != 0) 281 "check for pid %d existence failed\n", pid); 285 "pid %d did not handle a command in %d seconds\n", 286 pid, cmd_time_out); 292 if (invoker_invoke_gdbserver(pid)) { 340 "Probably vgdb pid 512 prepare_fifos_and_shared_mem(int pid) argument 817 gdb_relay(int pid) argument 932 standalone_send_commands(int pid, int last_command, char *commands[] ) argument 1048 report_pid(int pid, Bool on_stdout) argument 1135 int pid = -1; local 1459 int pid; local [all...] |
/external/blktrace/ |
H A D | blkparse.c | 76 pid_t pid; member in struct:process_pid_map 534 static inline int ppm_hash_pid(pid_t pid) argument 536 return jhash_1word(pid, JHASH_RANDOM) & PPM_HASH_MASK; 539 static struct process_pid_map *find_ppm(pid_t pid) argument 541 const int hash_idx = ppm_hash_pid(pid); 546 if (ppm->pid == pid) 555 static struct process_pid_map *add_ppm_hash(pid_t pid, const char *name) argument 557 const int hash_idx = ppm_hash_pid(pid); 560 ppm = find_ppm(pid); 623 find_process_name(pid_t pid) argument 633 ppi_hash_pid(pid_t pid) argument 686 find_ppi_by_pid(pid_t pid) argument 704 find_ppi(pid_t pid) argument 957 find_track(struct per_dev_info *pdi, pid_t pid, __u64 sector) argument 1142 find_process_io_stats(pid_t pid) argument [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
H A D | _os2.h | 211 PID pid; member in struct:_MDProcess
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors.cc | 855 "fork is not supported (pid %d). Continuing because of " 1858 TSAN_INTERCEPTOR(int, kill, int pid, int sig) { argument 1859 SCOPED_TSAN_INTERCEPTOR(kill, pid, sig); 1863 if (pid == (int)internal_getpid()) { 1866 int res = REAL(kill)(pid, sig); 1867 if (pid == (int)internal_getpid()) { 1942 int pid = REAL(fork)(fake); local 1943 if (pid == 0) { 1947 } else if (pid > 0) { 1954 return pid; 2141 syscall_post_fork(uptr pc, int pid) argument [all...] |
/external/iproute2/misc/ |
H A D | ss.c | 203 int pid; member in struct:user_ent 218 static void user_ent_add(unsigned int ino, const char *process, int pid, int fd) argument 229 p->pid = pid; 259 int pid, pos; local 263 if (sscanf(d->d_name, "%d%c", &pid, &crap) != 1) 266 sprintf(name + nameoff, "%d/fd/", pid); 299 snprintf(tmp, sizeof(tmp), "%s/%d/stat", root, pid); 306 user_ent_add(ino, process, pid, fd); 333 p->process, p->pid, 2340 int prot, pid; local [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | audit.h | 379 __u32 pid; /* pid of auditd process */ member in struct:audit_status
|
H A D | coda.h | 298 pid_t pid; member in struct:coda_in_hdr
|
H A D | fuse.h | 175 uint32_t pid; /* tgid */ member in struct:fuse_file_lock 654 uint32_t pid; member in struct:fuse_in_header
|
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/ |
H A D | event-parse.c | 125 int pid; member in struct:cmdline 133 if (ca->pid < cb->pid) 135 if (ca->pid > cb->pid) 144 int pid; member in struct:cmdline_list 160 cmdlines[i].pid = cmdlist->pid; 176 static const char *find_cmdline(struct pevent *pevent, int pid) argument 181 if (!pid) 205 pevent_pid_is_registered(struct pevent *pevent, int pid) argument 231 add_new_comm(struct pevent *pevent, const char *comm, int pid) argument 283 pevent_register_comm(struct pevent *pevent, const char *comm, int pid) argument 4409 pevent_data_comm_from_pid(struct pevent *pevent, int pid) argument 4457 int pid; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-sched.c | 36 unsigned long pid; member in struct:task_desc 331 unsigned long pid, const char *comm) 335 BUG_ON(pid >= MAX_PID); 337 task = sched->pid_to_task[pid]; 343 task->pid = pid; 352 sched->pid_to_task[pid] = task; 359 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); 373 task->nr, task->comm, task->pid, task->nr_events); 669 const u32 pid local 330 register_pid(struct perf_sched *sched, unsigned long pid, const char *comm) argument 991 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); local 1020 const u32 pid = perf_evsel__intval(evsel, sample, "pid"), local 1073 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | header.c | 180 pid_t pid, u16 misc, int fd) 191 b.pid = pid; 204 pid_t pid, u16 misc, int fd) 230 pid, misc, fd); 250 machine->pid, kmisc, fd); 253 machine->pid, umisc, fd); 1519 machine = perf_session__findnew_machine(session, bev->pid); 1592 * As the pid is the missing value, we need to fill 1595 bev.pid 179 write_buildid(char *name, size_t name_len, u8 *build_id, pid_t pid, u16 misc, int fd) argument 202 __dsos__write_buildid_table(struct list_head *head, struct machine *machine, pid_t pid, u16 misc, int fd) argument [all...] |
/external/lldb/source/API/ |
H A D | SBTarget.cpp | 275 SBAttachInfo::SBAttachInfo (lldb::pid_t pid) : argument 278 m_opaque_sp->SetProcessID (pid); 320 SBAttachInfo::SetProcessID (lldb::pid_t pid) argument 322 m_opaque_sp->SetProcessID (pid); 471 SBAttachInfo::SetParentProcessID (lldb::pid_t pid) argument 473 m_opaque_sp->SetParentProcessID (pid); 947 ::pid_t pid, 950 return AttachToProcessWithID (listener, (lldb::pid_t)pid, error); 959 lldb::pid_t pid,// The process ID to attach to 971 log->Printf ("SBTarget(%p)::AttachToProcessWithID (listener, pid 946 AttachToProcessWithID(SBListener &listener, ::pid_t pid, lldb::SBError& error) argument 956 AttachToProcessWithID( SBListener &listener, lldb::pid_t pid, SBError& error ) argument [all...] |
/external/lldb/source/Core/ |
H A D | Debugger.cpp | 585 Debugger::FindTargetWithProcessID (lldb::pid_t pid) argument 595 target_sp = (*pos)->GetTargetList().FindTargetWithProcessID (pid);
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 524 ProcessGDBRemote::WillAttachToProcessWithID (lldb::pid_t pid) 549 lldb::pid_t pid = m_gdb_comm.GetCurrentProcessID (); 550 if (pid == LLDB_INVALID_PROCESS_ID) 560 SetID (pid); 570 error.SetErrorStringWithFormat ("Process %" PRIu64 " was reported after connecting to '%s', but state was not stopped: %s", pid, remote_url, StateAsCString (state)); 573 error.SetErrorStringWithFormat ("Process %" PRIu64 " was reported after connecting to '%s', but no stop reply packet was received", pid, remote_url); 1357 log->Printf ("ProcessGDBRemote::%s (pid = %" PRIu64 ")", __FUNCTION__, GetID()); 1438 lldb::pid_t pid = m_gdb_comm.GetCurrentProcessID (); local 1439 if (pid != LLDB_INVALID_PROCESS_ID) 1440 SetID (pid); [all...] |
/external/lldb/tools/debugserver/source/ |
H A D | RNBRemote.cpp | 207 nub_process_t pid = m_ctx.ProcessID(); local 212 count = DNBProcessGetAvailableSTDOUT(pid, buf, sizeof(buf)); 221 count = DNBProcessGetAvailableSTDERR(pid, buf, sizeof(buf)); 235 nub_process_t pid = m_ctx.ProcessID(); local 240 count = DNBProcessGetAvailableProfileData(pid, buf, sizeof(buf)); 1106 pid_t pid = m_ctx.ProcessID(); local 1107 if (pid == INVALID_NUB_PROCESS) 1158 uint32_t cpu_type = DNBProcessGetCPUType (pid); 1427 nub_process_t pid = m_ctx.ProcessID(); local 1428 if (pid 1462 nub_process_t pid = m_ctx.ProcessID(); local 1626 nub_process_t pid; local 1634 rep << "QC" << std::hex << pid; local 1641 nub_process_t pid; local 1649 rep << std::hex << pid; local 2345 register_value_in_hex_fixed_width(std::ostream& ostrm, nub_process_t pid, nub_thread_t tid, const register_map_entry_t* reg, const DNBRegisterValue *reg_value_ptr) argument 2387 gdb_regnum_with_fixed_width_hex_register_value(std::ostream& ostrm, nub_process_t pid, nub_thread_t tid, const register_map_entry_t* reg, const DNBRegisterValue *reg_value_ptr) argument 2407 const nub_process_t pid = m_ctx.ProcessID(); local 2549 nub_process_t pid = m_ctx.ProcessID(); local 2810 nub_process_t pid = m_ctx.ProcessID (); local 2858 nub_process_t pid = m_ctx.ProcessID(); local 3261 nub_process_t pid = m_ctx.ProcessID(); local 3409 nub_process_t pid = m_ctx.ProcessID(); local 3476 nub_process_t pid = m_ctx.ProcessID(); local 3528 const nub_process_t pid = m_ctx.ProcessID(); local 3624 nub_process_t pid = m_ctx.ProcessID(); local 3660 nub_process_t pid = m_ctx.ProcessID(); local 3734 const nub_process_t pid = m_ctx.ProcessID(); local 3818 const nub_process_t pid = m_ctx.ProcessID(); local 3847 const nub_process_t pid = m_ctx.ProcessID(); local 3974 nub_process_t pid; local 3983 rep << "pid:" << std::hex << pid << ";"; local [all...] |
/external/qemu/net/ |
H A D | net-android.c | 1061 "pid directory=%s\n" 1437 int pid, status; local 1446 pid = fork(); 1447 if (pid == 0) { 1464 } else if (pid > 0) { 1465 while (waitpid(pid, &status, 0) != pid) {
|
H A D | net.c | 958 "pid directory=%s\n" 1334 int pid, status; local 1343 pid = fork(); 1344 if (pid == 0) { 1361 } else if (pid > 0) { 1362 while (waitpid(pid, &status, 0) != pid) {
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 2794 /* args: pid_t* pid 2805 PRE_REG_READ5(int, "posix_spawn", vki_pid_t*, pid, char*, path, 2807 PRE_MEM_WRITE("posix_spawn(pid)", ARG1, sizeof(vki_pid_t) ); 3310 int,"request", vki_pid_t,"pid", 3427 vki_pid_t, pid, uint32_t, ops, 3432 // If the pid is ours, don't mark the program as KILL or HARD 3637 // GrP fixme intercept KERN_PROCARGS and KERN_PROC_PID for our pid 3778 int proc_info(int32_t callnum, int32_t pid, 3789 int, callnum, int, pid, unsigned int, flavor, 3798 int, callnum, int, pid, unsigne 7467 vki_pid_t pid; local [all...] |