Searched refs:luaL_argcheck (Results 1 – 9 of 9) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lutf8lib.c | 99 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 2, in utflen() 101 luaL_argcheck(L, --posj < (lua_Integer)len, 3, in utflen() 130 luaL_argcheck(L, posi >= 1, 2, "out of bounds"); in codepoint() 131 luaL_argcheck(L, pose <= (lua_Integer)len, 3, "out of bounds"); in codepoint() 153 luaL_argcheck(L, code <= MAXUTF, arg, "value out of range"); in pushutfchar() 189 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 3, in byteoffset()
|
A D | ltablib.c | 73 luaL_argcheck(L, (lua_Unsigned)pos - 1u < (lua_Unsigned)e, 2, in tinsert() 95 luaL_argcheck(L, (lua_Unsigned)pos - 1u <= (lua_Unsigned)size, 1, in tremove() 123 luaL_argcheck(L, f > 0 || e < LUA_MAXINTEGER + f, 3, in tmove() 126 luaL_argcheck(L, t <= LUA_MAXINTEGER - n + 1, 4, in tmove() 401 luaL_argcheck(L, n < INT_MAX, 1, "array too big"); in sort()
|
A D | ldblib.c | 155 luaL_argcheck(L, options[0] != '>', arg + 2, "invalid option '>'"); in db_getinfo() 291 luaL_argcheck(L, id != NULL, argnup, "invalid upvalue index"); in checkupval() 312 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); in db_upvaluejoin() 313 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected"); in db_upvaluejoin()
|
A D | lstrlib.c | 202 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range"); in str_char() 1296 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros"); in str_format() 1565 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow"); in str_pack() 1605 luaL_argcheck(L, len <= (size_t)size, arg, in str_pack() 1615 luaL_argcheck(L, size >= (int)sizeof(size_t) || in str_pack() 1626 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros"); in str_pack() 1651 luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1, in str_packsize() 1654 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize() 1704 luaL_argcheck(L, pos <= ld, 3, "initial position out of string"); in str_unpack() 1709 luaL_argcheck(L, (size_t)ntoalign + size <= ld - pos, 2, in str_unpack() [all …]
|
A D | lbaselib.c | 103 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber() 246 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected"); in luaB_type() 427 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select()
|
A D | lmathlib.c | 121 luaL_argcheck(L, d != 0, 2, "zero"); in math_fmod() 210 luaL_argcheck(L, n >= 1, 1, "value expected"); in math_min() 224 luaL_argcheck(L, n >= 1, 1, "value expected"); in math_max() 584 luaL_argcheck(L, low <= up, 1, "interval is empty"); in math_random()
|
A D | liolib.c | 274 luaL_argcheck(L, l_checkmode(md), 2, "invalid mode"); in io_open() 294 luaL_argcheck(L, l_checkmodep(mode), 2, "invalid mode"); in io_popen() 365 luaL_argcheck(L, n <= MAXARGLINE, MAXARGLINE + 2, "too many arguments"); in aux_lines() 704 luaL_argcheck(L, (lua_Integer)offset == p3, 3, in f_seek()
|
A D | lauxlib.h | 133 #define luaL_argcheck(L, cond,arg,extramsg) \ macro
|
A D | loslib.c | 295 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds"); in l_checktime()
|
Completed in 18 milliseconds