Home
last modified time | relevance | path

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

12

/system/core/sh/
Dmkbuiltins97 func=$1
107 echo 'int '"$func"'(int, char **);' >&4
112 specials="$specials $2 $func"
117 echo ' { "'$1'", '"$func"' },' >&3
Dvar.c81 void (*func)(const char *); member
177 vp->func = ip->func; in initvar()
288 if (vp->func && (flags & VNOFUNC) == 0) in setvareq()
289 (*vp->func)(s + vp->name_len + 1); in setvareq()
309 vp->func = NULL; in setvareq()
675 if (vp->func && (vp->flags & VNOFUNC) == 0) in poplocalvars()
676 (*vp->func)(lvp->text + vp->name_len + 1); in poplocalvars()
Dexec.h50 union node *func; member
Dexec.c404 commandtext(&ps, cmdp->param.func); in printentry()
793 freefunc(cmdp->param.func); in deletefuncs()
898 freefunc(cmdp->param.func); in addcmdentry()
912 defun(char *name, union node *func) in defun() argument
918 entry.u.func = copyfunc(func); in defun()
935 freefunc(cmdp->param.func); in unsetfunc()
Dvar.h57 void (*func)(const char *); member
/system/core/netcfg/
Dnetcfg.c105 void *func; member
120 int (*func)(char *a0) = _func; in call_func() local
121 return func(args[0]); in call_func()
124 int (*func)(char *a0, char *a1) = _func; in call_func() local
125 return func(args[0], args[1]); in call_func()
128 int (*func)(char *a0, char *a1, char *a2) = _func; in call_func() local
129 return func(args[0], args[1], args[2]); in call_func()
170 if(call_func(CMDS[n].func, nargs, argv)) { in main()
/system/core/libnl_2/
Dhandlers.c58 nl_recvmsg_msg_cb_t func, void *arg) in nl_cb_set() argument
60 cb->cb_set[type] = func; in nl_cb_set()
69 nl_recvmsg_err_cb_t func, void *arg) in nl_cb_err() argument
71 cb->cb_err = func; in nl_cb_err()
/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.c302 void* (*func)(void *); in local_init() local
305 func = client_socket_thread; in local_init()
308 func = server_socket_thread; in local_init()
316 func = qemu_socket_thread; in local_init()
319 func = server_socket_thread; in local_init()
326 if(adb_thread_create(&thr, func, (void *)port)) { in local_init()
Dsysdeps.h69 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* ar… in adb_thread_create() argument
71 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); in adb_thread_create()
185 fdevent *fdevent_create(int fd, fd_func func, void *arg);
187 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
204 fd_func func; member
Dservices.c42 void (*func)(int fd, void *cookie); member
51 sti->func(sti->fd, sti->cookie); in service_bootstrap_func()
230 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread()
243 sti->func = func; in create_service_thread()
387 sti->func = subproc_waiter_service; in create_subproc_thread()
Dfdevent.c514 fde->func(fde->fd, events, fde->arg); in fdevent_call_fdfunc()
575 fdevent *fdevent_create(int fd, fd_func func, void *arg) in fdevent_create() argument
579 fdevent_install(fde, fd, func, arg); in fdevent_create()
593 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) in fdevent_install() argument
599 fde->func = func; in fdevent_install()
/system/core/init/
Dinit.h31 int (*func)(int nargs, char **args); member
125 void service_for_each(void (*func)(struct service *svc));
127 void (*func)(struct service *svc));
129 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.c60 #define KEYWORD(symbol, flags, nargs, func) \ argument
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
65 int (*func)(int nargs, char **args); member
76 #define kw_func(kw) (keyword_info[kw].func)
464 void service_for_each(void (*func)(struct service *svc)) in service_for_each()
470 func(svc); in service_for_each()
475 void (*func)(struct service *svc)) in service_for_each_class()
482 func(svc); in service_for_each_class()
488 void (*func)(struct service *svc)) in service_for_each_flags()
495 func(svc); in service_for_each_flags()
[all …]
Dsignal_handler.c113 cmd->func(cmd->nargs, cmd->args); in wait_for_one_process()
Dparser.c40 RAW(" %p", cmd->func); in DUMP()
Dkeywords.h40 #define KEYWORD(symbol, flags, nargs, func) K_##symbol, argument
/system/core/toolbox/
Dtoolbox.c25 int (*func)(int, char**); member
51 return tools[i].func(argc, argv); in main()
/system/core/fastboot/
Dengine.c96 int (*func)(Action *a, int status, char *resp); member
170 a->func = cb_default; in queue_action()
463 a->func = invert ? cb_reject : cb_require; in fb_queue_require()
483 a->func = cb_display; in fb_queue_display()
502 a->func = cb_save; in fb_queue_query_save()
514 a->func = cb_do_nothing; in fb_queue_reboot()
557 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
561 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
565 status = a->func(a, status, status ? fb_get_error() : resp); in fb_execute_queue()
571 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
/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/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/core/include/pixelflinger/
Dpixelflinger.h286 void (*alphaFuncx)(void* c, GGLenum func, GGLclampx ref);
289 void (*depthFunc)(void* c, GGLenum func);

12