Searched refs:luaL_optinteger (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/lua/src/
H A Dlutf8lib.c96 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len);
97 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len);
125 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len);
126 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len);
188 posi = u_posrelat(luaL_optinteger(L, 3, posi), len);
H A Dlbaselib.c115 int level = (int)luaL_optinteger(L, 2, 1);
206 int step = (int)luaL_optinteger(L, 2, 0);
213 int p = (int)luaL_optinteger(L, 2, 0);
224 int minormul = (int)luaL_optinteger(L, 2, 0);
225 int majormul = (int)luaL_optinteger(L, 3, 0);
229 int pause = (int)luaL_optinteger(L, 2, 0);
230 int stepmul = (int)luaL_optinteger(L, 3, 0);
231 int stepsize = (int)luaL_optinteger(L, 4, 0);
H A Dlauxlib.h62 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)))
H A Dldblib.c66 int n = (int)luaL_optinteger(L, 2, 1);
78 int n = (int)luaL_optinteger(L, 3, 1);
375 count = (int)luaL_optinteger(L, arg + 3, 0);
441 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0);
H A Dltablib.c92 lua_Integer pos = luaL_optinteger(L, 2, size);
160 lua_Integer i = luaL_optinteger(L, 3, 1);
161 last = luaL_optinteger(L, 4, last);
195 lua_Integer i = luaL_optinteger(L, 2, 1);
H A Dlstrlib.c89 lua_Integer pos = luaL_optinteger(L, arg, def);
179 lua_Integer pi = luaL_optinteger(L, 2, 1);
774 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1;
855 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1;
945 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); /* max replacements */
1714 size_t pos = posrelatI(luaL_optinteger(L, 3, 1), ld) - 1;
H A Dliolib.c695 lua_Integer p3 = luaL_optinteger(L, 3, 0);
714 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE);
H A Dloslib.c399 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS);
H A Dlmathlib.c624 lua_Integer n2 = luaL_optinteger(L, 2, 0);
H A Dlauxlib.c452 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, function
/freebsd-13-stable/sys/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)))
/freebsd-13-stable/lib/flua/libjail/
H A Dlua_jail.c116 flags = luaL_optinteger(L, 3, 0);
239 flags = luaL_optinteger(L, 3, 0);
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c67 size_t end = posrelat(luaL_optinteger(L, 3, -1), l);
146 size_t posi = posrelat(luaL_optinteger(L, 2, 1), l);
147 size_t pose = posrelat(luaL_optinteger(L, 3, posi), l);
592 size_t init = posrelat(luaL_optinteger(L, 3, 1), ls);
751 size_t max_s = luaL_optinteger(L, 4, srcl+1);
H A Dlauxlib.c367 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg, function

Completed in 173 milliseconds