Searched defs:proc (Results 126 - 150 of 285) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/tests/
H A DRegionTest.cpp184 void (*proc)(skiatest::Reporter*,
192 proc(reporter, outer, inner);
183 test_proc(skiatest::Reporter* reporter, void (*proc)(skiatest::Reporter*, const SkRegion& a, const SkRegion&)) argument
H A DScalarTest.cpp95 static bool isFinite2_and(float x, float y, IsFiniteProc1 proc) { argument
96 return proc(x) && proc(y);
99 static bool isFinite2_mulzeroadd(float x, float y, IsFiniteProc1 proc) { argument
100 return proc(x * 0 + y * 0);
/external/chromium_org/third_party/skia/tools/
H A Dbench_pictures_main.cpp190 SkPicture::InstallPixelRefProc proc; local
192 proc = &sk_tools::LazyDecodeBitmap;
194 proc = &SkImageDecoder::DecodeMemory;
196 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
/external/chromium_org/ui/gfx/win/
H A Dhwnd_util.cc97 WNDPROC SetWindowProc(HWND hwnd, WNDPROC proc) { argument
103 SetWindowLongPtr(hwnd, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(proc));
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dthread_map.c30 sprintf(name, "/proc/%d/task", pid);
63 DIR *proc; local
72 proc = opendir("/proc");
73 if (proc == NULL)
78 while (!readdir_r(proc, &dirent, &next) && next) {
87 snprintf(path, sizeof(path), "/proc/%s", dirent.d_name);
95 snprintf(path, sizeof(path), "/proc/%d/task", pid);
127 closedir(proc);
182 sprintf(name, "/proc/
[all...]
/external/lldb/source/Host/common/
H A DFile.cpp297 char proc[64]; local
299 if (::snprintf(proc, sizeof(proc), "/proc/self/fd/%d", GetDescriptor()) < 0)
304 if ((len = ::readlink(proc, path, sizeof(path) - 1)) == -1)
/external/ltrace/
H A Dbreakpoints.c41 #include "proc.h"
45 arch_translate_address_dyn(struct process *proc, argument
63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc) argument
67 (bp->cbs->on_hit)(bp, proc);
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc) argument
75 (bp->cbs->on_continue)(bp, proc);
77 continue_after_breakpoint(proc, bp);
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc) argument
85 (bp->cbs->on_retract)(bp, proc);
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc) argument
97 breakpoint_get_return_bp(struct breakpoint **ret, struct breakpoint *bp, struct process *proc) argument
113 address2bpstruct(struct process *proc, arch_addr_t addr) argument
128 os_breakpoint_init(struct process *proc, struct breakpoint *sbp) argument
147 arch_breakpoint_init(struct process *proc, struct breakpoint *sbp) argument
180 breakpoint_init(struct breakpoint *bp, struct process *proc, arch_addr_t addr, struct library_symbol *libsym) argument
234 breakpoint_turn_on(struct breakpoint *bp, struct process *proc) argument
246 breakpoint_turn_off(struct breakpoint *bp, struct process *proc) argument
256 create_default_return_bp(struct process *proc) argument
269 insert_breakpoint_at(struct process *proc, arch_addr_t addr, struct library_symbol *libsym) argument
301 insert_breakpoint(struct process *proc, struct breakpoint *bp) argument
333 delete_breakpoint_at(struct process *proc, arch_addr_t addr) argument
352 delete_breakpoint(struct process *proc, struct breakpoint *bp) argument
386 struct process *proc = data; local
394 disable_all_breakpoints(struct process *proc) argument
403 entry_breakpoint_on_hit(struct breakpoint *bp, struct process *proc) argument
412 entry_breakpoint_init(struct process *proc, struct breakpoint *bp, arch_addr_t addr, struct library *lib) argument
429 breakpoints_init(struct process *proc) argument
[all...]
H A Dprintf.c53 struct process *proc = cb_args[0].inferior; local
54 assert(proc != NULL);
84 self->width = type_sizeof(proc, et);
/external/ltrace/sysdeps/linux-gnu/aarch64/
H A Dfetch.c28 #include "proc.h"
32 int aarch64_read_gregs(struct process *proc, struct user_pt_regs *regs);
33 int aarch64_read_fregs(struct process *proc, struct user_fpsimd_state *regs);
47 context_init(struct fetch_context *context, struct process *proc) argument
49 if (aarch64_read_gregs(proc, &context->gregs) < 0
50 || aarch64_read_fregs(proc, &context->fpregs) < 0)
63 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) argument
174 struct process *proc, struct arg_type_info *info)
178 size_t sz = type_sizeof(proc, info);
258 struct process *proc, struc
173 pass_arg(struct fetch_context const *context, struct process *proc, struct arg_type_info *info) argument
257 fetch_arg(struct fetch_context *context, struct process *proc, struct arg_type_info *info, struct value *value, struct fetch_script how) argument
289 arch_fetch_arg_init(enum tof type, struct process *proc, struct arg_type_info *ret_info) argument
324 arch_fetch_arg_next(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *value) argument
333 arch_fetch_retval(struct fetch_context *context, enum tof type, struct process *proc, struct arg_type_info *info, struct value *value) argument
357 arch_type_sizeof(struct process *proc, struct arg_type_info *arg) argument
363 arch_type_alignof(struct process *proc, struct arg_type_info *arg) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dfetch.c35 #include "proc.h"
77 fetch_register_banks(struct process *proc, struct fetch_context *context) argument
79 if (ptrace(PTRACE_GETREGS, proc->pid, NULL, &context->regs) == -1)
83 && ptrace(PTRACE_GETVFPREGS, proc->pid,
88 context->nsaa = context->sp = get_stack_pointer(proc);
95 arch_fetch_arg_init(enum tof type, struct process *proc, argument
101 struct process *mainp = proc;
108 || fetch_register_banks(proc, context) < 0) {
115 size_t sz = type_sizeof(proc, ret_info);
129 arch_fetch_arg_clone(struct process *proc, argument
141 pass_in_vfp(struct fetch_context *ctx, struct process *proc, enum arg_type type, size_t count, struct value *valuep) argument
184 consider_vfp(struct fetch_context *ctx, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
201 arch_fetch_arg_next(struct fetch_context *ctx, enum tof type, struct process *proc, struct arg_type_info *info, struct value *valuep) argument
265 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/metag/
H A Dtrace.c31 #include "proc.h"
54 \param proc The process that had an event.
59 get_arch_dep(struct process *proc) argument
65 \param proc Process that had event.
74 syscall_p(struct process *proc, int status, int *sysnum) argument
77 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
84 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS,
89 unsigned int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, regs.pc,
95 insn = ptrace(PTRACE_PEEKTEXT, proc->pid, regs.pc - 4,
159 metag_next_pcs(struct process *proc, uint32_ argument
368 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
394 gimme_arg(enum tof type, struct process *proc, int arg_num, struct arg_type_info *info) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dplt.c31 #include "proc.h"
87 \param proc The process to work on.
106 sym2addr(struct process *proc, struct library_symbol *sym) argument
115 if(!proc->pid){
118 ret=ptrace(PTRACE_PEEKTEXT, proc->pid, sym->enter_addr, 0);
128 arch_find_dl_debug(struct process *proc, arch_addr_t dyn_addr, argument
136 r = proc_find_dynamic_entry_addr(proc, dyn_addr,
139 if (umovebytes(proc, rld_addr,
254 void arch_symbol_ret(struct process *proc, struct library_symbol *libsym) argument
258 struct process *leader = proc
305 struct process *proc = data; local
332 cb_enable_breakpoint_lib(struct process *proc, struct library *lib, void *data) argument
338 arch_dynlink_done(struct process *proc) argument
344 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
[all...]
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/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/oprofile/daemon/liblegacy/
H A Dopd_kernel.c135 * Parse the file /proc/ksyms to read in mapping information for
147 * of a module so we need to parse all the /proc/ksyms.
160 fp = op_try_open_file("/proc/ksyms", "r");
163 printf("oprofiled: /proc/ksyms not readable, can't process module samples.\n");
181 printf("oprofiled: corrupt /proc/ksyms line \"%s\"\n", line);
196 printf("oprofiled: corrupt /proc/ksyms line \"%s\"\n", line);
263 * after re-reading /proc/ksyms. It's either a rogue sample, or from a module
411 void opd_add_kernel_map(struct opd_proc * proc, unsigned long eip) argument
417 app_name = proc->name;
419 verbprintf(vmisc, "un-named proc fo
[all...]
H A Dopd_proc.c70 struct opd_proc * proc; local
73 proc = xmalloc(sizeof(struct opd_proc));
74 list_init(&proc->maps);
75 proc->name = NULL;
76 proc->tid = tid;
77 proc->tgid = tgid;
78 proc->dead = 0;
79 proc->accessed = 0;
80 list_add(&proc->next, &opd_procs[proc_hash(tid)]);
81 return proc;
87 struct opd_proc * proc; local
164 opd_lookup_maps(struct opd_proc * proc, struct op_sample const * sample) argument
192 struct opd_proc * proc; local
241 struct opd_proc * proc; local
288 struct opd_proc * proc; local
319 struct opd_proc * proc; local
349 struct opd_proc * proc = local
364 opd_delete_proc(struct opd_proc * proc) argument
388 opd_age_proc(struct opd_proc * proc) argument
414 opd_remove_kernel_mapping(struct opd_proc * proc) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
H A DSDL_atarigl.c238 void *SDL_AtariGL_GetProcAddress(_THIS, const char *proc) argument
244 func = SDL_LoadFunction(this->gl_config.dll_handle, (void *)proc);
246 func = this->gl_data->OSMesaGetProcAddress(proc);
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c57 static void *DC_GL_GetProcAddress(_THIS, const char *proc);
373 static void *DC_GL_GetProcAddress(_THIS, const char *proc) argument
378 ret = glKosGetProcAddress(proc);
382 if (SDL_strcmp(proc,glfuncs[i].name)==0) return glfuncs[i].addr;
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11gl.c569 void *X11_GL_GetProcAddress(_THIS, const char* proc) argument
572 return this->gl_data->glXGetProcAddress((const GLubyte *)proc);
574 return GL_LoadFunction(this->gl_config.dll_handle, proc);
/external/skia/bench/
H A DRegionBench.cpp91 RegionBench(int count, Proc proc, const char name[]) { argument
92 fProc = proc;
110 Proc proc = fProc; local
112 proc(fA, fB);
/external/skia/gm/
H A Dtilemodes.cpp190 Tiling2GM(ShaderProc proc, const char name[]) : fProc(proc) { argument
H A Dtilemodes_scaled.cpp210 ScaledTiling2GM(ShaderProc proc, const char name[]) : fProc(proc) { argument
/external/skia/include/views/
H A DSkEvent.h26 * the eventsink matching the target ID (if not 0), or the target proc is
65 * the eventsink matching the targetID (if not 0), or the target proc is
75 * the eventsink matching the targetID (if not 0), or the target proc is
85 * Return the target proc, or NULL if it has none.
88 * the eventsink matching the targetID (if not 0), or the target proc is
98 * the eventsink matching the targetID (if not 0), or the target proc is
101 SkEvent* setTargetProc(Proc proc) { argument
103 fTargetProc = proc;
188 * Post to the event queue using the event's targetID or target-proc.
198 * Post to the event queue using the event's targetID or target-proc an
[all...]
/external/skia/src/core/
H A DSkBlitter_ARGB32.cpp24 SkBlitRow::Proc32 proc = SkBlitRow::Factory32(flags); local
35 proc(dstRow, srcRow, width, alpha);
364 SkBlitRow::Proc32 proc = fProc32; local
366 proc(device, span, width, 255);
401 SkBlitRow::Proc32 proc = fProc32; local
404 proc(device, span, width, 255);
497 SkBlitMask::RowProc proc = NULL; local
503 proc = SkBlitMask::RowFactory(kN32_SkColorType, mask.fFormat,
505 if (NULL == proc) {
536 proc(dstRo
575 SkBlitRow::Proc32 proc = (255 == alpha) ? fProc32 : fProc32Blend; local
631 SkBlitRow::Proc32 proc = (255 == alpha) ? fProc32 : fProc32Blend; local
[all...]
H A DSkMetaData.cpp97 void SkMetaData::setPtr(const char name[], void* ptr, PtrProc proc) { argument
98 PtrPair pair = { ptr, proc };
185 bool SkMetaData::findPtr(const char name[], void** ptr, PtrProc* proc) const {
193 if (proc) {
194 *proc = pair->fProc;

Completed in 341 milliseconds

1234567891011>>