Home
last modified time | relevance | path

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

/external/lua/src/
Dlutf8lib.c75 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen()
76 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len); in utflen()
103 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in codepoint()
104 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len); in codepoint()
165 posi = u_posrelat(luaL_optinteger(L, 3, posi), len); in byteoffset()
Dlauxlib.h55 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg,
249 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d)))
252 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
255 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
Dltablib.c108 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove()
174 lua_Integer i = luaL_optinteger(L, 3, 1); in tconcat()
175 last = luaL_optinteger(L, 4, last); in tconcat()
209 lua_Integer i = luaL_optinteger(L, 2, 1); in unpack()
Dlbaselib.c103 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error()
181 int ex = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage()
Dlstrlib.c74 lua_Integer end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
151 lua_Integer posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte()
152 lua_Integer pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte()
611 lua_Integer init = posrelat(luaL_optinteger(L, 3, 1), ls); in str_find_aux()
768 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); /* max replacements */ in str_gsub()
1481 size_t pos = (size_t)posrelat(luaL_optinteger(L, 3, 1), ld) - 1; in str_unpack()
Dldblib.c358 count = (int)luaL_optinteger(L, arg + 3, 0); in db_sethook()
424 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0); in db_traceback()
Dlbitlib.c170 lua_Integer w = luaL_optinteger(L, farg + 1, 1); in fieldargs()
Dliolib.c661 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek()
680 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
Dloslib.c378 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
Dlauxlib.c440 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function