Home
last modified time | relevance | path

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

/external/syslinux/com32/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()
Dliolib.c231 luaL_argcheck(L, lua_checkmode(md), 2, "invalid mode"); in io_open()
309 luaL_argcheck(L, n <= LUA_MINSTACK - 3, LUA_MINSTACK - 3, "too many options"); in aux_lines()
453 luaL_argcheck(L, p && p[0] == '*', n, "invalid option"); in g_read()
568 luaL_argcheck(L, (lua_Number)offset == p3, 3, in f_seek()
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()
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()
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()
Dlfs.c121 luaL_argcheck (L, d->closed == 0, 1, "closed directory"); in dir_iter()
Dlauxlib.h113 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro
/external/skia/third_party/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.c157 luaL_argcheck(L, 0 <= f, farg, "field cannot be negative"); in fieldargs()
158 luaL_argcheck(L, 0 < w, farg + 1, "width must be positive"); in fieldargs()
Dliolib.c230 luaL_argcheck(L, lua_checkmode(md), 2, "invalid mode"); in io_open()
306 luaL_argcheck(L, n <= LUA_MINSTACK - 3, LUA_MINSTACK - 3, "too many options"); in aux_lines()
442 luaL_argcheck(L, p && p[0] == '*', n, "invalid option"); in g_read()
552 luaL_argcheck(L, (lua_Number)offset == p3, 3, in f_seek()
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()
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()
Dlauxlib.h113 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro