Searched refs:luaL_optinteger (Results 1 – 10 of 10) sorted by relevance
/external/lua/src/ |
D | lbaselib.c | 115 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error() 206 int step = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 213 int p = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 224 int minormul = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 225 int majormul = (int)luaL_optinteger(L, 3, 0); in luaB_collectgarbage() 229 int pause = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 230 int stepmul = (int)luaL_optinteger(L, 3, 0); in luaB_collectgarbage() 231 int stepsize = (int)luaL_optinteger(L, 4, 0); in luaB_collectgarbage()
|
D | lutf8lib.c | 96 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen() 97 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len); in utflen() 125 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in codepoint() 126 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len); in codepoint() 188 posi = u_posrelat(luaL_optinteger(L, 3, posi), len); in byteoffset()
|
D | lauxlib.h | 62 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg, 261 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d))) 264 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) 267 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
D | ltablib.c | 92 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove() 160 lua_Integer i = luaL_optinteger(L, 3, 1); in tconcat() 161 last = luaL_optinteger(L, 4, last); in tconcat() 195 lua_Integer i = luaL_optinteger(L, 2, 1); in tunpack()
|
D | ldblib.c | 66 int n = (int)luaL_optinteger(L, 2, 1); in db_getuservalue() 78 int n = (int)luaL_optinteger(L, 3, 1); in db_setuservalue() 367 count = (int)luaL_optinteger(L, arg + 3, 0); in db_sethook() 433 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0); in db_traceback()
|
D | lstrlib.c | 89 lua_Integer pos = luaL_optinteger(L, arg, def); in getendpos() 179 lua_Integer pi = luaL_optinteger(L, 2, 1); in str_byte() 774 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1; in str_find_aux() 855 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1; in gmatch() 945 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); /* max replacements */ in str_gsub() 1698 size_t pos = posrelatI(luaL_optinteger(L, 3, 1), ld) - 1; in str_unpack()
|
D | liolib.c | 695 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek() 714 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
D | loslib.c | 399 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
|
D | lmathlib.c | 624 lua_Integer n2 = luaL_optinteger(L, 2, 0); in math_randomseed()
|
D | lauxlib.c | 452 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function
|