Searched refs:luaL_optinteger (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lauxlib.h | 58 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg, 105 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) 107 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
| H A D | lstrlib.c | 47 ptrdiff_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub() 109 ptrdiff_t posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte() 110 ptrdiff_t pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte() 499 ptrdiff_t init = posrelat(luaL_optinteger(L, 3, 1), l1) - 1; in str_find_aux()
|
| H A D | lua_struct.c | 298 size_t pos = luaL_optinteger(L, 3, 1) - 1; in b_unpack()
|
| H A D | lua_cmsgpack.c | 844 int offset = luaL_optinteger(L, 2, 0); in mp_unpack_one() 852 int offset = luaL_optinteger(L, 3, 0); in mp_unpack_limit()
|
| H A D | liolib.c | 463 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
| H A D | lauxlib.c | 197 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg, in luaL_optinteger() function
|