Searched refs:LUA_TFUNCTION (Results 1 – 17 of 17) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lobject.h | 83 #define ttisfunction(o) (ttype(o) == LUA_TFUNCTION) 145 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TFUNCTION; \ 315 #define iscfunction(o) (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) 316 #define isLfunction(o) (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC)
|
| H A D | ltablib.c | 25 luaL_checktype(L, 2, LUA_TFUNCTION); in foreachi() 41 luaL_checktype(L, 2, LUA_TFUNCTION); in foreach() 260 luaL_checktype(L, 2, LUA_TFUNCTION); in sort()
|
| H A D | lfunc.c | 25 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newCclosure() 35 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newLclosure()
|
| H A D | lua.h | 80 #define LUA_TFUNCTION 6 macro 264 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
| H A D | ldblib.c | 182 luaL_checktype(L, 1, LUA_TFUNCTION); in auxupvalue() 268 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
|
| H A D | lstate.h | 153 #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl))
|
| H A D | lstrlib.c | 149 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump() 621 case LUA_TFUNCTION: { in add_value() 655 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
|
| H A D | lgc.c | 90 case LUA_TFUNCTION: { in reallymarkobject() 290 case LUA_TFUNCTION: { in propagatemark() 381 case LUA_TFUNCTION: luaF_freeclosure(L, gco2cl(o)); break; in freeobj()
|
| H A D | lapi.c | 405 case LUA_TFUNCTION: return clvalue(o); in lua_topointer() 622 case LUA_TFUNCTION: in lua_getfenv() 743 case LUA_TFUNCTION: in lua_setfenv()
|
| H A D | lbaselib.c | 318 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lobject.h | 48 #define LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */ 49 #define LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */ 50 #define LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */ 139 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) 140 #define ttisclosure(o) ((rttype(o) & 0x1F) == LUA_TFUNCTION)
|
| H A D | lcorolib.c | 82 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
| H A D | lstate.h | 210 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
|
| H A D | lstrlib.c | 187 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump() 719 case LUA_TFUNCTION: { in add_value() 757 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
|
| H A D | ltablib.c | 251 luaL_checktype(L, 2, LUA_TFUNCTION); in tsort()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 83 #define LUA_TFUNCTION 6 macro 331 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | scripting.c | 1983 case LUA_TFUNCTION: in ldbCatStackValueRec() 1990 if (t == LUA_TFUNCTION) typename = "function"; in ldbCatStackValueRec()
|