/freebsd/contrib/lua/src/ |
H A D | ldblib.c | 261 luaL_checktype(L, 1, LUA_TFUNCTION); /* closure */ in auxupvalue() 288 luaL_checktype(L, argf, LUA_TFUNCTION); /* closure */ in checkupval() 328 if (lua_rawget(L, -2) == LUA_TFUNCTION) { /* is there a hook function? */ in hookf() 375 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
|
H A D | lobject.h | 590 #define LUA_VLCL makevariant(LUA_TFUNCTION, 0) /* Lua closure */ 591 #define LUA_VLCF makevariant(LUA_TFUNCTION, 1) /* light C function */ 592 #define LUA_VCCL makevariant(LUA_TFUNCTION, 2) /* C closure */ 594 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
|
H A D | lcorolib.c | 97 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
H A D | lbaselib.c | 399 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load() 490 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
|
H A D | lua.h | 71 #define LUA_TFUNCTION 6 macro 384 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
H A D | lstate.h | 379 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
|
H A D | ltablib.c | 404 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
|
H A D | lstrlib.c | 236 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump() 910 case LUA_TFUNCTION: { /* call the function */ in add_value() 955 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
|
H A D | ltests.c | 1082 luaL_checktype(L, 1, LUA_TFUNCTION); in upvalue()
|
/freebsd/sys/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()
|
/freebsd/sys/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)
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 506 case LUA_TFUNCTION: in ucl_object_lua_fromelt() 522 else if (type == LUA_TFUNCTION) { in ucl_object_lua_fromelt()
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-typemaps.swig | 162 luaL_checktype(L, 2, LUA_TFUNCTION);
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 834 #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} } 1217 case LUA_TFUNCTION: in SWIG_Lua_elua_emulate_register() 20262 luaL_checktype(L, 2, LUA_TFUNCTION); in _wrap_SBDebugger_Create__SWIG_2() 22727 luaL_checktype(L, 2, LUA_TFUNCTION); in _wrap_SBDebugger_SetLoggingCallback()
|