HomeSort by relevance Sort by last modified time
    Searched refs:pid (Results 26 - 50 of 592) sorted by null

12 3 4 5 6 7 8 91011>>

  /system/core/debuggerd/
pr-support.c 50 pid_t pid);
86 next_unwind_byte_with_ptrace (__gnu_unwind_state * uws, pid_t pid)
96 uws->data = get_remote_word(pid, uws->next);
112 pid_t pid)
121 op = next_unwind_byte_with_ptrace (uws, pid);
153 op = (op << 8) | next_unwind_byte_with_ptrace (uws, pid);
162 pid)
189 pid)
199 op = next_unwind_byte_with_ptrace (uws, pid);
205 _UVRSD_UINT32, pid)
    [all...]
unwind-arm.c 174 pid_t pid);
185 pid_t pid)
206 vrs->core.r[i] = get_remote_word(pid, ptr);
226 selfrel_offset31 (const _uw *p, pid_t pid)
228 _uw offset = get_remote_word(pid, (void*)p);
246 pid_t pid)
261 this_fn = selfrel_offset31 (&table[n].fnoffset, pid);
263 next_fn = selfrel_offset31 (&table[n + 1].fnoffset, pid) - 1;
282 get_eitp(_uw return_address, pid_t pid, mapinfo *map, mapinfo **containing_map)
304 eitp = search_EIT_table (eitp, nrec, return_address, pid);
    [all...]
utility.c 26 /* Get a word from pid using ptrace. The result is the return value. */
27 int get_remote_word(int pid, void *src)
29 return ptrace(PTRACE_PEEKTEXT, pid, src, NULL);
33 /* Handy routine to read aggregated data from pid using ptrace. The read
36 void get_remote_struct(int pid, void *src, void *dst, size_t size)
41 *(int *)(dst+i) = ptrace(PTRACE_PEEKTEXT, pid, src+i, NULL);
48 val = ptrace(PTRACE_PEEKTEXT, pid, src+i, NULL);
  /bionic/libc/stdio/
mktemp.c 90 pid_t pid; local
106 pid = getpid();
107 while (trv >= path && *trv == 'X' && pid != 0) {
108 *trv-- = (pid % 10) + '0';
109 pid /= 10;
114 pid = (arc4random() & 0xffff) % (26+26);
115 if (pid < 26)
116 c = pid + 'A';
118 c = (pid - 26) + 'a';
  /external/blktrace/btt/
proc.c 30 __u32 pid; member in union:pn_info::__anon1635
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...]
  /external/bluetooth/glib/gio/inotify/
inotify-diag.c 42 pid_t pid; local
46 pid = getpid ();
48 fname = g_strdup_printf ("/tmp/gvfsid.%d", pid);
  /system/core/toolbox/
kill.c 23 int pid = atoi(argv[0]); local
24 int err = kill(pid, sig);
27 fprintf(stderr, "could not kill pid %d: %s\n", pid, strerror(errno));
schedtop.c 16 int pid; member in struct:thread_info
92 static void add_thread(int pid, int tid, struct thread_info *proc_info)
102 info->pid = pid;
106 sprintf(line, "/proc/%d/task/%d/schedstat", pid, tid);
108 sprintf(line, "/proc/%d/schedstat", pid);
121 sprintf(line, "/proc/%d/cmdline", pid);
129 sprintf(line, "/proc/%d/task/%d/stat", pid, tid);
131 sprintf(line, "/proc/%d/stat", pid);
153 static void add_threads(int pid, struct thread_info *proc_info
201 int pid = atoi(de->d_name); local
229 int pid = last_processes.data[i].pid; local
    [all...]
  /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/qemu/hw/
goldfish_nand.h 21 int pid; member in struct:__anon6475
  /hardware/ti/wlan/wl1271/platforms/os/linux/inc/
tracebuf.h 46 #define TB_ID current->pid
  /system/core/libcutils/
iosched_policy.c 41 int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio) {
43 if (ioprio_set(WHO_PROCESS, pid, ioprio | (clazz << CLASS_SHIFT))) {
50 int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio) {
54 if ((rc = ioprio_get(WHO_PROCESS, pid)) < 0) {
zygote.c 52 uint32_t pid;
137 // Read the pid, as a 4-byte network-order integer
139 ivs[0].iov_base = &pid;
140 ivs[0].iov_len = sizeof(pid);
156 pid = ntohl(pid);
158 return pid;
165 int pid; local
181 pid = send_request(fd, 1, argc + 1, newargv);
183 if (pid > 0 && post_run_func != NULL)
222 int pid; local
    [all...]
  /system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
tracebuf.h 46 #define TB_ID current->pid
  /external/bison/lib/
subpipe.c 114 pid_t pid; local
125 pid = vfork ();
126 if (pid < 0)
130 if (! pid)
151 return pid;
158 reap_subpipe (pid_t pid, char const *program)
162 if (waitpid (pid, &wstatus, 0) < 0)
183 end_of_output_subpipe (pid_t pid ATTRIBUTE_UNUSED,
  /external/dbus/tools/
dbus-launch.h 53 int x11_get_address (char **paddress, pid_t *pid, long *wid);
54 int x11_save_address (char *address, pid_t pid, long *wid);
  /external/webkit/WebKitTools/DumpRenderTree/mac/PerlSupport/
DumpRenderTreeSupport.c 28 int processIsCrashing(int pid)
30 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid };
  /sdk/emulator/qtools/tests/
macros.h 39 #define TRACE_SWITCH(pid) DEV_WRITE_WORD(TRACE_DEV_REG_SWITCH, (pid))
41 #define TRACE_FORK(pid) DEV_WRITE_WORD(TRACE_DEV_REG_FORK, (pid))
43 #define TRACE_CLONE(pid) DEV_WRITE_WORD(TRACE_DEV_REG_CLONE, (pid))
45 #define TRACE_INIT_NAME(pid,path)\
47 DEV_WRITE_WORD(TRACE_DEV_REG_INIT_PID, (pid));\
  /libcore/dalvik/src/main/native/
dalvik_system_TouchDex.cpp 48 static void logProcStatus(pid_t pid);
76 pid_t pid; local
124 pid = fork();
125 if (pid < 0) {
130 if (pid == 0) {
195 LOGD("TouchDex parent waiting for pid=%d (timeout=%.1fs)\n",
196 (int) pid, timeout / 10.0);
199 cc = waitpid(pid, &result, WNOHANG);
201 LOGE("waitpid(%d) failed: %s", (int) pid, strerror(errno));
212 /* note kill(0) returns 0 if the pid is a zombie *
    [all...]
  /sdk/emulator/qtools/
parse_options-inl.h 30 if (include_some_pids && pid_include_vector.GetBit(event->pid) == 0)
32 if (exclude_some_pids && pid_exclude_vector.GetBit(event->pid))
45 inline bool IsValidPid(int pid) {
46 if (include_some_pids && pid_include_vector.GetBit(pid) == 0)
48 if (exclude_some_pids && pid_exclude_vector.GetBit(pid))
53 inline symbol_type *GetSymbol(TraceReaderType *trace, int pid, uint32_t addr,
56 symbol_type *sym = trace->LookupFunction(pid, addr, time);
111 while (pid_include_vector.GetBit(event->pid) == 0) {
118 while (pid_exclude_vector.GetBit(event->pid)) {
127 sym = GetSymbol(trace, event->pid, event->bb_addr, event->time)
    [all...]
q2dm.cpp 73 int pid = base->getId(); local
78 stack->getGlobalTime(time), pid, stackLevel,
82 FunctionStack *fstack = dmtrace_stack[pid];
85 dmtrace_stack[pid] = fstack;
89 thread_time[pid] = time;
90 dmtrace->addFunctionEntry(function->id, time, pid);
95 int pid = base->getId(); local
100 stack->getGlobalTime(time), pid, stackLevel,
104 FunctionStack *fstack = dmtrace_stack[pid];
107 dmtrace_stack[pid] = fstack
    [all...]
check_stack.cpp 20 void compareStacks(uint64_t time, int pid);
21 void dumpStacks(int pid);
118 if (!IsValidPid(proc->pid))
122 Stack *mStack = mStacks[proc->pid];
127 mStacks[proc->pid] = mStack;
148 CallStackType *eStack = eStacks[event.pid];
152 eStack = new CallStackType(event.pid, kNumStackFrames, etrace);
153 eStacks[event.pid] = eStack;
162 compareStacks(event.time, event.pid);
175 void compareStacks(uint64_t time, int pid) {
    [all...]
  /system/core/init/
signal_handler.c 46 pid_t pid; local
54 while ( (pid = waitpid(-1, &status, block ? 0 : WNOHANG)) == -1 && errno == EINTR );
55 if (pid <= 0) return -1;
56 INFO("waitpid returned pid %d, status = %08x\n", pid, status);
58 svc = service_find_by_pid(pid);
60 ERROR("untracked pid %d exited\n", pid);
64 NOTICE("process '%s', pid %d exited\n", svc->name, pid);
    [all...]
  /bionic/libc/unistd/
system.c 43 pid_t pid; local
57 switch (pid = vfork()) {
69 pid = waitpid(pid, (int *)&pstat, 0);
73 return (pid == -1 ? -1 : pstat);
  /frameworks/base/core/java/android/os/
Process.java 260 * @return int If > 0 the pid of the new process; if 0 the process is
418 * and returns the child's pid. Please note: the present implementation
421 * @return PID of new child process
427 int pid; local
438 * After the zygote process reads these it will write the pid of
459 pid = sZygoteInputStream.readInt();
461 if (pid < 0) {
479 return pid;
493 * @return PID
503 int pid; local
    [all...]

Completed in 2900 milliseconds

12 3 4 5 6 7 8 91011>>