Home
last modified time | relevance | path

Searched refs:lua_tointeger (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/lua/src/
H A Dlmathlib.c41 lua_Integer n = lua_tointeger(L, 1); in math_abs()
129 lua_Integer d = lua_tointeger(L, 2); in math_fmod()
135 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
H A Dlutf8lib.c204 lua_Integer n = lua_tointeger(L, 2) - 1; in iter_aux()
H A Dliolib.c592 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline()
628 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
H A Dlauxlib.c603 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
819 lua_pushfstring(L, "%I", (LUAI_UACINT)lua_tointeger(L, idx)); in luaL_tolstring()
H A Dluac.c167 int argc=(int)lua_tointeger(L,1); in pmain()
H A Dlua.c555 int argc = (int)lua_tointeger(L, 1); in pmain()
H A Dlua.h342 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
H A Dlstrlib.c965 lua_Integer n = lua_tointeger(L, arg);
/freebsd-12.1/stand/common/
H A Dinterp_lua.c158 ret = lua_tointeger(luap, 1); in interp_run()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlauxlib.c491 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
785 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
H A Dlua.h319 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
H A Dlstrlib.c679 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp.c1347 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()