/freebsd/contrib/lua/src/ |
H A D | lbaselib.c | 115 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error() 216 int step = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 224 int p = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 237 int minormul = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 238 int majormul = (int)luaL_optinteger(L, 3, 0); in luaB_collectgarbage() 242 int pause = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage() 243 int stepmul = (int)luaL_optinteger(L, 3, 0); in luaB_collectgarbage() 244 int stepsize = (int)luaL_optinteger(L, 4, 0); in luaB_collectgarbage()
|
H A D | lutf8lib.c | 100 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen() 101 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len); in utflen() 129 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in codepoint() 130 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len); in codepoint() 192 posi = u_posrelat(luaL_optinteger(L, 3, posi), len); in byteoffset()
|
H A D | lauxlib.h | 63 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg, 286 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d))) 289 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) 292 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
H A D | ltablib.c | 93 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove() 161 lua_Integer i = luaL_optinteger(L, 3, 1); in tconcat() 162 last = luaL_optinteger(L, 4, last); in tconcat() 196 lua_Integer i = luaL_optinteger(L, 2, 1); in tunpack()
|
H A 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() 376 count = (int)luaL_optinteger(L, arg + 3, 0); in db_sethook() 442 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0); in db_traceback()
|
H A D | lstrlib.c | 89 lua_Integer pos = luaL_optinteger(L, arg, def); in getendpos() 180 lua_Integer pi = luaL_optinteger(L, 2, 1); in str_byte() 777 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1; in str_find_aux() 858 size_t init = posrelatI(luaL_optinteger(L, 3, 1), ls) - 1; in gmatch() 948 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); /* max replacements */ in str_gsub() 1775 size_t pos = posrelatI(luaL_optinteger(L, 3, 1), ld) - 1;
|
H A D | liolib.c | 702 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek() 721 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
H A D | ltests.c | 994 int i = cast_int(luaL_optinteger(L, 2, -1)); in table_query() 1033 int s = cast_int(luaL_optinteger(L, 1, 0)) - 1; in string_query() 1098 size_t size = cast_sizet(luaL_optinteger(L, 1, 0)); in newuserdata() 1099 int nuv = luaL_optinteger(L, 2, 0); in newuserdata() 1878 int count = cast_int(luaL_optinteger(L, 3, 0)); in sethook()
|
H A D | loslib.c | 397 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
|
H A D | lmathlib.c | 625 lua_Integer n2 = luaL_optinteger(L, 2, 0); in math_randomseed()
|
H A D | lauxlib.c | 452 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lauxlib.h | 42 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/sys/contrib/openzfs/module/lua/ |
H A D | lstrlib.c | 67 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 D | lauxlib.c | 367 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg, in luaL_optinteger() function
|
/freebsd/libexec/flua/libjail/ |
H A D | lua_jail.c | 386 flags = luaL_optinteger(L, 3, 0); in l_getparams() 484 flags = luaL_optinteger(L, 3, 0); in l_setparams()
|