Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 37) 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
Dexec.h50 union node *func; member
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.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.c60 nl_recvmsg_msg_cb_t func, void *arg) in nl_cb_set() argument
62 cb->cb_set[type] = func; in nl_cb_set()
71 nl_recvmsg_err_cb_t func, void *arg) in nl_cb_err() argument
73 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.c191 void* (*func)(void *); in local_init() local
194 func = client_socket_thread; in local_init()
196 func = server_socket_thread; in local_init()
201 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()
240 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread()
253 sti->func = func; in create_service_thread()
398 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
121 void service_for_each(void (*func)(struct service *svc));
123 void (*func)(struct service *svc));
125 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.c55 #define KEYWORD(symbol, flags, nargs, func) \ argument
56 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
60 int (*func)(int nargs, char **args); member
71 #define kw_func(kw) (keyword_info[kw].func)
297 void service_for_each(void (*func)(struct service *svc)) in service_for_each()
303 func(svc); in service_for_each()
308 void (*func)(struct service *svc)) in service_for_each_class()
315 func(svc); in service_for_each_class()
321 void (*func)(struct service *svc)) in service_for_each_flags()
328 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()
/system/media/wilhelm/src/
Dassert.c28 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2() argument
31 failedexpr, file, line, func); in __assert2()
/system/core/fastboot/
Dengine.c77 int (*func)(Action *a, int status, char *resp); member
122 a->func = cb_default; in queue_action()
237 a->func = invert ? cb_reject : cb_require; in fb_queue_require()
257 a->func = cb_display; in fb_queue_display()
276 a->func = cb_save; in fb_queue_query_save()
288 a->func = cb_do_nothing; in fb_queue_reboot()
331 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
335 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
339 status = a->func(a, status, status ? fb_get_error() : resp); 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/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