Home
last modified time | relevance | path

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

/minix3/external/mit/lua/dist/src/
H A Dlutf8lib.c79 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen()
80 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len); in utflen()
107 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in codepoint()
108 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len); in codepoint()
169 posi = u_posrelat(luaL_optinteger(L, 3, posi), len); in byteoffset()
H A Dlauxlib.h52 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg,
56 #define luaL_optinteger(L,a,d) luaL_optnumber(L, (a), (lua_Number)(d)) macro
260 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d)))
263 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
266 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
H A Dltablib.c111 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove()
178 i = luaL_optinteger(L, 3, 1); in tconcat()
216 i = luaL_optinteger(L, 2, 1); in unpack()
H A Dldblib.c362 count = (int)luaL_optinteger(L, arg + 3, 0); in db_sethook()
430 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0); in db_traceback()
H A Dlbaselib.c107 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error()
185 int ex = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage()
H A 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()
595 lua_Integer init = posrelat(luaL_optinteger(L, 3, 1), ls); in str_find_aux()
756 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); in str_gsub()
1436 size_t pos = (size_t)posrelat(luaL_optinteger(L, 3, 1), ld) - 1; in str_unpack()
H A Dlbitlib.c166 lua_Integer w = luaL_optinteger(L, farg + 1, 1); in fieldargs()
H A Dloslib.c341 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
H A Dliolib.c639 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek()
658 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
H A Dlauxlib.c435 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function