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

12

/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
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
H A Dtnetw_sdio.c36 extern int tiwlan_sdio_init(struct sdio_func *func);
48 void SDIO_SetFunc( struct sdio_func *func )
50 tiwlan_func = func;
91 struct sdio_func *func = (struct sdio_func *)Handle; local
93 if (func) {
96 if (tiwlan_sdio_init(func)) {
108 struct sdio_func *func = (struct sdio_func *)Handle; local
110 if (func && func->card) {
111 sdio_release_host(func);
143 struct sdio_func *func = (struct sdio_func *)Handle; local
172 struct sdio_func *func = (struct sdio_func *)Handle; local
[all...]
H A Dchip_stat.c103 struct sdio_func *func; local
105 func = SDIO_GetFunc();
106 if (!func)
114 SDIO_SyncWrite(func, &req);
120 SDIO_SyncWrite(func, &req);
126 SDIO_SyncWrite(func, &req);
132 SDIO_SyncWrite(func, &req);
139 SDIO_SyncRead(func, &req);
H A Dmmc_tnetw1150_api.c369 struct sdio_func *func = (struct sdio_func *) sdioHandle; local
389 sdio_writeb(func, data, br_offset, &rc);
400 sdio_writeb(func, data, br_offset, &rc);
412 data = sdio_readb(func, br_offset, &rc);
419 rc = sdio_memcpy_fromio(func, &id1, 0x1ce34, 4); /* Dm: Important - DO NOT REMOVE !!! */
506 struct sdio_func *func = (struct sdio_func *) sdioHandle; local
522 sdio_writeb(func, data1, br_offset, &rc);
533 struct sdio_func *func = (struct sdio_func *) sdioHandle; local
537 *(u8*)data = sdio_readb_ext(func, br_offset, &rc, 0x01);
H A Desta_drv.c1850 static void tiwlan_sdio_irq(struct sdio_func *func) argument
1863 int tiwlan_sdio_init(struct sdio_func *func) argument
1867 rc = sdio_enable_func(func);
1871 rc = sdio_set_block_size(func, 512);
1873 sdio_disable_func(func);
1878 static int tiwlan_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) argument
1883 if (func->vendor != VENDOR_ID_TI || func->device != DEVICE_ID_TI_WLAN)
1888 func->vendor, func
1925 tiwlan_sdio_remove(struct sdio_func *func) argument
[all...]
/system/core/adb/
H A Dshlist.h19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
25 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func );
28 shListCmp func );
30 void shListDelAllItems( SHLIST *head, shListFree func );
31 void shListPrintAllItems( SHLIST *head, shListPrint func );
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);
76 fd_func func; member in struct:fdevent
H A Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func )
22 if( func ) {
23 if( func( val, item->data ) ) {
78 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func )
87 if( func && item->data ) {
88 func( (void *)(item->data) );
131 shListCmp func )
135 if( func == NULL )
143 if( func( val, iptr->data, etal ) )
156 void shListDelAllItems( SHLIST *head, shListFree func )
[all...]
H A Dtransport_local.c187 void* (*func)(void *);
190 func = client_socket_thread;
192 func = server_socket_thread;
197 if(adb_thread_create(&thr, func, (void *)port)) {
H A Dfdevent.c397 fdevent *fdevent_create(int fd, fd_func func, void *arg) argument
401 fdevent_install(fde, fd, func, arg);
415 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
420 fde->func = func;
502 fde->func(fde->fd, events, fde->arg);
H A Dservices.c41 void (*func)(int fd, void *cookie); member in struct:stinfo
50 sti->func(sti->fd, sti->cookie);
242 static int create_service_thread(void (*func)(int, void *), void *cookie) argument
255 sti->func = func;
H A Dsysdeps.h68 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) argument
70 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg );
184 fdevent *fdevent_create(int fd, fd_func func, void *arg);
186 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
201 fd_func func; member in struct:fdevent
/system/wlan/ti/lib/
H A Dshlist.h19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
25 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func );
28 shListCmp func );
30 void shListDelAllItems( SHLIST *head, shListFree func );
31 void shListPrintAllItems( SHLIST *head, shListPrint func );
H A Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func )
22 if( func ) {
23 if( func( val, item->data ) ) {
78 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func )
87 if( func && item->data ) {
88 func( (void *)(item->data) );
131 shListCmp func )
135 if( func == NULL )
143 if( func( val, iptr->data, etal ) )
156 void shListDelAllItems( SHLIST *head, shListFree func )
[all...]
/system/core/netcfg/
H A Dnetcfg.c93 void *func; member in struct:__anon142
107 int (*func)(char *a0) = _func;
108 return func(args[0]);
111 int (*func)(char *a0, char *a1) = _func;
112 return func(args[0], args[1]);
115 int (*func)(char *a0, char *a1, char *a2) = _func;
116 return func(args[0], args[1], args[2]);
157 if(call_func(CMDS[n].func, nargs, argv)) {
/system/core/toolbox/
H A Dtoolbox.c25 int (*func)(int, char**); member in struct:__anon159
51 return tools[i].func(argc, argv);
/system/core/fastboot/
H A Dengine.c76 int (*func)(Action *a, int status, char *resp); member in struct:Action
115 a->func = cb_default;
218 a->func = invert ? cb_reject : cb_require;
238 a->func = cb_display;
250 a->func = cb_do_nothing;
292 status = a->func(a, status, status ? fb_get_error() : "");
296 status = a->func(a, status, status ? fb_get_error() : "");
300 status = a->func(a, status, status ? fb_get_error() : resp);
/system/core/init/
H A Dinit.h75 int (*func)(int nargs, char **args); member in struct:command
162 void service_for_each(void (*func)(struct service *svc));
164 void (*func)(struct service *svc));
166 void (*func)(struct service *svc));
175 void (*func)(struct action *act));
H A Dparser.c54 RAW(" %p", cmd->func);
109 #define KEYWORD(symbol, flags, nargs, func) \
110 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
114 int (*func)(int nargs, char **args); member in struct:__anon70
125 #define kw_func(kw) (keyword_info[kw].func)
463 void service_for_each(void (*func)(struct service *svc))
469 func(svc);
474 void (*func)(struct service *svc))
481 func(svc);
487 void (*func)(struc
[all...]
/system/wlan/ti/wilink_6_1/platforms/hw/linux/
H A DSdioAdapter.c71 static int sdio_wifi_probe(struct sdio_func *func, argument
76 printk("%s: %d\n", __FUNCTION__, func->class);
78 if (func->class != SDIO_CLASS_WLAN)
81 sdio_claim_host(func);
83 rc = sdio_enable_func(func);
86 rc = sdio_set_block_size(func, 512);
93 tiwlan_func = func;
97 sdio_disable_func(func);
99 sdio_release_host(func);
104 static void sdio_wifi_remove(struct sdio_func *func) argument
[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...]
/system/extras/tests/bionic/libc/common/
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 978 milliseconds

12