Home
last modified time | relevance | path

Searched refs:LUA_TFUNCTION (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlobject.h83 #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 Dltablib.c25 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 Dlfunc.c25 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newCclosure()
35 luaC_link(L, obj2gco(c), LUA_TFUNCTION); in luaF_newLclosure()
H A Dlua.h80 #define LUA_TFUNCTION 6 macro
264 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
H A Dldblib.c182 luaL_checktype(L, 1, LUA_TFUNCTION); in auxupvalue()
268 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
H A Dlstate.h153 #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl))
H A Dlstrlib.c149 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 Dlgc.c90 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 Dlapi.c405 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 Dlbaselib.c318 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlobject.h48 #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 Dlcorolib.c82 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
H A Dlstate.h210 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
H A Dlstrlib.c187 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 Dltablib.c251 luaL_checktype(L, 2, LUA_TFUNCTION); in tsort()
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlua.h83 #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 Dscripting.c1983 case LUA_TFUNCTION: in ldbCatStackValueRec()
1990 if (t == LUA_TFUNCTION) typename = "function"; in ldbCatStackValueRec()