Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlbaselib.c64 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber()
115 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable()
135 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
363 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select()
401 luaL_argcheck(L, n >= 2, 2, "value expected"); in luaB_xpcall()
Dlcorolib.c52 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_coresume()
106 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_costatus()
Dldblib.c42 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable()
234 luaL_argcheck(L, 1 <= nup && nup <= ar.nups, argnup, "invalid upvalue index"); in checkupval()
249 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); in db_upvaluejoin()
250 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected"); in db_upvaluejoin()
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()
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()
Dlmathlib.c209 luaL_argcheck(L, (lua_Number)1.0 <= u, 1, "interval is empty"); in math_random()
216 luaL_argcheck(L, l <= u, 2, "interval is empty"); in math_random()
Dliolib.c231 luaL_argcheck(L, lua_checkmode(md), 2, "invalid mode"); in io_open()
307 luaL_argcheck(L, n <= LUA_MINSTACK - 3, LUA_MINSTACK - 3, "too many options"); in aux_lines()
443 luaL_argcheck(L, p && p[0] == '*', n, "invalid option"); in g_read()
553 luaL_argcheck(L, (lua_Number)offset == p3, 3, in f_seek()
Dlstrlib.c159 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
745 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
921 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
931 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlauxlib.h113 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro