Searched refs:luaL_optinteger (Results 1 – 10 of 10) sorted by relevance
/external/lua/src/ |
D | lutf8lib.c | 75 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()
|
D | lauxlib.h | 55 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)))
|
D | ltablib.c | 108 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()
|
D | lbaselib.c | 103 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error() 181 int ex = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage()
|
D | lstrlib.c | 74 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()
|
D | ldblib.c | 358 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()
|
D | lbitlib.c | 170 lua_Integer w = luaL_optinteger(L, farg + 1, 1); in fieldargs()
|
D | liolib.c | 661 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek() 680 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
D | loslib.c | 378 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
|
D | lauxlib.c | 440 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function
|