Home
last modified time | relevance | path

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

/external/lua/src/
Dldblib.c161 if (!lua_getstack(L1, (int)luaL_checkinteger(L, arg + 1), &ar)) { in db_getinfo()
205 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal()
214 int level = (int)luaL_checkinteger(L, arg + 1); in db_getlocal()
238 int level = (int)luaL_checkinteger(L, arg + 1); in db_setlocal()
239 int nvar = (int)luaL_checkinteger(L, arg + 2); in db_setlocal()
259 int n = (int)luaL_checkinteger(L, 2); /* upvalue index */ in auxupvalue()
285 int nup = (int)luaL_checkinteger(L, argnup); /* upvalue index */ in checkupval()
441 int limit = (int)luaL_checkinteger(L, 1); in db_setcstacklimit()
Dltablib.c71 pos = luaL_checkinteger(L, 2); /* 2nd argument is the position */ in tinsert()
115 lua_Integer f = luaL_checkinteger(L, 2); in tmove()
116 lua_Integer e = luaL_checkinteger(L, 3); in tmove()
117 lua_Integer t = luaL_checkinteger(L, 4); in tmove()
196 lua_Integer e = luaL_opt(L, luaL_checkinteger, 3, luaL_len(L, 1)); in tunpack()
Dlmathlib.c163 lua_Integer a = luaL_checkinteger(L, 1); in math_ult()
164 lua_Integer b = luaL_checkinteger(L, 2); in math_ult()
568 up = luaL_checkinteger(L, 1); in math_random()
576 low = luaL_checkinteger(L, 1); in math_random()
577 up = luaL_checkinteger(L, 2); in math_random()
623 lua_Integer n1 = luaL_checkinteger(L, 1); in math_randomseed()
689 int ep = (int)luaL_checkinteger(L, 2); in math_ldexp()
Dlauxlib.h61 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int arg);
259 #define luaL_checkunsigned(L,a) ((lua_Unsigned)luaL_checkinteger(L,a))
263 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
266 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
Dlutf8lib.c152 lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg); in pushutfchar()
186 lua_Integer n = luaL_checkinteger(L, 2); in byteoffset()
Dlbaselib.c100 lua_Integer base = luaL_checkinteger(L, 2); in luaB_tonumber()
282 lua_Integer i = luaL_checkinteger(L, 2) + 1; in ipairsaux()
423 lua_Integer i = luaL_checkinteger(L, 1); in luaB_select()
Dlstrlib.c103 size_t start = posrelatI(luaL_checkinteger(L, 2), l); in str_sub()
153 lua_Integer n = luaL_checkinteger(L, 2); in str_rep()
200 lua_Unsigned c = (lua_Unsigned)luaL_checkinteger(L, i); in str_char()
1247 nb = l_sprintf(buff, maxitem, form, (int)luaL_checkinteger(L, arg)); in str_format()
1252 lua_Integer n = luaL_checkinteger(L, arg); in str_format()
1570 lua_Integer n = luaL_checkinteger(L, arg); in str_pack()
1579 lua_Integer n = luaL_checkinteger(L, arg); in str_pack()
Dloslib.c69 #define l_gettime(L,arg) luaL_checkinteger(L, arg)
Dlauxlib.c442 LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) { in luaL_checkinteger() function
454 return luaL_opt(L, luaL_checkinteger, arg, def); in luaL_optinteger()
Dliolib.c574 size_t l = (size_t)luaL_checkinteger(L, n); in g_read()