Searched refs:func (Results 1 - 25 of 37) sorted by relevance

12

/system/core/init/
H A Dinit_parser.h27 void (*func)(struct action *act));
31 void queue_builtin_action(int (*func)(int nargs, char **args), char *name);
H A Dinit.h31 int (*func)(int nargs, char **args); member in struct:command
125 void service_for_each(void (*func)(struct service *svc));
127 void (*func)(struct service *svc));
129 void (*func)(struct service *svc));
H A Dinit_parser.c60 #define KEYWORD(symbol, flags, nargs, func) \
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
65 int (*func)(int nargs, char **args); member in struct:__anon370
76 #define kw_func(kw) (keyword_info[kw].func)
464 void service_for_each(void (*func)(struct service *svc))
470 func(svc);
475 void (*func)(struct service *svc))
482 func(svc);
488 void (*func)(struct service *svc))
495 func(sv
[all...]
H A Dparser.c40 RAW(" %p", cmd->func);
H A Dsignal_handler.c113 cmd->func(cmd->nargs, cmd->args);
/system/core/sh/
H A Dmkbuiltins97 func=$1
107 echo 'int '"$func"'(int, char **);' >&4
112 specials="$specials $2 $func"
117 echo ' { "'$1'", '"$func"' },' >&3
H A Dexec.h50 union node *func; member in union:cmdentry::param
H A Dvar.c81 void (*func)(const char *); member in struct:varinit
177 vp->func = ip->func;
288 if (vp->func && (flags & VNOFUNC) == 0)
289 (*vp->func)(s + vp->name_len + 1);
309 vp->func = NULL;
675 if (vp->func && (vp->flags & VNOFUNC) == 0)
676 (*vp->func)(lvp->text + vp->name_len + 1);
H A Dvar.h57 void (*func)(const char *); member in struct:var
H A Dexec.c404 commandtext(&ps, cmdp->param.func);
520 } else if (prefix("func", pathopt)) {
546 if (pathopt) { /* this is a %func directory */
793 freefunc(cmdp->param.func);
898 freefunc(cmdp->param.func);
912 defun(char *name, union node *func) argument
918 entry.u.func = copyfunc(func);
935 freefunc(cmdp->param.func);
/system/core/adb/
H A 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 in struct:fdevent
H A Dtransport_local.c302 void* (*func)(void *);
305 func = client_socket_thread;
308 func = server_socket_thread;
316 func = qemu_socket_thread;
319 func = server_socket_thread;
326 if(adb_thread_create(&thr, func, (void *)port)) {
H A Dservices.c42 void (*func)(int fd, void *cookie); member in struct:stinfo
51 sti->func(sti->fd, sti->cookie);
230 static int create_service_thread(void (*func)(int, void *), void *cookie) argument
243 sti->func = func;
387 sti->func = subproc_waiter_service;
H A Dsysdeps.h70 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) argument
72 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg );
186 fdevent *fdevent_create(int fd, fd_func func, void *arg);
188 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
205 fd_func func; member in struct:fdevent
H A Dfdevent.c514 fde->func(fde->fd, events, fde->arg);
575 fdevent *fdevent_create(int fd, fd_func func, void *arg) argument
579 fdevent_install(fde, fd, func, arg);
593 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
599 fde->func = func;
/system/core/netcfg/
H A Dnetcfg.c105 void *func; member in struct:__anon470
120 int (*func)(char *a0) = _func;
121 return func(args[0]);
124 int (*func)(char *a0, char *a1) = _func;
125 return func(args[0], args[1]);
128 int (*func)(char *a0, char *a1, char *a2) = _func;
129 return func(args[0], args[1], args[2]);
170 if(call_func(CMDS[n].func, nargs, argv)) {
/system/core/libnl_2/
H A Dhandlers.c58 nl_recvmsg_msg_cb_t func, void *arg)
60 cb->cb_set[type] = func;
69 nl_recvmsg_err_cb_t func, void *arg)
71 cb->cb_err = func;
57 nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, \ nl_recvmsg_msg_cb_t func, void *arg) argument
68 nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, \ nl_recvmsg_err_cb_t func, void *arg) argument
/system/core/toolbox/
H A Dtoolbox.c25 int (*func)(int, char**); member in struct:__anon488
51 return tools[i].func(argc, argv);
/system/core/libpixelflinger/codeflinger/
H A Dmips_disassem.c211 if ( (i.RType.func == OP_ADDU && i.RType.rt == 0) ||
212 (i.RType.func == OP_OR && i.RType.rt == 0) ) {
219 if (i.RType.func == OP_SRL && (i.RType.rs & 1) == 1) {
224 if (i.RType.func == OP_SRLV && (i.RType.shamt & 1) == 1) {
231 db_printf("%s", spec_name[i.RType.func]);
232 switch (i.RType.func) {
307 if (i.RType.func == OP_MUL)
309 spec2_name[i.RType.func & 0x3f],
315 spec2_name[i.RType.func & 0x3f],
322 if (i.RType.func
[all...]
H A Dmips_opcode.h64 unsigned func: 6; member in struct:__anon425::__anon428
73 unsigned func: 6; member in struct:__anon425::__anon429
101 unsigned func: 6; member in struct:__anon425::__anon432
111 unsigned func: 6; member in struct:__anon425::__anon433
193 * Values for the 'func' field when 'op' == OP_SPECIAL.
256 * Values for the 'func' field when 'op' == OP_SPECIAL2.
263 * Values for the 'func' field when 'op' == OP_SPECIAL3.
270 * Values for the 'shamt' field when OP_SPECIAL3 && func OP_BSHFL.
277 * Values for the 'func' field when 'op' == OP_BCOND.
/system/core/fastboot/
H A Dengine.c96 int (*func)(Action *a, int status, char *resp); member in struct:Action
217 a->func = cb_default;
519 a->func = invert ? cb_reject : cb_require;
539 a->func = cb_display;
558 a->func = cb_save;
570 a->func = cb_do_nothing;
615 status = a->func(a, status, status ? fb_get_error() : "");
619 status = a->func(a, status, status ? fb_get_error() : "");
623 status = a->func(a, status, status ? fb_get_error() : resp);
629 status = a->func(
[all...]
/system/core/libpixelflinger/
H A Dpixelflinger.cpp549 static void ggl_alphaFuncx(void* con, GGLenum func, GGLclampx ref) argument
552 if ((func < GGL_NEVER) || (func > GGL_ALWAYS)) {
557 if (c->state.alpha_test.func != func) {
558 c->state.alpha_test.func = func;
565 static void ggl_depthFunc(void* con, GGLenum func) argument
568 if ((func < GGL_NEVER) || (func > GGL_ALWAY
[all...]
H A Dpicker.cpp115 p |= GGL_BUILD_NEEDS(c->state.alpha_test.func, P_ALPHA_TEST);
121 p |= GGL_BUILD_NEEDS(c->state.depth_test.func, P_DEPTH_TEST);
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_rwlock.c46 panic(const char* func, const char* format, ...) argument
49 fprintf(stderr, "%s: ", func);
60 error(int errcode, const char* func, const char* format, ...) argument
63 fprintf(stderr, "%s: ", func);
H A Dtest_pthread_mutex.c47 panic(const char* func, const char* format, ...) argument
50 fprintf(stderr, "%s: ", func);
61 error(int errcode, const char* func, const char* format, ...) argument
64 fprintf(stderr, "%s: ", func);

Completed in 1778 milliseconds

12