/external/ltrace/sysdeps/linux-gnu/arm/ |
H A D | regs.c | 30 #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 D | proc.h | 154 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 D | backend.h | 73 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 D | fetch.h | 41 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 D | output.h | 27 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 D | trace.c | 36 #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 D | fetch.c | 34 #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/ltrace/sysdeps/linux-gnu/x86/ |
H A D | regs.c | 32 #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 D | thd.h | 8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
|
/external/jemalloc/test/src/ |
H A D | thd.c | 5 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 D | regs.c | 28 #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 D | opd_parse_proc.c | 3 * 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 D | opd_mapping.c | 55 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 D | fetch.c | 31 #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 D | test-exceptions.rb | 13 proc {
|
/external/chromium_org/tools/ |
H A D | diagnose-me.py | 25 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 D | check_no_signature.py | 8 proc = subprocess.Popen(['codesign', '-v', p], variable 10 o = proc.communicate()[0].strip()
|
/external/chromium_org/third_party/skia/src/gpu/gl/win/ |
H A D | GrGLCreateNativeInterface_win.cpp | 37 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/skia/src/gpu/gl/win/ |
H A D | GrGLCreateNativeInterface_win.cpp | 37 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 D | trace.c | 38 #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 D | merge_static_libs.py | 32 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 D | merge_static_libs.py | 32 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 D | process_info_mac.cc | 25 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 D | ipg | 3 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 D | InferiorCallPOSIX.h | 33 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);
|