Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 39) sorted by relevance

12

/system/core/netcfg/
Dnetcfg.c100 void *func; member
114 int (*func)(char *a0) = _func; in call_func() local
115 return func(args[0]); in call_func()
118 int (*func)(char *a0, char *a1) = _func; in call_func() local
119 return func(args[0], args[1]); in call_func()
122 int (*func)(char *a0, char *a1, char *a2) = _func; in call_func() local
123 return func(args[0], args[1], args[2]); in call_func()
164 if(call_func(CMDS[n].func, nargs, argv)) { in main()
/system/core/libpixelflinger/codeflinger/
Dmips_disassem.c211 if ( (i.RType.func == OP_ADDU && i.RType.rt == 0) || in db_disasm_insn()
212 (i.RType.func == OP_OR && i.RType.rt == 0) ) { in db_disasm_insn()
219 if (i.RType.func == OP_SRL && (i.RType.rs & 1) == 1) { in db_disasm_insn()
224 if (i.RType.func == OP_SRLV && (i.RType.shamt & 1) == 1) { in db_disasm_insn()
231 db_printf("%s", spec_name[i.RType.func]); in db_disasm_insn()
232 switch (i.RType.func) { in db_disasm_insn()
307 if (i.RType.func == OP_MUL) in db_disasm_insn()
309 spec2_name[i.RType.func & 0x3f], in db_disasm_insn()
315 spec2_name[i.RType.func & 0x3f], in db_disasm_insn()
322 if (i.RType.func == OP_EXT) in db_disasm_insn()
[all …]
Dmips_opcode.h64 unsigned func: 6; member
73 unsigned func: 6; member
101 unsigned func: 6; member
111 unsigned func: 6; member
/system/core/adb/
Dfdevent.h39 fdevent *fdevent_create(int fd, fd_func func, void *arg);
48 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
78 fd_func func; member
Dtransport_local.c305 void* (*func)(void *); in local_init() local
308 func = client_socket_thread; in local_init()
311 func = server_socket_thread; in local_init()
319 func = qemu_socket_thread; in local_init()
322 func = server_socket_thread; in local_init()
329 if(adb_thread_create(&thr, func, (void *) (uintptr_t) port)) { in local_init()
Dsysdeps.h71 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* ar… in adb_thread_create() argument
73 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); in adb_thread_create()
189 fdevent *fdevent_create(int fd, fd_func func, void *arg);
191 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
208 fd_func func; member
Dfdevent.c505 fde->func(fde->fd, events, fde->arg); in fdevent_call_fdfunc()
566 fdevent *fdevent_create(int fd, fd_func func, void *arg) in fdevent_create() argument
570 fdevent_install(fde, fd, func, arg); in fdevent_create()
584 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) in fdevent_install() argument
590 fde->func = func; in fdevent_install()
Dservices.c44 void (*func)(int fd, void *cookie); member
53 sti->func(sti->fd, sti->cookie); in service_bootstrap_func()
157 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread()
170 sti->func = func; in create_service_thread()
369 sti->func = subproc_waiter_service; in create_subproc_thread()
/system/extras/micro_bench/
Dmicro_bench.cpp80 int (*ptr)(const char *, const command_data_t &, void_func_t func);
81 void_func_t func; member
398 int benchmarkMemset(const char *name, const command_data_t &cmd_data, void_func_t func) { in benchmarkMemset() argument
399 memset_func_t memset_func = reinterpret_cast<memset_func_t>(func); in benchmarkMemset()
405 int benchmarkMemsetCold(const char *name, const command_data_t &cmd_data, void_func_t func) { in benchmarkMemsetCold() argument
406 memset_func_t memset_func = reinterpret_cast<memset_func_t>(func); in benchmarkMemsetCold()
412 int benchmarkMemcpy(const char *name, const command_data_t &cmd_data, void_func_t func) { in benchmarkMemcpy() argument
413 memcpy_func_t memcpy_func = reinterpret_cast<memcpy_func_t>(func); in benchmarkMemcpy()
423 int benchmarkMemcpyCold(const char *name, const command_data_t &cmd_data, void_func_t func) { in benchmarkMemcpyCold() argument
424 memcpy_func_t memcpy_func = reinterpret_cast<memcpy_func_t>(func); in benchmarkMemcpyCold()
[all …]
/system/core/init/
Dinit.h31 int (*func)(int nargs, char **args); member
130 void service_for_each(void (*func)(struct service *svc));
132 void (*func)(struct service *svc));
134 void (*func)(struct service *svc));
Dinit_parser.h27 void (*func)(struct action *act));
31 void queue_builtin_action(int (*func)(int nargs, char **args), char *name);
Dinit_parser.c57 #define KEYWORD(symbol, flags, nargs, func) \ argument
58 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
62 int (*func)(int nargs, char **args); member
73 #define kw_func(kw) (keyword_info[kw].func)
468 void service_for_each(void (*func)(struct service *svc)) in service_for_each()
474 func(svc); in service_for_each()
479 void (*func)(struct service *svc)) in service_for_each_class()
486 func(svc); in service_for_each_class()
492 void (*func)(struct service *svc)) in service_for_each_flags()
499 func(svc); in service_for_each_flags()
[all …]
/system/core/libsuspend/
Dautosuspend_wakeup_count.c86 void (*func)(void) = wakeup_func; in suspend_thread_func() local
87 if (func != NULL) { in suspend_thread_func()
88 (*func)(); in suspend_thread_func()
141 void set_wakeup_callback(void (*func)(void)) in set_wakeup_callback()
147 wakeup_func = func; in set_wakeup_callback()
/system/core/fastboot/
Dengine.c76 int (*func)(Action *a, int status, char *resp); member
161 a->func = cb_default; in queue_action()
287 a->func = invert ? cb_reject : cb_require; in fb_queue_require()
307 a->func = cb_display; in fb_queue_display()
326 a->func = cb_save; in fb_queue_query_save()
338 a->func = cb_do_nothing; in fb_queue_reboot()
388 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
392 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
396 status = a->func(a, status, status ? fb_get_error() : resp); in fb_execute_queue()
402 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
/system/core/toolbox/
Dtoolbox.c25 int (*func)(int, char**); member
51 return tools[i].func(argc, argv); in main()
/system/core/libpixelflinger/
Dpixelflinger.cpp549 static void ggl_alphaFuncx(void* con, GGLenum func, GGLclampx ref) in ggl_alphaFuncx() argument
552 if ((func < GGL_NEVER) || (func > GGL_ALWAYS)) { in ggl_alphaFuncx()
557 if (c->state.alpha_test.func != func) { in ggl_alphaFuncx()
558 c->state.alpha_test.func = func; in ggl_alphaFuncx()
565 static void ggl_depthFunc(void* con, GGLenum func) in ggl_depthFunc() argument
568 if ((func < GGL_NEVER) || (func > GGL_ALWAYS)) { in ggl_depthFunc()
572 if (c->state.depth_test.func != func) { in ggl_depthFunc()
573 c->state.depth_test.func = func; in ggl_depthFunc()
802 c->state.alpha_test.func = GGL_ALWAYS; in ggl_init_context()
803 c->state.depth_test.func = GGL_LESS; in ggl_init_context()
Dpicker.cpp115 p |= GGL_BUILD_NEEDS(c->state.alpha_test.func, P_ALPHA_TEST); in ggl_pick()
121 p |= GGL_BUILD_NEEDS(c->state.depth_test.func, P_DEPTH_TEST); in ggl_pick()
/system/core/libsuspend/include/suspend/
Dautosuspend.h51 void set_wakeup_callback(void (*func)(void));
/system/extras/tests/bionic/libc/common/
Dtest_pthread_rwlock.c46 panic(const char* func, const char* format, ...) in panic() argument
49 fprintf(stderr, "%s: ", func); in panic()
60 error(int errcode, const char* func, const char* format, ...) in error() argument
63 fprintf(stderr, "%s: ", func); in error()
Dtest_pthread_mutex.c47 panic(const char* func, const char* format, ...) in panic() argument
50 fprintf(stderr, "%s: ", func); in panic()
61 error(int errcode, const char* func, const char* format, ...) in error() argument
64 fprintf(stderr, "%s: ", func); in error()
/system/extras/f2fs_utils/
Df2fs_sparseblock.h68 int run_on_used_blocks(u64 startblock, struct f2fs_info *info, int (*func)(u64 pos, void *data), vo…
/system/extras/tests/memtest/
Dmemtest.cpp79 int (*func)(int argc, char** argv); member
105 err = (*function_table[i].func)(argc-1, argv+1); in main()
/system/core/libutils/
DThreads.cpp203 int (*func)(void*); member
211 result = (*(pDetails->func))(pDetails->arg); in threadIntermediary()
228 pDetails->func = fn; in doCreateThread()
304 void androidSetCreateThreadFunc(android_create_thread_fn func) in androidSetCreateThreadFunc() argument
306 gCreateThreadFn = func; in androidSetCreateThreadFunc()
/system/core/include/utils/
DAndroidThreads.h71 extern void androidSetCreateThreadFunc(android_create_thread_fn func);
/system/core/include/pixelflinger/
Dpixelflinger.h286 void (*alphaFuncx)(void* c, GGLenum func, GGLclampx ref);
289 void (*depthFunc)(void* c, GGLenum func);

12