Home
last modified time | relevance | path

Searched refs:LUA_TTABLE (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c95 luaL_checktype(L, 1, LUA_TTABLE); in luaB_setmetatable()
96 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable()
116 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
124 luaL_checktype(L, 1, LUA_TTABLE); in luaB_rawget()
132 luaL_checktype(L, 1, LUA_TTABLE); in luaB_rawset()
180 luaL_checktype(L, 1, LUA_TTABLE); /* argument must be a table */ in pairsmeta()
195 luaL_checktype(L, 1, LUA_TTABLE); in luaB_next()
213 luaL_checktype(L, 1, LUA_TTABLE); in ipairsaux()
H A Dltablib.c17 #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_len(L, n))
24 luaL_checktype(L, 1, LUA_TTABLE); in maxn()
96 luaL_checktype(L, 1, LUA_TTABLE); in tconcat()
137 luaL_checktype(L, 1, LUA_TTABLE); in unpack()
H A Dltm.c64 case LUA_TTABLE: in luaT_gettmbyobj()
H A Dlgc.c137 lua_assert(gch(o)->tt != LUA_TTABLE); in luaC_barrier_()
155 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_()
275 case LUA_TTABLE: { in reallymarkobject()
525 case LUA_TTABLE: { in propagatemark()
673 case LUA_TTABLE: luaH_free(L, gco2t(o)); break; in freeobj()
H A Dlstate.h210 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h))
H A Dlobject.h137 #define ttistable(o) checktag((o), ctb(LUA_TTABLE))
230 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
H A Dlapi.c410 case LUA_TTABLE: return luaH_getn(hvalue(o)); in lua_rawlen()
444 case LUA_TTABLE: return hvalue(o); in lua_topointer()
691 case LUA_TTABLE: in lua_getmetatable()
823 case LUA_TTABLE: { in lua_setmetatable()
H A Dlstrlib.c725 case LUA_TTABLE: { in add_value()
756 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
H A Dlvm.c277 case LUA_TTABLE: { in luaV_equalobj_()
338 case LUA_TTABLE: { in luaV_objlen()
H A Dltable.c368 Table *t = &luaC_newobj(L, LUA_TTABLE, sizeof(Table), NULL, 0)->h; in luaH_new()
/freebsd/contrib/lua/src/
H A Dlbaselib.c139 luaL_checktype(L, 1, LUA_TTABLE); in luaB_setmetatable()
140 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in luaB_setmetatable()
159 luaL_argexpected(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
167 luaL_checktype(L, 1, LUA_TTABLE); in luaB_rawget()
175 luaL_checktype(L, 1, LUA_TTABLE); in luaB_rawset()
268 luaL_checktype(L, 1, LUA_TTABLE); in luaB_next()
H A Dltablib.c47 if (lua_type(L, arg) != LUA_TTABLE) { /* is it not a table? */ in checktab()
56 luaL_checktype(L, arg, LUA_TTABLE); /* force an error */ in checktab()
H A Dlua.h70 #define LUA_TTABLE 5 macro
385 #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE)
H A Dltm.c74 case LUA_TTABLE: in luaT_gettmbyobj()
H A Dloslib.c350 luaL_checktype(L, 1, LUA_TTABLE); in os_time()
H A Dldblib.c58 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in db_setmetatable()
H A Dlua.c237 if (lua_getglobal(L, "arg") != LUA_TTABLE) in pushargs()
H A Dloadlib.c629 != LUA_TTABLE)) in findloader()
H A Dltests.c973 luaL_checktype(L, 2, LUA_TTABLE); in hash_query()
996 luaL_checktype(L, 1, LUA_TTABLE); in table_query()
1187 lua_assert(lua_type(L1, -1) == LUA_TTABLE); in loadlib()
H A Dlobject.h680 #define LUA_VTABLE makevariant(LUA_TTABLE, 0)
H A Dlapi.c782 case LUA_TTABLE: in lua_getmetatable()
946 case LUA_TTABLE: { in lua_setmetatable()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c505 case LUA_TTABLE: in ucl_object_lua_fromelt()
519 if (type == LUA_TTABLE) { in ucl_object_lua_fromelt()
558 case LUA_TTABLE: in ucl_object_lua_import()
586 case LUA_TTABLE: in ucl_object_lua_import_escape()
777 if (parser != NULL && lua_type (L, 2) == LUA_TTABLE) { in lua_ucl_parser_register_variables()
956 if (lua_type (L, 2) == LUA_TTABLE) { in lua_ucl_parser_validate()
1136 LUA_TTABLE) { in lua_ucl_object_validate()
1143 LUA_TTABLE) { in lua_ucl_object_validate()
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c176 luaL_checktype(L, 1, LUA_TTABLE); in l_list()
384 luaL_checktype(L, 2, LUA_TTABLE); in l_getparams()
471 luaL_checktype(L, 2, LUA_TTABLE); in l_setparams()
/freebsd/libexec/flua/modules/
H A Dlfbsd.c50 luaL_checktype(L, abs_arg, LUA_TTABLE); in luaL_checkarraystrings()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h81 #define LUA_TTABLE 5 macro
331 #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE)

12