Searched refs:proc (Results 26 - 50 of 673) sorted by relevance

1234567891011>>

/external/ltrace/sysdeps/linux-gnu/arm/
H A Dregs.c30 #include "proc.h"
43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp) argument
46 long l = ptrace(PTRACE_PEEKUSER, proc->pid, (void *)(reg * 4L), 0);
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp) argument
56 return ptrace(PTRACE_PEEKUSER, proc->pid,
61 arm_get_register_offpc(struct process *proc, enum arm_register reg, argument
64 if (arm_get_register(proc, reg, lp) < 0)
72 arm_get_shifted_register(struct process *proc, uint32_t inst, int carry, argument
80 if (arm_get_register_offpc(proc, BITS(inst, 8, 11), &shift) < 0)
91 else if (arm_get_register(proc, r
124 get_register_nocheck(struct process *proc, enum arm_register r) argument
135 get_instruction_pointer(struct process *proc) argument
141 set_instruction_pointer(struct process *proc, arch_addr_t addr) argument
148 get_stack_pointer(struct process *proc) argument
154 get_return_addr(struct process *proc, arch_addr_t stack_pointer) argument
[all...]
/external/ltrace/
H A Dproc.h154 int process_init(struct process *proc, const char *filename, pid_t pid);
159 int process_exec(struct process *proc);
167 void process_destroy(struct process *proc);
175 int process_clone(struct process *retp, struct process *proc, pid_t pid);
181 enum callback_status (*cb)(struct process *proc,
187 struct process *each_task(struct process *proc, struct process *start_after,
188 enum callback_status (*cb)(struct process *proc,
192 void change_process_leader(struct process *proc, struct process *leader);
196 void process_hit_start(struct process *proc);
200 void remove_process(struct process *proc);
[all...]
H A Dbackend.h73 void trace_set_options(struct process *proc);
89 void get_arch_dep(struct process *proc);
98 void *get_instruction_pointer(struct process *proc);
101 void set_instruction_pointer(struct process *proc, void *addr);
104 void *get_stack_pointer(struct process *proc);
108 void *get_return_addr(struct process *proc, void *stack_pointer);
111 void enable_breakpoint(struct process *proc, struct breakpoint *sbp);
114 void disable_breakpoint(struct process *proc, struct breakpoint *sbp);
121 int syscall_p(struct process *proc, int status, int *sysnum);
135 void continue_after_syscall(struct process *proc, in
[all...]
H A Dfetch.h41 struct fetch_context *fetch_arg_init(enum tof type, struct process *proc,
45 struct fetch_context *fetch_arg_clone(struct process *proc,
52 struct process *proc,
58 struct process *proc,
78 struct fetch_context *arch_fetch_arg_init(enum tof type, struct process *proc,
80 struct fetch_context *arch_fetch_arg_clone(struct process *proc,
83 struct process *proc, struct arg_type_info *info,
86 struct process *proc, struct arg_type_info *info,
H A Doutput.h27 void output_line(struct process *proc, const char *fmt, ...);
28 void output_left(enum tof type, struct process *proc,
30 void output_right(enum tof type, struct process *proc,
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dtrace.c36 #include "proc.h"
73 syscall_p(struct process *proc, int status, int *sysnum) argument
76 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
77 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);
133 if (proc->callstack_depth > 0 &&
134 proc
145 get_arch_dep(struct process *proc) argument
[all...]
H A Dfetch.c34 #include "proc.h"
66 fetch_context_init(struct process *proc, struct fetch_context *context) argument
70 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->regs) < 0)
79 arch_fetch_arg_init(enum tof type, struct process *proc, argument
84 || fetch_context_init(proc, context) < 0) {
94 arch_fetch_arg_clone(struct process *proc, argument
105 allocate_stack_slot(struct fetch_context *ctx, struct process *proc, argument
108 size_t al = type_alignof(proc, info);
109 size_t sz = type_sizeof(proc, info);
114 long value = ptrace(PTRACE_PEEKDATA, proc
124 allocate_reg(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
155 copy_aggregate_part(struct fetch_context *ctx, struct process *proc, unsigned char *buf, size_t size) argument
179 allocate_arg(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
216 allocate_float(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep, int take_slot) argument
253 allocate_hfa(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep, enum arg_type hfa_type, size_t hfa_count) argument
338 allocate_ret(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
377 arch_fetch_arg_next(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
418 arch_fetch_retval(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/angle/
H A DGrGLCreateANGLEInterface.cpp18 GrGLFuncPtr proc = (GrGLFuncPtr) GetProcAddress((HMODULE)ctx, name); local
19 if (proc) {
20 return proc;
/external/ltrace/sysdeps/linux-gnu/x86/
H A Dregs.c32 #include "proc.h"
59 get_instruction_pointer(struct process *proc) argument
61 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, XIP, 0);
62 if (proc->e_machine == EM_386)
68 set_instruction_pointer(struct process *proc, arch_addr_t addr) argument
70 if (proc->e_machine == EM_386)
72 ptrace(PTRACE_POKEUSER, proc->pid, XIP, addr);
76 get_stack_pointer(struct process *proc) argument
78 long sp = ptrace(PTRACE_PEEKUSER, proc->pid, XSP, 0);
88 if (proc
94 get_return_addr(struct process *proc, void *sp) argument
[all...]
/external/jemalloc/test/include/test/
H A Dthd.h8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
/external/jemalloc/test/src/
H A Dthd.c5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
7 LPTHREAD_START_ROUTINE routine = (LPTHREAD_START_ROUTINE)proc;
26 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
29 if (pthread_create(thd, NULL, proc, arg) != 0)
/external/ltrace/sysdeps/linux-gnu/metag/
H A Dregs.c28 #include "proc.h"
32 get_instruction_pointer(struct process *proc) argument
39 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
46 set_instruction_pointer(struct process *proc, arch_addr_t addr) argument
53 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
60 ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, (long)&iov);
64 get_stack_pointer(struct process *proc) argument
71 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
78 get_return_addr(struct process *proc, void *stack_pointer) argument
85 if (ptrace(PTRACE_GETREGSET, proc
[all...]
/external/oprofile/daemon/liblegacy/
H A Dopd_parse_proc.c3 * Parsing of /proc/#pid
30 * @param proc process to add map to
35 * and add the info to the process @proc. Returns %1
43 static int opd_add_ascii_map(struct opd_proc * proc, char const * line, argument
75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid);
79 opd_add_mapping(proc, image, start, offset, end);
87 * @param proc process to work on
89 * Read the /proc/<pid>/maps file and add all
90 * mapping information found to the process @proc
92 opd_get_ascii_maps(struct opd_proc * proc) argument
203 struct opd_proc * proc; local
[all...]
H A Dopd_mapping.c55 void opd_kill_maps(struct opd_proc * proc) argument
59 list_for_each_safe(pos, pos2, &proc->maps) {
68 void opd_add_mapping(struct opd_proc * proc, struct opd_image * image, argument
74 proc->tid, start, end, offset, image->name);
79 if (list_empty(&proc->maps)) {
80 if (proc->name)
81 free((char *)proc->name);
82 proc->name = xstrdup(image->name);
91 list_add_tail(&map->next, &proc->maps);
141 struct opd_proc * proc; local
[all...]
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dfetch.c31 #include "proc.h"
34 static int allocate_gpr(struct fetch_context *ctx, struct process *proc,
69 fetch_context_init(struct process *proc, struct fetch_context *context) argument
74 if (proc->e_machine == EM_PPC)
75 context->stack_pointer = proc->stack_pointer + 8;
77 context->stack_pointer = proc->stack_pointer + 112;
85 if (proc->e_machine == EM_PPC64) {
86 if (ptrace(PTRACE_GETREGS64, proc->pid, 0,
91 if (ptrace(PTRACE_GETREGS, proc->pid, 0,
98 if (ptrace(PTRACE_GETREGS, proc
111 arch_fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info) argument
135 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) argument
146 allocate_stack_slot(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
173 read_gpr(struct fetch_context *ctx, struct process *proc, int reg_num) argument
218 allocate_gpr(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
248 allocate_float(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
279 allocate_argument(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
402 arch_fetch_arg_next(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
410 arch_fetch_retval(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-exceptions.rb13 proc {
/external/chromium_org/tools/
H A Ddiagnose-me.py25 proc = subprocess.Popen(['/usr/bin/ld', '-v'], stdout=subprocess.PIPE)
26 stdout = proc.communicate()[0]
36 proc = subprocess.Popen(['which', '-a', 'ld'], stdout=subprocess.PIPE)
37 stdout = proc.communicate()[0]
72 proc = subprocess.Popen(['which', 'ninja'], stdout=subprocess.PIPE)
73 stdout = proc.communicate()[0]
87 proc = subprocess.Popen([script_path, '--quick-check'],
89 stdout = proc.communicate()[0]
/external/chromium_org/tools/gyp/test/ios/app-bundle/TestApp/
H A Dcheck_no_signature.py8 proc = subprocess.Popen(['codesign', '-v', p], variable
10 o = proc.communicate()[0].strip()
/external/skia/src/gpu/gl/win/
H A DGrGLCreateNativeInterface_win.cpp37 GrGLFuncPtr proc; local
38 if (NULL != (proc = (GrGLFuncPtr) GetProcAddress(fGLLib.get(), name))) {
39 return proc;
41 if (NULL != (proc = (GrGLFuncPtr) wglGetProcAddress(name))) {
42 return proc;
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dtrace.c38 #include "proc.h"
60 \param proc The process that had an event.
64 Most targets just return here. A couple use proc->arch_ptr for a
68 get_arch_dep(struct process *proc) argument
73 \param proc Process that had event.
90 syscall_p(struct process *proc, int status, int *sysnum) argument
93 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
95 long pc = (long)get_instruction_pointer(proc);
97 int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 4, 0);
98 int num = ptrace(PTRACE_PEEKTEXT, proc
147 mips_next_pcs(struct process *proc, uint32_t pc, uint32_t *newpc) argument
268 arch_sw_singlestep(struct process *proc, struct breakpoint *bp, int (*add_cb)(arch_addr_t, struct sw_singlestep_data *), struct sw_singlestep_data *add_cb_data) argument
323 gimme_arg(enum tof type, struct process *proc, int arg_num, struct arg_type_info *info) argument
[all...]
/external/chromium_org/third_party/skia/tools/
H A Dmerge_static_libs.py32 proc = subprocess.Popen([ar, '-t', in_lib], stdout=subprocess.PIPE)
33 proc.wait()
34 obj_str = proc.communicate()[0]
36 proc = subprocess.Popen([ar, '-x', in_lib], stdout=subprocess.PIPE,
38 proc.wait()
39 if proc.poll() == 0:
43 elif 'thin archive' in proc.communicate()[0]:
/external/skia/tools/
H A Dmerge_static_libs.py32 proc = subprocess.Popen([ar, '-t', in_lib], stdout=subprocess.PIPE)
33 proc.wait()
34 obj_str = proc.communicate()[0]
36 proc = subprocess.Popen([ar, '-x', in_lib], stdout=subprocess.PIPE,
38 proc.wait()
39 if proc.poll() == 0:
43 elif 'thin archive' in proc.communicate()[0]:
/external/chromium_org/base/process/
H A Dprocess_info_mac.cc25 proc(static_cast<struct kinfo_proc*>(malloc(len)));
26 if (sysctl(mib, arraysize(mib), proc.get(), &len, NULL, 0) < 0)
28 return Time::FromTimeVal(proc->kp_proc.p_un.__p_starttime);
/external/iputils/
H A Dipg3 if [ -e /proc/modules ] ; then
8 for PGDEV in /proc/net/pg /proc/net/pktgen/pg0 / ; do
12 echo "Could not locate pg in /proc/net" 1>&2
/external/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.h33 bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr,
37 bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length);
39 bool InferiorCall(Process *proc, const Address *address, lldb::addr_t &returned_func);

Completed in 569 milliseconds

1234567891011>>