Searched refs:pid (Results 176 - 200 of 1000) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dp2p-action.sh26 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid
28 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
30 if ! dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \
35 dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \
41 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid
43 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
57 dhclient -pf /var/run/dhclient-$GIFNAME.pid \
67 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME
71 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid
/external/chromium_org/chromeos/process_proxy/
H A Dprocess_proxy_unittest.cc31 virtual void SetupExpectations(pid_t pid) = 0;
32 virtual void OnSomeRead(pid_t pid, const std::string& type,
44 virtual void SetupExpectations(pid_t pid) OVERRIDE {
45 pid_ = pid;
62 virtual void OnSomeRead(pid_t pid, const std::string& type,
65 EXPECT_EQ(pid_, pid);
121 virtual void SetupExpectations(pid_t pid) OVERRIDE {
123 pid_ = pid;
126 virtual void OnSomeRead(pid_t pid, const std::string& type,
128 EXPECT_EQ(pid_, pid);
[all...]
/external/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp412 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
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/Host/freebsd/
H A DHost.cpp83 Host::GetThreadName (lldb::pid_t pid, lldb::tid_t tid) argument
283 Host::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) argument
285 process_info.SetProcessID(pid);
304 struct ptrace_io_desc pid; local
309 pid.piod_op = PIOD_READ_D;
310 pid.piod_addr = &ps_strings;
311 pid.piod_offs = ps_strings_addr;
312 pid.piod_len = sizeof(ps_strings);
313 if (::ptrace(PT_IO, process->GetID(), (caddr_t)&pid, 0)) {
321 pid
[all...]
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dtrace.c97 int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 4, 0);
98 int num = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 8, 0);
154 inst = ptrace(PTRACE_PEEKTEXT, proc->pid, pc, 0);
194 rx = ptrace(PTRACE_PEEKUSER,proc->pid, rn, 0);
290 ptrace(PTRACE_SYSCALL, proc->pid, 0, 0);
331 return ptrace(PTRACE_PEEKUSER,proc->pid,off_v0,0);
334 unsigned a3=ptrace(PTRACE_PEEKUSER, proc->pid,off_a3,0);
335 unsigned v0=ptrace(PTRACE_PEEKUSER, proc->pid,off_v0,0);
345 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_fpr0+12+arg_num*2,0);
350 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_a
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dandroid_parser.js85 traceMarkWriteAndroidEvent: function(eventName, cpuNumber, pid, ts,
94 .getOrCreateThread(pid);
102 this.ppids_[pid] = ppid;
108 var ppid = this.ppids_[pid];
115 .getOrCreateThread(pid);
160 .getOrCreateThread(pid);
163 this.ppids_[pid] = ppid;
175 .getOrCreateThread(pid);
178 this.ppids_[pid] = ppid;
H A Dkfunc_parser.js43 traceKernelFuncEnterEvent: function(eventName, cpuNumber, pid, ts,
56 .getOrCreateThread(pid);
70 traceKernelFuncReturnEvent: function(eventName, cpuNumber, pid, ts,
78 .getOrCreateThread(pid);
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
H A Dbaseline_policy_unittest.cc42 // |pid| is the return value of a fork()-like call. This
45 void HandlePostForkReturn(pid_t pid) { argument
47 if (pid > 0) {
49 PCHECK(pid == HANDLE_EINTR(waitpid(pid, &status, 0)));
52 } else if (pid == 0) {
59 pid_t pid = fork(); local
60 HandlePostForkReturn(pid);
107 pid_t pid = fork(); local
109 HandlePostForkReturn(pid);
121 pid_t pid = ForkX86Glibc(); local
136 pid_t pid = ForkARMGlibc(); local
153 pid_t pid = syscall(__NR_clone, CLONE_THREAD | SIGCHLD); local
[all...]
/external/chromium_org/chrome/test/base/
H A Dchrome_process_util_mac.cc25 cmdline.push_back("pid=,rss=,vsz="); // fields we need, no headings
51 int pid; local
52 base::StringToInt(values[0], &pid);
53 proc_info.pid = pid;
56 if (proc_info.pid && proc_info.rsz_in_kb && proc_info.vsz_in_kb)
86 if (it->pid != static_cast<base::ProcessId>(process_id))
/external/chromium_org/testing/
H A Dxvfb.py21 def kill(pid):
26 os.kill(pid, signal.SIGKILL)
97 pid = None
104 if not xvfb_proc or not xvfb_proc.pid:
133 if pid:
134 kill(pid)
/external/valgrind/main/memcheck/tests/
H A Daddressable.c117 int pid; local
119 pid = fork();
120 if (pid == -1) {
124 if (pid == 0) {
134 while((ret = waitpid(pid, &status, 0)) != pid) {
/external/ltrace/
H A Dproc.c118 pid_t pid, int was_exec)
138 proc->pid = pid;
161 proc->unwind_priv = _UPT_create(pid);
167 "for process %d\n", proc->pid);
199 proc->pid);
207 process_init(struct process *proc, const char *filename, pid_t pid) argument
209 if (process_bare_init(proc, filename, pid, 0) < 0) {
212 pid, strerror(errno));
311 if (process_bare_init(proc, NULL, proc->pid,
117 process_bare_init(struct process *proc, const char *filename, pid_t pid, int was_exec) argument
321 open_program(const char *filename, pid_t pid) argument
358 process_clone(struct process *retp, struct process *proc, pid_t pid) argument
488 open_one_pid(pid_t pid) argument
537 open_pid(pid_t pid) argument
605 pid2proc(pid_t pid) argument
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dperf-record.c8 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) argument
14 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) {
112 err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask);
123 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) {
151 * count just on workload.pid, which will start...
201 if ((pid_t)sample.pid != evlist->workload.pid) {
202 pr_debug("%s with unexpected pid, expected %d, got %d\n",
203 name, evlist->workload.pid, sample.pid);
[all...]
/external/lldb/source/Host/linux/
H A DHost.cpp51 // Get the process info with additional information from /proc/$PID/stat (like process state, and tracer pid).
52 static bool GetProcessAndStatInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info, ProcessStatInfo &stat_info, lldb::pid_t &tracerpid);
59 ReadProcPseudoFile (lldb::pid_t pid, const char *name) argument
73 if (snprintf (path, PATH_MAX, "/proc/%" PRIu64 "/%s", pid, name) > 0)
111 ReadProcPseudoFileStat (lldb::pid_t pid, ProcessStatInfo& stat_info) argument
114 lldb::DataBufferSP buf_sp = ReadProcPseudoFile (pid, "stat");
116 // The filename of the executable is stored in parenthesis right after the pid. We look for the closing
158 GetLinuxProcessUserAndGroup (lldb::pid_t pid, ProcessInstanceInfo &process_info, lldb::pid_t &tracerpid) argument
167 lldb::DataBufferSP buf_sp = ReadProcPseudoFile (pid, "status");
262 lldb::pid_t pid local
300 FindProcessThreads(const lldb::pid_t pid, TidMap &tids_to_attach) argument
355 GetProcessAndStatInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info, ProcessStatInfo &stat_info, lldb::pid_t &tracerpid) argument
434 GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) argument
452 GetThreadName(lldb::pid_t pid, lldb::tid_t tid) argument
[all...]
/external/chromium_org/build/android/pylib/utils/
H A Dxvfb.py35 self._pid = proc.pid
43 _, retcode = os.waitpid(proc.pid, 0)
/external/chromium_org/components/nacl/browser/
H A Dnacl_broker_host_win.h34 bool LaunchDebugExceptionHandler(int32 pid,
51 void OnDebugExceptionHandlerLaunched(int32 pid, bool success);
H A Dnacl_broker_service_win.h40 int32 pid,
46 void OnDebugExceptionHandlerLaunched(int32 pid, bool success);
/external/chromium_org/content/browser/ssl/
H A Dssl_policy_backend.cc27 int pid) const {
31 return ssl_host_state_delegate_->DidHostRunInsecureContent(host, pid);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/
H A Dmetered_stream.py54 def __init__(self, stream=None, verbose=False, logger=None, time_fn=None, pid=None, number_of_columns=None):
58 self._pid = pid or os.getpid()
94 def write(self, txt, now=None, pid=None):
96 pid = pid or self._pid
102 msg = '%02d:%02d:%02d.%03d %d %s' % (now_tuple.tm_hour, now_tuple.tm_min, now_tuple.tm_sec, int((now * 1000) % 1000), pid, self._ensure_newline(txt))
110 def writeln(self, txt, now=None, pid=None):
111 self.write(self._ensure_newline(txt), now, pid)
/external/chromium_org/third_party/sqlite/src/src/
H A Dmutex_os2.c164 PID pid; local
166 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
181 PID pid; local
184 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
192 PID pid; local
195 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
203 PID pid; local
205 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
H A Dbackground_tasks.py38 pid=process.pid,
43 _tasks[task.pid] = task
44 return task.pid
58 def TracerMain_(log, storage_path, backend_name, device_id, pid, interval,
75 process = device.GetProcess(pid)
84 process = device.GetProcess(pid)
86 log.put((100, 'Process %d died.' % pid))
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Dprocess_statistic_timeline_data.py9 This object can hold a value for more than one pid by adding another
12 def __init__(self, pid, value):
15 self._value_by_pid = {pid: value}
/external/libselinux/src/
H A Dprocattr.c19 pid_t pid, const char *attr)
28 if (pid > 0)
29 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr);
77 pid_t pid, const char *attr)
85 if (pid > 0)
86 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr);
132 int get##fn(pid_t pid, char **c) \
134 return getprocattrcon(c, pid, #attr); \
18 getprocattrcon(char ** context, pid_t pid, const char *attr) argument
76 setprocattrcon(const char * context, pid_t pid, const char *attr) argument
/external/libunwind/src/
H A Dos-linux.c35 map_create_list (pid_t pid) argument
42 if (maps_init (&mi, pid) < 0)
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dtarget.h8 const char *pid; member in struct:perf_target
52 return target->tid || target->pid || target->uid_str;

Completed in 1426 milliseconds

1234567891011>>