Home
last modified time | relevance | path

Searched refs:luaL_argcheck (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlbaselib.c48 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber()
99 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable()
119 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
246 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select()
H A Dlcorolib.c51 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_coresume()
105 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_costatus()
H A Dlbitlib.c158 luaL_argcheck(L, 0 <= f, farg, "field cannot be negative"); in fieldargs()
159 luaL_argcheck(L, 0 < w, farg + 1, "width must be positive"); in fieldargs()
H A Dltablib.c52 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); in tinsert()
72 luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds"); in tremove()
H A Dlstrlib.c182 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
775 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
951 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
961 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
H A Dlauxlib.h102 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro