Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlauxlib.h58 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 Dlstrlib.c47 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 Dlua_struct.c296 size_t pos = luaL_optinteger(L, 3, 1); in b_unpack()
H A Dlua_cmsgpack.c854 int offset = luaL_optinteger(L, 2, 0); in mp_unpack_one()
862 int offset = luaL_optinteger(L, 3, 0); in mp_unpack_limit()
H A Dliolib.c463 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
H A Dlauxlib.c197 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg, in luaL_optinteger() function
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h42 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg,
106 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
108 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlstrlib.c67 size_t end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub()
146 size_t posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte()
147 size_t pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte()
592 size_t init = posrelat(luaL_optinteger(L, 3, 1), ls); in str_find_aux()
751 size_t max_s = luaL_optinteger(L, 4, srcl+1); in str_gsub()
H A Dlauxlib.c367 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg, in luaL_optinteger() function