Searched defs:proc (Results 176 - 200 of 285) sorted by relevance

1234567891011>>

/external/ltrace/sysdeps/linux-gnu/arm/
H A Dtrace.c34 #include "proc.h"
49 get_arch_dep(struct process *proc) argument
53 if (!proc->arch_ptr)
54 proc->arch_ptr = (void *)malloc(sizeof(proc_archdep));
55 a = (proc_archdep *) (proc->arch_ptr);
56 a->valid = (ptrace(PTRACE_GETREGS, proc->pid, 0, &a->regs) >= 0);
65 syscall_p(struct process *proc, int status, int *sysnum) argument
68 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
70 if (arm_get_register(proc, ARM_REG_PC, &pc) < 0
71 || arm_get_register(proc, ARM_REG_I
133 arm_get_next_pcs(struct process *proc, const arch_addr_t pc, arch_addr_t next_pcs[2]) argument
394 thumb_get_next_pcs(struct process *proc, const arch_addr_t pc, arch_addr_t next_pcs[2]) argument
639 arch_sw_singlestep(struct process *proc, struct breakpoint *sbp, int (*add_cb)(arch_addr_t, struct sw_singlestep_data *), struct sw_singlestep_data *add_cb_data) argument
670 arch_type_sizeof(struct process *proc, struct arg_type_info *info) argument
710 arch_type_alignof(struct process *proc, struct arg_type_info *info) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/ia64/
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/mesa3d/src/egl/main/
H A Degldriver.c664 _EGLProc proc = NULL; local
679 proc = mod->Driver->API.GetProcAddress(mod->Driver, procname);
680 if (proc)
684 return proc;
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysvideo.cc64 static void* BE_GL_GetProcAddress(_THIS, const char *proc);
697 void* BE_GL_GetProcAddress(_THIS, const char *proc) argument
702 if ((err = get_image_symbol((image_id)_this->gl_config.dll_handle, proc, B_SYMBOL_TYPE_ANY, &location)) == B_OK) {
/external/skia/bench/
H A DDashBench.cpp184 MakeDashBench(void (*proc)(SkPath*), const char name[]) { argument
186 proc(&fPath);
/external/skia/src/core/
H A DSkBlitMask_D32.cpp75 BlitLCD16RowProc proc = PlatformBlitRowProcs16(isOpaque); local
76 if (proc) {
77 return proc;
95 SkBlitMask::BlitLCD16RowProc proc = NULL; local
97 proc = SkBlitMask::BlitLCD16RowFactory(isOpaque);
98 SkASSERT(proc != NULL);
107 proc(dstRow, srcRow, color, width, opaqueDst);
243 ColorProc proc = PlatformColorProcs(ct, format, color); local
244 if (proc) {
245 return proc;
269 ColorProc proc = ColorFactory(device.colorType(), mask.fFormat, color); local
562 RowProc proc = PlatformRowProcs(ct, format, flags); local
[all...]
H A DSkPicture.cpp345 SkPicture* SkPicture::CreateFromStream(SkStream* stream, InstallPixelRefProc proc) { argument
354 SkPicturePlayback* playback = SkPicturePlayback::CreateFromStream(stream, info, proc);
/external/skia/src/effects/
H A DSkColorFilters.cpp61 SkXfermodeProc proc = fProc; variable
64 result[i] = proc(color, shader[i]);
H A DSkColorMatrixFilter.cpp225 Proc proc = fProc; local
229 if (NULL == proc) {
258 proc(state, r, g, b, a, result);
273 Proc proc = fProc; local
277 if (NULL == proc) {
292 proc(state, r, g, b, 0, result);
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp86 SkMatrix::MapXYProc proc = fDstToIndexProc; local
93 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
118 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
128 SkMatrix::MapXYProc proc = fDstToIndexProc; local
135 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
161 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
/external/skia/tools/
H A Drender_pictures_main.cpp163 SkPicture::InstallPixelRefProc proc; local
165 proc = &sk_tools::LazyDecodeBitmap;
169 proc = &write_image_to_file;
171 proc = &SkImageDecoder::DecodeMemory;
176 SkPicture* picture = SkPicture::CreateFromStream(&inputStream, proc);
/external/chromium_org/third_party/skia/bench/
H A DMathBench.cpp294 IsFiniteProc proc = fProc; local
299 if (proc) {
302 counter += proc(&data[i]);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAll.cpp250 raster_proc proc = gRastProcs[index]; local
251 if (proc) {
256 proc(&rastBuilder, p);
H A DSampleWarp.cpp420 WarpProc proc = apply_warp2; local
425 fMesh.pt(x, y) = proc(delta, length, p0, p1, fOrig.pt(x, y));
/external/chromium_org/third_party/skia/src/core/
H A DSkGlyphCache.cpp408 bool SkGlyphCache::getAuxProcData(void (*proc)(void*), void** dataPtr) const { argument
411 if (rec->fProc == proc) {
422 void SkGlyphCache::setAuxProc(void (*proc)(void*), void* data) { argument
423 if (proc == NULL) {
429 if (rec->fProc == proc) {
437 rec->fProc = proc;
498 bool (*proc)(const SkGlyphCache*, void*),
544 if (!proc(cache, context)) { // need to reattach
/external/chromium_org/third_party/skia/src/effects/
H A DSkAlphaThresholdFilter.cpp197 const GrProcessor& proc) {
198 const AlphaThresholdEffect& alpha_threshold = proc.cast<AlphaThresholdEffect>();
196 setData(const GrGLProgramDataManager& pdman, const GrProcessor& proc) argument
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp97 SkMatrix::MapXYProc proc = fDstToIndexProc; local
104 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
129 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
139 SkMatrix::MapXYProc proc = fDstToIndexProc; local
146 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
172 proc(matrix, SkIntToScalar(x) + SK_ScalarHalf,
/external/e2fsprogs/e2fsck/
H A Dutil.c439 struct ext2_inode * inode, const char *proc)
446 _("while reading inode %lu in %s"), ino, proc);
453 const char *proc)
460 _("while reading inode %lu in %s"), ino, proc);
467 const char *proc)
474 _("while writing inode %lu in %s"), ino, proc);
480 struct ext2_inode * inode, const char *proc)
487 _("while writing inode %lu in %s"), ino, proc);
659 * Check to see if a filesystem is in /proc/filesystems.
667 f = fopen("/proc/filesystem
438 e2fsck_read_inode(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, const char *proc) argument
451 e2fsck_read_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode *inode, int bufsize, const char *proc) argument
465 e2fsck_write_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, int bufsize, const char *proc) argument
479 e2fsck_write_inode(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, const char *proc) argument
[all...]
/external/ltrace/
H A Doutput.c46 #include "proc.h"
58 output_indent(struct process *proc) argument
60 int d = options.indent * (proc->callstack_depth - 1);
65 begin_of_line(struct process *proc, int is_func, int indent) argument
68 if (!proc) {
72 current_column += fprintf(options.output, "%u ", proc->pid);
74 current_column += fprintf(options.output, "[pid %u] ", proc->pid);
123 = &proc->callstack[proc->callstack_depth - 1];
128 proc
227 find_proto_cb(struct process *proc, struct library *lib, void *d) argument
235 lookup_symbol_prototype(struct process *proc, struct library_symbol *libsym) argument
255 output_line(struct process *proc, const char *fmt, ...) argument
295 fetch_simple_param(enum tof type, struct process *proc, struct fetch_context *context, struct value_dict *arguments, struct arg_type_info *info, int own, struct value *valuep) argument
338 fetch_param_pack(enum tof type, struct process *proc, struct fetch_context *context, struct value_dict *arguments, struct param *param, ssize_t *params_leftp) argument
392 fetch_one_param(enum tof type, struct process *proc, struct fetch_context *context, struct value_dict *arguments, struct param *param, ssize_t *params_leftp) argument
423 struct process *proc; member in struct:fetch_one_param_data
441 fetch_params(enum tof type, struct process *proc, struct fetch_context *context, struct value_dict *arguments, struct prototype *func, ssize_t *params_leftp) argument
495 output_left(enum tof type, struct process *proc, struct library_symbol *libsym) argument
639 output_right(enum tof type, struct process *proc, struct library_symbol *libsym, struct timedelta *spent) argument
[all...]
H A Dproc.c37 #include "proc.h"
42 os_process_init(struct process *proc) argument
48 os_process_destroy(struct process *proc) argument
53 os_process_clone(struct process *retp, struct process *proc) argument
59 os_process_exec(struct process *proc) argument
67 arch_process_init(struct process *proc) argument
73 arch_process_destroy(struct process *proc) argument
78 arch_process_clone(struct process *retp, struct process *proc) argument
84 arch_process_exec(struct process *proc) argument
92 arch_dynlink_done(struct process *proc) argument
101 destroy_unwind(struct process *proc) argument
117 process_bare_init(struct process *proc, const char *filename, pid_t pid, int was_exec) argument
183 process_bare_destroy(struct process *proc, int was_exec) argument
195 process_init_main(struct process *proc) argument
207 process_init(struct process *proc, const char *filename, pid_t pid) argument
239 destroy_breakpoint_cb(struct process *proc, struct breakpoint *bp, void *data) argument
250 private_process_destroy(struct process *proc, int was_exec) argument
293 process_destroy(struct process *proc) argument
301 process_exec(struct process *proc) argument
324 struct process *proc = malloc(sizeof(*proc)); local
358 process_clone(struct process *retp, struct process *proc, pid_t pid) argument
501 struct process *proc = open_program(filename, pid); local
511 start_one_pid(struct process *proc, void *data) argument
518 is_main(struct process *proc, struct library *lib, void *data) argument
524 process_hit_start(struct process *proc) argument
599 find_proc(struct process *proc, void *data) argument
613 unlist_process(struct process *proc) argument
634 each_process(struct process *start_after, enum callback_status(*cb)(struct process *proc, void *data), void *data) argument
658 each_task(struct process *proc, struct process *start_after, enum callback_status(*cb)(struct process *proc, void *data), void *data) argument
686 add_process(struct process *proc, int was_exec) argument
713 change_process_leader(struct process *proc, struct process *leader) argument
730 clear_leader(struct process *proc, void *data) argument
739 remove_process(struct process *proc) argument
753 install_event_handler(struct process *proc, struct event_handler *handler) argument
761 destroy_event_handler(struct process *proc) argument
773 breakpoint_for_symbol(struct library_symbol *libsym, struct process *proc) argument
849 proc_activate_latent_symbol(struct process *proc, struct library_symbol *libsym) argument
859 proc_activate_delayed_symbol(struct process *proc, struct library_symbol *libsym) argument
869 activate_latent_in(struct process *proc, struct library *lib, void *data) argument
886 proc_add_library(struct process *proc, struct library *lib) argument
968 proc_remove_library(struct process *proc, struct library *lib) argument
980 proc_each_library(struct process *proc, struct library *it, enum callback_status (*cb)(struct process *proc, struct library *lib, void *data), void *data) argument
1009 check_leader(struct process *proc) argument
1019 proc_add_breakpoint(struct process *proc, struct breakpoint *bp) argument
1041 proc_remove_breakpoint(struct process *proc, struct breakpoint *bp) argument
1053 struct process *proc; member in struct:each_breakpoint_data
1068 proc_each_breakpoint(struct process *proc, arch_addr_t *start, enum callback_status (*cb)(struct process *proc, struct breakpoint *bp, void *data), void *data) argument
1084 proc_find_symbol(struct process *proc, struct library_symbol *sym, struct library **retlib, struct library_symbol **retsym) argument
1110 proc_each_symbol(struct process *proc, struct library_symbol *start_after, enum callback_status (*cb)(struct library_symbol *, void *), void *data) argument
[all...]
H A Dtype.c135 layout_struct(struct process *proc, struct arg_type_info *info, argument
151 size_t alignment = type_alignof(proc, field->info);
163 size_t size = type_sizeof(proc, field->info);
355 size_t arch_type_sizeof(struct process *proc, struct arg_type_info *arg);
358 arch_type_sizeof(struct process *proc, struct arg_type_info *arg) argument
366 size_t arch_type_alignof(struct process *proc, struct arg_type_info *arg);
369 arch_type_alignof(struct process *proc, struct arg_type_info *arg) argument
390 type_sizeof(struct process *proc, struct arg_type_info *type) argument
392 size_t arch_size = arch_type_sizeof(proc, type);
420 if (layout_struct(proc, typ
460 type_alignof(struct process *proc, struct arg_type_info *type) argument
513 type_offsetof(struct process *proc, struct arg_type_info *type, size_t emt) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dplt.c31 #include "proc.h"
197 arch_dynlink_done(struct process *proc) argument
201 while ((libsym = proc_each_symbol(proc, libsym,
203 if (proc_read_64(proc, libsym->enter_addr,
212 if (proc->e_machine == EM_PPC)
215 if (proc_activate_delayed_symbol(proc, libsym) < 0)
218 if (proc->e_machine == EM_PPC)
284 arch_translate_address_dyn(struct process *proc, argument
287 if (proc->e_machine == EM_PPC64) {
289 if (proc_read_64(proc, add
351 sym2addr(struct process *proc, struct library_symbol *sym) argument
593 read_plt_slot_value(struct process *proc, GElf_Addr addr, GElf_Addr *valp) argument
612 unresolve_plt_slot(struct process *proc, GElf_Addr addr, GElf_Addr value) argument
627 arch_elf_add_func_entry(struct process *proc, struct ltelf *lte, const GElf_Sym *sym, arch_addr_t addr, const char *name, struct library_symbol **ret) argument
691 arch_elf_add_plt_entry(struct process *proc, struct ltelf *lte, const char *a_name, GElf_Rela *rela, size_t ndx, struct library_symbol **ret) argument
825 dl_plt_update_bp_on_hit(struct breakpoint *bp, struct process *proc) argument
865 struct process *proc = self->task_enabling_breakpoint; local
940 jump_to_entry_point(struct process *proc, struct breakpoint *bp) argument
950 ppc_plt_bp_continue(struct breakpoint *bp, struct process *proc) argument
1043 ppc_plt_bp_retract(struct breakpoint *bp, struct process *proc) argument
1058 ppc_plt_bp_install(struct breakpoint *bp, struct process *proc) argument
1152 arch_breakpoint_init(struct process *proc, struct breakpoint *bp) argument
1200 arch_process_init(struct process *proc) argument
1208 arch_process_destroy(struct process *proc) argument
1213 arch_process_clone(struct process *retp, struct process *proc) argument
1232 arch_process_exec(struct process *proc) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/
H A Dproc.c49 #include "proc.h"
51 /* /proc/pid doesn't exist just after the fork, and sometimes `ltrace'
70 PROC_PID_FILE(proc_exe, "/proc/%d/exe", pid);
85 PROC_PID_FILE(fn, "/proc/%d/status", pid);
235 PROC_PID_FILE(fn, "/proc/%d/task", pid);
283 select_32_64(struct process *proc, void *p32, void *p64) argument
285 if (sizeof(long) == 4 || proc->mask_32bit)
292 fetch_dyn64(struct process *proc, arch_addr_t *addr, Elf64_Dyn *ret) argument
294 if (umovebytes(proc, *addr, ret, sizeof(*ret)) != sizeof(*ret))
301 fetch_dyn32(struct process *proc, arch_addr_ argument
315 dyn_fetcher(struct process *proc) argument
322 proc_find_dynamic_entry_addr(struct process *proc, arch_addr_t src_addr, int d_tag, arch_addr_t *ret) argument
368 fetch_lm64(struct process *proc, arch_addr_t addr, struct lt_link_map_64 *ret) argument
377 fetch_lm32(struct process *proc, arch_addr_t addr, struct lt_link_map_64 *ret) argument
394 lm_fetcher(struct process *proc) argument
414 fetch_rd64(struct process *proc, arch_addr_t addr, struct lt_r_debug_64 *ret) argument
423 fetch_rd32(struct process *proc, arch_addr_t addr, struct lt_r_debug_64 *ret) argument
440 rdebug_fetcher(struct process *proc) argument
467 auxv_fetcher(struct process *proc) argument
473 crawl_linkmap(struct process *proc, struct lt_r_debug_64 *dbg) argument
558 load_debug_struct(struct process *proc, struct lt_r_debug_64 *ret) argument
571 rdebug_bp_on_hit(struct breakpoint *bp, struct process *proc) argument
602 arch_find_dl_debug(struct process *proc, arch_addr_t dyn_addr, arch_addr_t *ret) argument
610 linkmap_init(struct process *proc, arch_addr_t dyn_addr) argument
665 process_removed(struct process *proc) argument
671 process_get_entry(struct process *proc, arch_addr_t *entryp, arch_addr_t *interp_biasp) argument
723 os_process_init(struct process *proc) argument
731 os_process_destroy(struct process *proc) argument
736 os_process_clone(struct process *retp, struct process *proc) argument
743 os_process_exec(struct process *proc) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/x86/
H A Dfetch.c35 #include "proc.h"
348 classify(struct process *proc, struct fetch_context *context,
354 classify_eightbyte(struct process *proc, struct fetch_context *context, argument
365 size_t sz = type_sizeof(proc, info2);
368 if (classify(proc, context, info2, &cls2, sz, 1) < 0)
389 classify_eightbytes(struct process *proc, struct fetch_context *context, argument
403 if (type_offsetof(proc, info, i) >= 8) {
409 if (classify_eightbyte(proc, context, info, &cls1,
411 || classify_eightbyte(proc, context, info, &cls2,
425 return classify_eightbyte(proc, contex
457 classify(struct process *proc, struct fetch_context *context, struct arg_type_info *info, enum arg_class classes[], size_t sz, size_t eightbytes) argument
542 classify_argument(struct process *proc, struct fetch_context *context, struct arg_type_info *info, struct value *valuep, enum arg_class classes[], size_t *sizep) argument
570 fetch_register_banks(struct process *proc, struct fetch_context *context, int floating) argument
590 arch_fetch_arg_next_32(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
613 arch_fetch_retval_32(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
679 arch_fetch_arg_init_32(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *ret_info) argument
706 arch_fetch_arg_init_64(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *ret_info) argument
732 arch_fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info) argument
759 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) argument
768 arch_fetch_pool_arg_next(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep, enum reg_pool pool) argument
810 arch_fetch_fun_retval(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
842 arch_fetch_arg_next(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
866 arch_fetch_retval(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DCDPlayer.c522 void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom) argument
527 completionProc = proc;

Completed in 909 milliseconds

1234567891011>>