Searched refs:lua_CFunction (Results 1 – 18 of 18) sorted by relevance
| /freebsd-12.1/contrib/lua/src/ |
| H A D | loadlib.c | 92 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym); 115 #define cast_func(p) (__extension__ (lua_CFunction)(p)) 117 #define cast_func(p) ((lua_CFunction)(p)) 133 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 134 lua_CFunction f = cast_func(dlsym(lib, sym)); in lsys_sym() 208 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 209 lua_CFunction f = (lua_CFunction)GetProcAddress((HMODULE)lib, sym); in lsys_sym() 243 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 384 lua_CFunction f = lsys_sym(L, reg, sym); in lookforfunc() 734 static const lua_CFunction searchers[] = in createsearcherstable()
|
| H A D | lua.h | 105 typedef int (*lua_CFunction) (lua_State *L); typedef 149 LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 186 LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); 232 LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
|
| H A D | lauxlib.h | 33 lua_CFunction func; 107 lua_CFunction openf, int glb); 195 lua_CFunction closef; /* to close stream (NULL for closed streams) */
|
| H A D | lapi.c | 134 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 135 lua_CFunction old; in lua_atpanic() 404 LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) { in lua_tocfunction() 532 LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { in lua_pushcclosure()
|
| H A D | lstate.h | 165 lua_CFunction panic; /* to be called in unprotected errors */
|
| H A D | lobject.h | 104 lua_CFunction f; /* light C functions */ 448 lua_CFunction f;
|
| H A D | lbaselib.c | 210 lua_CFunction iter) { in pairsmeta()
|
| H A D | liolib.c | 203 volatile lua_CFunction cf = p->closef; in aux_close()
|
| H A D | ldo.c | 414 lua_CFunction f; in luaD_precall()
|
| H A D | lauxlib.c | 972 lua_CFunction openf, int glb) { in luaL_requiref()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lua.h | 54 typedef int (*lua_CFunction) (lua_State *L); typedef 134 LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 173 LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); 213 LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n); 251 lua_CFunction k); 257 int ctx, lua_CFunction k); 271 lua_CFunction k);
|
| H A D | lstate.h | 83 lua_CFunction k; /* continuation in case of yields */ 142 lua_CFunction panic; /* to be called in unprotected errors */
|
| H A D | lauxlib.h | 24 lua_CFunction func; 88 lua_CFunction openf, int glb);
|
| H A D | lapi.c | 126 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 127 lua_CFunction old; in lua_atpanic() 417 LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) { in lua_tocfunction() 554 LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { in lua_pushcclosure() 889 lua_CFunction k) { in lua_callk() 928 int ctx, lua_CFunction k) { in lua_pcallk()
|
| H A D | lobject.h | 391 lua_CFunction f; /* light C functions */ 517 lua_CFunction f;
|
| H A D | lbaselib.c | 185 lua_CFunction iter) { in pairsmeta()
|
| H A D | ldo.c | 307 lua_CFunction f; in luaD_precall() 577 LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { in lua_yieldk()
|
| H A D | lauxlib.c | 744 lua_CFunction openf, int glb) { in luaL_requiref()
|