Searched refs:lua_tointeger (Results 1 – 13 of 13) sorted by relevance
| /freebsd-12.1/contrib/lua/src/ |
| H A D | lmathlib.c | 41 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 D | lutf8lib.c | 204 lua_Integer n = lua_tointeger(L, 2) - 1; in iter_aux()
|
| H A D | liolib.c | 592 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 628 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
|
| H A D | lauxlib.c | 603 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 D | luac.c | 167 int argc=(int)lua_tointeger(L,1); in pmain()
|
| H A D | lua.c | 555 int argc = (int)lua_tointeger(L, 1); in pmain()
|
| H A D | lua.h | 342 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
|
| H A D | lstrlib.c | 965 lua_Integer n = lua_tointeger(L, arg);
|
| /freebsd-12.1/stand/common/ |
| H A D | interp_lua.c | 158 ret = lua_tointeger(luap, 1); in interp_run()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lauxlib.c | 491 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref() 785 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
|
| H A D | lua.h | 319 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
|
| H A D | lstrlib.c | 679 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 D | zcp.c | 1347 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()
|