/external/lua/src/ |
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()
|
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() 400 luaL_argcheck(L, n < INT_MAX, 1, "array too big"); in sort()
|
D | lstrlib.c | 201 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range"); in str_char() 1293 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros"); in str_format() 1573 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow"); in str_pack() 1581 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)), in str_pack() 1601 luaL_argcheck(L, len <= (size_t)size, arg, in str_pack() 1611 luaL_argcheck(L, size >= (int)sizeof(size_t) || in str_pack() 1622 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros"); in str_pack() 1647 luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1, in str_packsize() 1650 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize() 1700 luaL_argcheck(L, pos <= ld, 3, "initial position out of string"); in str_unpack() [all …]
|
D | ldblib.c | 287 luaL_argcheck(L, (lua_getupvalue(L, argf, nup) != NULL), argnup, in checkupval() 303 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); in db_upvaluejoin() 304 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected"); in db_upvaluejoin()
|
D | lbaselib.c | 103 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber() 245 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected"); in luaB_type() 426 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select()
|
D | lmathlib.c | 121 luaL_argcheck(L, d != 0, 2, "zero"); in math_fmod() 209 luaL_argcheck(L, n >= 1, 1, "value expected"); in math_min() 223 luaL_argcheck(L, n >= 1, 1, "value expected"); in math_max() 583 luaL_argcheck(L, low <= up, 1, "interval is empty"); in math_random()
|
D | liolib.c | 268 luaL_argcheck(L, l_checkmode(md), 2, "invalid mode"); in io_open() 288 luaL_argcheck(L, l_checkmodep(mode), 2, "invalid mode"); in io_popen() 359 luaL_argcheck(L, n <= MAXARGLINE, MAXARGLINE + 2, "too many arguments"); in aux_lines() 697 luaL_argcheck(L, (lua_Integer)offset == p3, 3, in f_seek()
|
D | lauxlib.h | 132 #define luaL_argcheck(L, cond,arg,extramsg) \ macro
|
D | loslib.c | 295 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds"); in l_checktime()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | msg.c | 100 luaL_argcheck(L, ok, narg, "invalid field type"); in lupb_checkfieldtype() 286 luaL_argcheck(L, lua_rawequal(L, -1, -2), narg, "message type mismatch"); in lupb_tomsgval() 353 luaL_argcheck(L, n != 0 && n <= max, narg, "invalid array index"); in lupb_array_checkindex() 737 luaL_argcheck(L, lua_rawequal(L, -1, -2), narg, "message type mismatch"); in lupb_msg_typechecksubmsg() 817 luaL_argcheck(L, lmap->key_type == key_type, 3, "key type mismatch"); in lupb_msg_newindex() 818 luaL_argcheck(L, lmap->value_type == value_type, 3, "value type mismatch"); in lupb_msg_newindex() 826 luaL_argcheck(L, larr->type == type, 3, "array type mismatch"); in lupb_msg_newindex()
|