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

/ast/src/lib/libast/comp/
H A Datexit.c26 * arrange for func to be called LIFO on exit()
46 atexit(void (*func)(void))
48 return(onexit(func));
56 void (*func)(void);
64 atexit(void (*func)(void))
69 p->func = func;
83 (*p->func)();
/ast/src/lib/libbz/
H A Dbzlib.h136 # define BZ_API(func) func
139 # define BZ_API(func) func
152 # define BZ_API(func) WINAPI func
156 # define BZ_API(func) (WINAPI * func)
160 # define BZ_API(func) func
[all...]
/ast/src/cmd/3d/
H A Dsyscall3d.c225 if (!(cp->func = (Sysfunc_t)dlsym(dll, cp->name)) && (*cp->name != '_' || !(cp->func = (Sysfunc_t)dlsym(dll, cp->name + 1)) || !*cp->name++))
226 cp->func = (Sysfunc_t)nosys;
232 sys_trace[0].func = (Sysfunc_t)sys_exit;
259 bprintf(b, e, " %p\n", cp->func);
274 sys_trace[SYS3D_exit].func = (Sysfunc_t)oksys;
288 return sys_trace[call].func;
318 Sysfunc_t func; local
467 if (dll && cp->func)
469 if (dll && cp->func
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmdebug.c99 char* file, int line, Void_t* func, int type)
101 static void dbwarn(vm, data, where, file, line, func, type)
107 Void_t* func; /* function called from */
176 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(func),-1), ':');
188 char* file, int line, Void_t* func, int type)
190 static void dbwatch(vm, data, file, line, func, type)
195 Void_t* func;
203 { dbwarn(vm,data,type,file,line,func,DB_WATCH);
374 Void_t *func; local
376 VMFLF(vm,file,line,func);
98 dbwarn(Vmalloc_t* vm, Void_t* data, int where, char* file, int line, Void_t* func, int type) argument
187 dbwatch(Vmalloc_t* vm, Void_t* data, char* file, int line, Void_t* func, int type) argument
421 Void_t *func; local
478 Void_t *func; local
667 Void_t *func; local
[all...]
H A Dvmhdr.h195 #define KPVALLOC(vm,sz,func) (func((vm),(sz),1) )
196 #define KPVRESIZE(vm,dt,sz,mv,func) (func((vm),(dt),(sz),(mv),1) )
197 #define KPVFREE(vm,dt,func) (func((vm),(dt),1) )
198 #define KPVADDR(vm,addr,func) (func((vm),(addr),1) )
199 #define KPVSIZE(vm,addr,func) (func((v
[all...]
H A Dvmtrace.c115 const char* func = 0; local
129 VMFLF(vm,file,line,func);
175 if(func)
178 bufp = trstrcpy(bufp, "func", '=');
180 bufp = trstrcpy(bufp, (const char*)func, 0);
182 bufp = trstrcpy(bufp, tritoa((Vmulong_t)func,0), 0);
H A Dvmprofile.c476 reg Void_t *func; local
479 VMFLF(vm,file,line,func);
488 { vm->file = file; vm->line = line; vm->func = func;
511 reg Void_t *func; local
514 VMFLF(vm,file,line,func);
533 { vm->file = file; vm->line = line; vm->func = func;
560 reg Void_t *func; local
575 VMFLF(vm,file,line,func);
669 reg Void_t *func; local
[all...]
H A Dmalloc.c253 Void_t* func; local
257 VMFLF(Vmregion,file,line,func);
265 Vmregion->func = func;
745 Void_t* func; local
752 VMFLF(Vmregion,file,line,func); /* save info before freeing frames */
767 Vmregion->func = func;
/ast/src/lib/libast/include/
H A Dvmalloc.h84 char* func; /* calling function */ member in struct:_vmalloc_s
228 #define _VMFUNC_(vm) (_VM_(vm)->func = (char*)__FUNCTION__)
230 #define _VMFUNC_(vm) (_VM_(vm)->func = (char*)0)
/ast/src/lib/libast/sfio/
H A Dsfdisc.c188 #define GETDISCF(func,iof,type) \
190 func = d ? d->iof : NIL(type); \
/ast/src/lib/libz/
H A Ddeflate.c128 compress_func func; member in struct:config_s
422 compress_func func; local
436 func = configuration_table[s->level].func;
438 if (func != configuration_table[level].func && strm->total_in != 0) {
790 bstate = (*(configuration_table[s->level].func))(s, flush);
/ast/src/lib/libpp/
H A Dppproto.c602 char* func = 0; local
1723 if ((flags & MANGLE) && func)
1725 func[0] = 'F';
1726 func[1] = 'U';
1727 func[2] = 'N';
1728 func[3] = 'C';
1729 func = 0;
1848 func = op + 1;
1853 func = 0;
/ast/src/cmd/ksh93/tests/
H A Dcomvar.sh257 function func function
264 func
/ast/src/lib/libtksh/tcl/
H A DtclExpr.c1895 double (*func) _ANSI_ARGS_((double)) = (double (*)_ANSI_ARGS_((double))) clientData;
1899 resultPtr->doubleValue = (*func)(args[0].doubleValue);
1916 double (*func) _ANSI_ARGS_((double, double))
1921 resultPtr->doubleValue = (*func)(args[0].doubleValue, args[1].doubleValue);
/ast/src/cmd/INIT/
H A Dmamake.c572 apply(Dict_t* dict, Dict_item_t* item, int (*func)(Dict_item_t*, void*), void* handle) argument
579 if (item->left && apply(dict, item->left, func, handle))
581 if ((*func)(item, handle))
588 * apply func to each dictionary item
592 walk(Dict_t* dict, int (*func)(Dict_item_t*, void*), void* handle) argument
594 return dict->root ? apply(dict, dict->root, func, handle) : 0;
H A Dproto.c2868 char* func = 0; local
3989 if ((flags & (1L<<14)) && func)
3991 func[0] = 'F';
3992 func[1] = 'U';
3993 func[2] = 'N';
3994 func[3] = 'C';
3995 func = 0;
4114 func = op + 1;
4119 func = 0;
/ast/src/cmd/nmake/
H A Drule.c36 #define FUNC(name,func) ((setvar(name,NiL,V_builtin|V_functional))->builtin=(func))

Completed in 70 milliseconds