Searched refs:pid (Results 151 - 175 of 1000) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/api/terminal/
H A Dterminal_private_api.h46 void RespondOnUIThread(pid_t pid);
51 // Send input to the terminal process specified by the pid sent as an argument.
64 void SendInputOnFileThread(pid_t pid, const std::string& input);
68 // Closes terminal process with given pid.
81 void CloseOnFileThread(pid_t pid);
97 void OnResizeOnFileThread(pid_t pid, int width, int height);
/external/chromium_org/chrome/browser/
H A Dfullscreen_win.cc89 DWORD pid = 0; local
90 ::GetWindowThreadProcessId(::GetForegroundWindow(), &pid); local
91 if (!pid)
94 if (!::AttachConsole(pid))
H A Dmemory_details_mac.cc112 pids_by_browser[index].push_back(entry->pid());
113 all_pids.push_back(entry->pid());
136 helper_pids.push_back(entry->pid());
137 all_pids.push_back(entry->pid());
151 info.pid = *it;
160 if (process_info.GetProcInfo(info.pid, &proc_info)) {
179 process_info.GetCommittedKBytesOfPID(info.pid, &info.committed);
180 process_info.GetWorkingSetKBytesOfPID(info.pid, &info.working_set);
208 base::ProcessId pid,
211 info.pid
206 CollectProcessDataChrome( const std::vector<ProcessMemoryInformation>& child_info, base::ProcessId pid, const ProcessInfoSnapshot& process_info) argument
[all...]
/external/chromium_org/content/common/android/
H A Dsurface_texture_peer.h22 base::ProcessHandle pid,
/external/e2fsprogs/misc/
H A Duuidd.rc18 PIDFILE=/var/run/uuidd/uuidd.pid
41 if test -f /var/run/uuidd.pid; then exit 2; fi
/external/libunwind/tests/
H A Dforker.c40 pid_t pid; local
53 pid = fork ();
54 if (pid == 0)
61 waitpid (pid, &status, 0);
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
H A Dsyscall-counts-by-pid.py1 # system call counts, by pid
17 usage = "perf script -s syscall-counts-by-pid.py [comm]\n";
55 print "\nsyscall events by comm/pid:\n\n",
57 print "%-40s %10s\n" % ("comm [pid]/syscalls", "count"),
64 for pid in pid_keys:
65 print "\n%s [%d]\n" % (comm, pid),
66 id_keys = syscalls[comm][pid].keys()
67 for id, val in sorted(syscalls[comm][pid].iteritems(), \
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dthread_map.c22 struct thread_map *thread_map__new_by_pid(pid_t pid) argument
30 sprintf(name, "/proc/%d/task", pid);
82 pid_t pid = strtol(dirent.d_name, &end, 10); local
95 snprintf(path, sizeof(path), "/proc/%d/task", pid);
146 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) argument
148 if (pid != -1)
149 return thread_map__new_by_pid(pid);
164 pid_t pid, prev_pid = INT_MAX; local
173 pid = strtol(pos->s, &end_ptr, 10);
175 if (pid
270 thread_map__new_str(const char *pid, const char *tid, uid_t uid) argument
[all...]
H A Dvalues.c9 values->pid = malloc(values->threads_max * sizeof(*values->pid));
12 if (!values->pid || !values->tid || !values->value)
36 free(values->pid);
47 values->pid = realloc(values->pid,
48 values->threads_max * sizeof(*values->pid));
53 if (!values->pid || !values->tid || !values->value)
58 u32 pid, u32 tid)
63 if (values->pid[
57 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) argument
118 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) argument
[all...]
/external/lldb/test/functionalities/exec/
H A Dmain.cpp29 pid_t pid = 0; local
35 return pid;
57 err = posix_spawn (&pid,
67 return pid;
73 printf ("pid %i: Pointer size is %zu.\n", getpid(), sizeof(void *));
/external/lldb/tools/debugserver/source/
H A DRNBServices.h24 #define DTSERVICES_APP_PID_KEY CFSTR("pid")
27 bool IsSBProcess (nub_process_t pid);
H A DPseudoTerminal.cpp160 // In the parent process when a valid pid is returned, the master file
174 // in the parent process: the pid of the child, or -1 if fork fails
181 pid_t pid = invalid_pid; local
188 pid = ::fork ();
189 if (pid < 0)
194 else if (pid == 0)
223 // Do nothing and let the pid get returned!
226 return pid;
/external/ltrace/sysdeps/linux-gnu/s390/
H A Dregs.c52 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0) & PSW_MASK;
72 ptrace(PTRACE_POKEUSER, proc->pid, PT_PSWADDR, addr);
78 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR15, 0) & PSW_MASK;
90 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR14, 0) & PSW_MASK;
H A Dtrace.c54 psw = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWMASK, 0);
87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0);
117 pc = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0);
118 opcode = ptrace(PTRACE_PEEKTEXT, proc->pid,
133 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid,
138 svc_addr += ptrace(PTRACE_PEEKUSER, proc->pid,
141 scno = ptrace(PTRACE_PEEKTEXT, proc->pid, svc_addr, 0);
153 tmp = ptrace(PTRACE_PEEKUSER, proc->pid,
163 scno = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR1, 0);
/external/qemu/include/hw/android/goldfish/
H A Dtrace.h107 extern void trace_switch(int pid);
108 extern void trace_fork(int tgid, int pid);
109 extern void trace_clone(int tgid, int pid);
117 extern void trace_init_name(int tgid, int pid, const char *name);
/external/llvm/include/llvm/
H A DPass.h90 explicit Pass(PassKind K, char &pid) argument
91 : Resolver(nullptr), PassID(&pid), Kind(K) { }
251 explicit ModulePass(char &pid) : Pass(PT_Module, pid) {} argument
278 explicit ImmutablePass(char &pid) argument
279 : ModulePass(pid) {}
296 explicit FunctionPass(char &pid) : Pass(PT_Function, pid) {} argument
332 explicit BasicBlockPass(char &pid) : Pass(PT_BasicBlock, pid) {} argument
[all...]
/external/chromium_org/components/nacl/browser/
H A Dnacl_broker_service_win.cc73 base::WeakPtr<NaClProcessHost> nacl_process_host, int32 pid,
75 pending_debuggers_[pid] = nacl_process_host;
79 return broker_host->LaunchDebugExceptionHandler(pid, process_handle,
83 void NaClBrokerService::OnDebugExceptionHandlerLaunched(int32 pid, argument
85 PendingDebugExceptionHandlersMap::iterator it = pending_debuggers_.find(pid);
72 LaunchDebugExceptionHandler( base::WeakPtr<NaClProcessHost> nacl_process_host, int32 pid, base::ProcessHandle process_handle, const std::string& startup_info) argument
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dcrashlogs.py36 def find_newest_log(self, process_name, pid=None, include_errors=False, newer_than=None):
38 return self._find_newest_log_darwin(process_name, pid, include_errors, newer_than)
50 def _find_newest_log_darwin(self, process_name, pid, include_errors, newer_than):
56 first_line_regex = re.compile(r'^Process:\s+(?P<process_name>.*) \[(?P<pid>\d+)\]$')
63 if match and match.group('process_name') == process_name and (pid is None or int(match.group('pid')) == pid):
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dwin_pgo_profiler.py53 def _RunPGOSweep(self, pid, dll_name, index):
57 pid: The PID of the process we're interested in.
65 '/pid:%d' % pid,
90 for pid, output_file in self._GetProcessOutputFileMap().iteritems():
92 output_files.append(self._RunPGOSweep(pid,
97 output_files.append(self._RunPGOSweep(pid,
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dtrace.c77 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
82 ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
86 ptrace(PTRACE_PEEKUSER, proc->pid, PT_R15, 0);
98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0);
99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dhists_link.c13 u32 pid; member in struct:__anon25166
22 u32 pid; member in struct:__anon25167
91 thread = machine__findnew_thread(machine, fake_threads[i].pid,
92 fake_threads[i].pid);
103 .pid = fake_mmap_info[i].pid,
151 u32 pid; member in struct:sample
160 { .pid = 100, .ip = 0xf0000 + 700, },
162 { .pid = 200, .ip = 0x40000 + 700, },
164 { .pid
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dmali_parser.js220 maliDDKOpenSlice: function(pid, tid, ts, func, blockinfo) {
221 var thread = this.importer.model_.getOrCreateProcess(pid)
229 maliDDKCloseSlice: function(pid, tid, ts, args, blockinfo) {
230 var thread = this.importer.model_.getOrCreateProcess(pid)
274 maliDDKEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
285 this.maliDDKOpenSlice(pid, tid, ts, maliEvent[4],
289 this.maliDDKCloseSlice(pid, tid, ts, [], maliEvent[3]);
311 dvfsEventEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
320 dvfsSetClockEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
329 dvfsSetVoltageEvent: function(eventName, cpuNumber, pid, t
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DChildProcessLauncher.java221 // Map from pid to ChildService connection.
246 private static boolean isOomProtected(int pid) { argument
247 return sBindingManager.isOomProtected(pid);
278 public static void setInForeground(int pid, boolean inForeground) { argument
279 sBindingManager.setInForeground(pid, inForeground);
404 public void onConnected(int pid) {
405 Log.d(TAG, "on connect callback, pid=" + pid + " context=" + clientContext);
406 if (pid != NULL_PROCESS_HANDLE) {
407 sBindingManager.addNewConnection(pid, connectio
435 stop(int pid) argument
514 logPidWarning(int pid, String message) argument
543 crashProcessForTesting(int pid) argument
555 nativeOnChildProcessStarted(long clientContext, int pid) argument
556 nativeEstablishSurfacePeer( int pid, Surface surface, int primaryID, int secondaryID) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/rand/
H A Durandom.c65 pid_t pid; /* pid contains the pid at the time that the buffer was member in struct:rand_buffer
67 pid_t ppid; /* ppid contains the parent pid in order to try and reduce
142 pid_t pid, ppid; local
168 pid = getpid();
173 if (buf && buf->pid == pid && buf->ppid == ppid &&
196 buf->pid = pid;
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Dmac_platform_backend.py44 def _GetIdleWakeupCount(self, pid):
45 top_output = self._GetTopOutput(pid, ['idlew'])
50 return process_statistic_timeline_data.IdleWakeupTimelineData(pid, 0)
53 return process_statistic_timeline_data.IdleWakeupTimelineData(pid,
56 def GetCpuStats(self, pid):
57 """Returns a dict of cpu statistics for the process represented by |pid|."""
86 self.libproc.proc_pidinfo(pid, proc_info.PROC_PIDTASKINFO, 0,
97 results.update({'IdleWakeupCount': self._GetIdleWakeupCount(pid)})
121 def GetMemoryStats(self, pid):
122 rss_vsz = self.GetPsOutput(['rss', 'vsz'], pid)
[all...]

Completed in 2677 milliseconds

1234567891011>>