Home
last modified time | relevance | path

Searched refs:luaL_checkinteger (Results 1 – 11 of 11) sorted by relevance

/external/lua/src/
Dlbitlib.c23 #define checkunsigned(L,i) ((lua_Unsigned)luaL_checkinteger(L,i))
117 return b_shift(L, checkunsigned(L, 1), luaL_checkinteger(L, 2)); in b_lshift()
122 return b_shift(L, checkunsigned(L, 1), -luaL_checkinteger(L, 2)); in b_rshift()
128 lua_Integer i = luaL_checkinteger(L, 2); in b_arshift()
153 return b_rot(L, luaL_checkinteger(L, 2)); in b_lrot()
158 return b_rot(L, -luaL_checkinteger(L, 2)); in b_rrot()
169 lua_Integer f = luaL_checkinteger(L, farg); in fieldargs()
Dldblib.c157 if (!lua_getstack(L1, (int)luaL_checkinteger(L, arg + 1), &ar)) { in db_getinfo()
198 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal()
205 int level = (int)luaL_checkinteger(L, arg + 1); in db_getlocal()
229 int level = (int)luaL_checkinteger(L, arg + 1); in db_setlocal()
230 int nvar = (int)luaL_checkinteger(L, arg + 2); in db_setlocal()
250 int n = (int)luaL_checkinteger(L, 2); /* upvalue index */ in auxupvalue()
276 int nup = (int)luaL_checkinteger(L, argnup); /* upvalue index */ in checkupval()
Dlmathlib.c173 lua_Integer a = luaL_checkinteger(L, 1); in math_ult()
174 lua_Integer b = luaL_checkinteger(L, 2); in math_ult()
257 up = luaL_checkinteger(L, 1); in math_random()
261 low = luaL_checkinteger(L, 1); in math_random()
262 up = luaL_checkinteger(L, 2); in math_random()
337 int ep = (int)luaL_checkinteger(L, 2); in math_ldexp()
Dltablib.c89 pos = luaL_checkinteger(L, 2); /* 2nd argument is the position */ in tinsert()
129 lua_Integer f = luaL_checkinteger(L, 2); in tmove()
130 lua_Integer e = luaL_checkinteger(L, 3); in tmove()
131 lua_Integer t = luaL_checkinteger(L, 4); in tmove()
210 lua_Integer e = luaL_opt(L, luaL_checkinteger, 3, luaL_len(L, 1)); in unpack()
Dlauxlib.h54 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int arg);
247 #define luaL_checkunsigned(L,a) ((lua_Unsigned)luaL_checkinteger(L,a))
251 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
254 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
Dlutf8lib.c129 lua_Integer code = luaL_checkinteger(L, arg); in pushutfchar()
163 lua_Integer n = luaL_checkinteger(L, 2); in byteoffset()
Dlbaselib.c88 lua_Integer base = luaL_checkinteger(L, 2); in luaB_tonumber()
247 lua_Integer i = luaL_checkinteger(L, 2) + 1; in ipairsaux()
392 lua_Integer i = luaL_checkinteger(L, 1); in luaB_select()
Dlstrlib.c73 lua_Integer start = posrelat(luaL_checkinteger(L, 2), l); in str_sub()
125 lua_Integer n = luaL_checkinteger(L, 2); in str_rep()
173 lua_Integer c = luaL_checkinteger(L, i); in str_char()
1038 nb = l_sprintf(buff, MAX_ITEM, form, (int)luaL_checkinteger(L, arg)); in str_format()
1043 lua_Integer n = luaL_checkinteger(L, arg); in str_format()
1348 lua_Integer n = luaL_checkinteger(L, arg); in str_pack()
1357 lua_Integer n = luaL_checkinteger(L, arg); in str_pack()
Dloslib.c70 lua_Integer t = luaL_checkinteger(L, arg); in l_checktime()
Dlauxlib.c430 LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) { in luaL_checkinteger() function
442 return luaL_opt(L, luaL_checkinteger, arg, def); in luaL_optinteger()
Dliolib.c543 size_t l = (size_t)luaL_checkinteger(L, n); in g_read()