HomeSort by relevance Sort by last modified time
    Searched refs:pid (Results 76 - 100 of 2224) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/ltrace/sysdeps/linux-gnu/ia64/
regs.c 39 unsigned long ip = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
41 (ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0) >> 41) & 3;
52 unsigned long psr = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
59 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IIP, (long)newip);
60 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IPSR, psr);
66 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_R12, 0);
75 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_B0, 0);
  /external/libunwind/src/ptrace/
_UPT_access_mem.c 38 pid_t pid = ui->pid;
48 ptrace (PTRACE_POKEDATA, pid, (void*) (uintptr_t) addr, (void*) (uintptr_t) *val);
64 reg1 = ptrace (PTRACE_PEEKDATA, pid, (void*) (uintptr_t) addr, 0);
67 reg2 = ptrace (PTRACE_PEEKDATA, pid, (void*) (uintptr_t) (addr + sizeof(long)), 0);
73 *val = ptrace (PTRACE_PEEKDATA, pid, (void*) addr, 0);
91 pid_t pid = ui->pid;
100 if (ptrace(PT_IO, pid, (caddr_t)&iod, 0) == -1)
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
propkeydef.h 35 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
37 { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
39 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
41 { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
44 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
50 #define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid))
52 #define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid,&(b).fmtid))
  /system/core/toolbox/
renice.c 43 fprintf(stderr, "USAGE: %s [[-r] [-t TYPE] priority pids ...] [-g pid]\n", s);
47 void print_prio(pid_t pid)
52 printf("pid %d's priority: %d\n", pid, getpriority(PRIO_PROCESS, pid));
55 sched = sched_getscheduler(pid);
73 sched_getparam(pid, &sp);
133 pid_t pid; local
135 pid = atoi(argv[0]);
143 ret = sched_setscheduler(pid, sched, &sp)
    [all...]
  /bionic/libc/bionic/
ptrace.cpp 32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data);
40 pid_t pid = va_arg(args, pid_t); local
50 long result = __ptrace(req, pid, addr, data);
  /cts/tests/tests/security/src/android/security/cts/
KeystoreExploitTest.java 26 int pid = Proc.findPidFor("/system/bin/keystore"); local
57 assertTrue("PID=" + pid + " crashed due to a malformed key name.",
58 new File("/proc/" + pid + "/cmdline").exists());
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
thread_lister.c 55 pid_t pid; local
63 pid = getpid();
64 rc = callback(parameter, 1, &pid, ap);
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
thread_lister.c 55 pid_t pid; local
63 pid = getpid();
64 rc = callback(parameter, 1, &pid, ap);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
thread_map.h 12 struct thread_map *thread_map__new_by_pid(pid_t pid);
15 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
17 struct thread_map *thread_map__new_str(const char *pid,
  /external/ltrace/testsuite/ltrace.main/
signals.c 25 pid_t pid; local
31 pid=getpid();
45 sigqueue(pid,sig,mysigval);
  /external/ltrace/testsuite/ltrace.torture/
signals.c 23 pid_t pid; local
27 pid=getpid();
41 sigqueue(pid,sig,mysigval);
  /external/valgrind/main/none/tests/
async-sigs.c 28 static void do_kill(int pid, int sig)
45 sprintf(pidbuf, "%d", pid);
71 int pid; local
78 pid = fork();
79 if (pid == -1) {
89 if (pid == 0) {
103 do_kill(pid, caughtsig); // Should be caught.
105 do_kill(pid, caughtsig); // Ditto.
106 do_kill(pid, caughtsig); // Ditto.
111 do_kill(pid, fatalsig); // Should kill it
    [all...]
res_search.c 27 pthread_t pid; local
42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1]))
48 pthread_join(pid, 0);
  /system/extras/tests/cpueater/
cpueater.c 16 * Simple cpu eater busy loop. Runs as a daemon. prints the child PID to
30 pid_t pid; local
45 switch(pid = fork()) {
69 printf("%d\n", pid);
  /external/blktrace/btt/
proc.c 30 __u32 pid; member in union:pn_info::__anon5016
65 struct p_info * __find_process_pid(__u32 pid)
72 if (pid < this->u.pid)
74 else if (pid > this->u.pid)
103 static void insert_pid(struct p_info *that, __u32 pid)
113 if (pid < this->u.pid)
115 else if (pid > this->u.pid
    [all...]
  /system/core/logd/
LogStatistics.h 30 const pid_t pid; member in class:PidStatistics
45 PidStatistics(pid_t pid, char *name = NULL);
49 pid_t getPid() const { return pid; }
55 bool subtract(unsigned short size); // returns true if stats and PID gone
65 static char *pidToName(pid_t pid);
87 void add(unsigned short size, pid_t pid);
88 void subtract(unsigned short size, pid_t pid);
98 size_t sizes(pid_t pid);
99 size_t elements(pid_t pid);
101 size_t sizesTotal(pid_t pid = pid_all)
    [all...]
  /external/strace/
strace.c 62 while we later wait on a that specific TID. PID process waits become
112 * attaches to grandparent similarly to strace -p PID.
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)
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)
502 int pid; local
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
2050 int pid; local
    [all...]
  /external/chromium_org/sandbox/linux/services/
unix_domain_socket_unittest.cc 48 void WaitForExit(pid_t pid) {
50 CHECK_EQ(pid, HANDLE_EINTR(waitpid(pid, &status, 0)));
55 base::ProcessId GetParentProcessId(base::ProcessId pid) {
60 CHECK(base::OpenProcessHandle(pid, &handle));
61 base::ProcessId ret = base::GetParentProcessId(pid);
117 const pid_t pid = fork(); local
118 CHECK_NE(-1, pid);
119 if (pid == 0) {
131 CHECK_EQ(pid, sender_pid)
147 const pid_t pid = syscall(__NR_clone, CLONE_NEWPID | SIGCHLD, 0, 0, 0); local
181 const pid_t pid = syscall(__NR_clone, CLONE_NEWPID | SIGCHLD, 0, 0, 0); local
247 const pid_t pid = syscall(__NR_clone, CLONE_NEWPID | SIGCHLD, 0, 0, 0); local
    [all...]
  /bionic/libc/kernel/uapi/linux/
if_pppol2tp.h 24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
  /development/ndk/platforms/android-L/include/linux/
if_pppol2tp.h 24 __kernel_pid_t pid; member in struct:pppol2tp_addr
32 __kernel_pid_t pid; member in struct:pppol2tpin6_addr
41 __kernel_pid_t pid; member in struct:pppol2tpv3_addr
50 __kernel_pid_t pid; member in struct:pppol2tpv3in6_addr
  /external/chromium_org/base/process/
internal_linux.h 28 // Returns a FilePath to "/proc/pid".
29 base::FilePath GetProcPidDir(pid_t pid);
37 // Reads /proc/<pid>/stat into |buffer|. Returns true if the file can be read
39 bool ReadProcStats(pid_t pid, std::string* buffer);
47 // Fields from /proc/<pid>/stat, 0-based. See man 5 proc.
53 VM_PPID = 3, // PID of the parent.
65 // simply |pid|, and the next two values are strings.
75 int64 ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
78 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
  /external/chromium_org/chrome/browser/extensions/api/terminal/
terminal_private_api.h 46 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/
process_info_snapshot.h 18 // |Sample()| method is called. This information can then be probed by PID.
49 base::ProcessId pid; member in struct:ProcessInfoSnapshot::ProcInfoEntry
64 // Get process information for a given PID.
65 // |pid| - self-explanatory.
67 // returns - |true| if okay, |false| on error (including PID not found).
68 bool GetProcInfo(int pid,
80 // |pid| - self-explanatory.
82 // returns - |true| on success, |false| on error (including PID not found).
83 bool GetCommittedKBytesOfPID(int pid,
96 // |pid| - self-explanatory
    [all...]
  /external/chromium_org/chromeos/process_proxy/
process_proxy_registry.cc 69 pid_t* pid,
83 if (!proxy->Open(command, pid))
91 base::Unretained(this), *pid))) {
97 DCHECK(proxy_map_.find(*pid) == proxy_map_.end());
100 // created because we don't know |pid| then.
101 ProcessProxyInfo& info = proxy_map_[*pid];
104 info.process_id = *pid;
109 bool ProcessProxyRegistry::SendInput(pid_t pid, const std::string& data) {
112 std::map<pid_t, ProcessProxyInfo>::iterator it = proxy_map_.find(pid);
118 bool ProcessProxyRegistry::CloseProcess(pid_t pid) {
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
win32deviceinfo.cc 33 // Both PID and VID are 4 characters.
41 const char pid[] = "pid_"; local
42 const size_t pid_location = device.id.find(pid);
44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) {
49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1,

Completed in 2956 milliseconds

1 2 34 5 6 7 8 91011>>