Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/lutok/
H A Dstate_test.cpp132 const int f2 = lua_tointeger(raw(state), -1); in cxx_multiply_closure()
244 ATF_REQUIRE_EQ(567, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY()
354 ATF_REQUIRE_EQ(3, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY()
355 ATF_REQUIRE_EQ(2, lua_tointeger(raw(state), -2)); in ATF_TEST_CASE_BODY()
356 ATF_REQUIRE_EQ(4, lua_tointeger(raw(state), -3)); in ATF_TEST_CASE_BODY()
357 ATF_REQUIRE_EQ(1, lua_tointeger(raw(state), -4)); in ATF_TEST_CASE_BODY()
561 ATF_REQUIRE_EQ(5, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY()
623 ATF_REQUIRE_EQ(1, lua_tointeger(raw(state), -2)); in ATF_TEST_CASE_BODY()
631 ATF_REQUIRE_EQ(2, lua_tointeger(raw(state), -2)); in ATF_TEST_CASE_BODY()
778 ATF_REQUIRE_EQ(5, lua_tointeger(raw(state), -2)); in ATF_TEST_CASE_BODY()
[all …]
H A Dc_gate_test.cpp50 ATF_REQUIRE_EQ(123, lua_tointeger(raw_state, -1)); in ATF_TEST_CASE_BODY()
64 ATF_REQUIRE_EQ(5, lua_tointeger(raw_state, -1)); in ATF_TEST_CASE_BODY()
H A Dstate.cpp841 return lua_tointeger(_pimpl->lua_state, index); in to_integer()
/freebsd-14.2/libexec/flua/modules/
H A Dlposix.c79 owner = (uid_t) lua_tointeger(L, 2); in lua_chown()
96 group = (gid_t) lua_tointeger(L, 3); in lua_chown()
/freebsd-14.2/lib/clang/liblldb/
H A DLLDBWrapLua.cpp12883 arg4 = (int)lua_tointeger(L, 4); in _wrap_SBCommandInterpreter_HandleCompletion()
12884 arg5 = (int)lua_tointeger(L, 5); in _wrap_SBCommandInterpreter_HandleCompletion()
12928 arg4 = (int)lua_tointeger(L, 4); in _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions()
12929 arg5 = (int)lua_tointeger(L, 5); in _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions()
15671 arg2 = (int)lua_tointeger(L, 2); in _wrap_SBCommunication_AdoptFileDesriptor()
21606 arg1 = (int)lua_tointeger(L, 1); in _wrap_SBDebugger_FindDebuggerWithID()
22435 temp5 = (int)lua_tointeger(L,5); in _wrap_SBDebugger_RunCommandInterpreter()
27228 arg1 = (int)lua_tointeger(L, 1); in _wrap_new_SBFile__SWIG_2()
34233 arg2 = (int)lua_tointeger(L, 2); in _wrap_SBLaunchInfo_AddCloseFileAction()
34262 arg2 = (int)lua_tointeger(L, 2); in _wrap_SBLaunchInfo_AddDuplicateFileAction()
[all …]
/freebsd-14.2/lib/flua/libjail/
H A Dlua_jail.c416 jid = lua_tointeger(L, 1); in l_getparams()
507 jid = lua_tointeger(L, 1); in l_setparams()
592 jid = lua_tointeger(L, 1); in l_attach()
623 jid = lua_tointeger(L, 1); in l_remove()
/freebsd-14.2/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig15 %{ $1 = ($type)lua_tointeger(L, $input); %}
17 %{ temp=($basetype)lua_tointeger(L,$input); $1=&temp;%}
25 %{ temp = ($*ltype)lua_tointeger(L,$input);
38 %{ temp = ($*ltype)lua_tointeger(L,$input);
/freebsd-14.2/stand/common/
H A Dinterp_lua.c170 ret = lua_tointeger(luap, 1); in interp_run()
/freebsd-14.2/contrib/lua/src/
H A Dlmathlib.c31 lua_Integer n = lua_tointeger(L, 1); in math_abs()
119 lua_Integer d = lua_tointeger(L, 2); in math_fmod()
125 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
H A Dlutf8lib.c231 lua_Unsigned n = (lua_Unsigned)lua_tointeger(L, 2); in iter_aux()
H A Dliolib.c632 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline()
668 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
H A Dltests.c1145 lua_pushinteger(L, lua_tointeger(L, 1)); in num2int()
1311 res = cast_int(lua_tointeger(L1, -1)); in getnum_aux()
1609 lua_pushfstring(L1, lua_tostring(L, -2), (int)lua_tointeger(L, -1)); in runC()
1729 lua_pushinteger(L1, lua_tointeger(L1, getindex)); in runC()
H A Dlauxlib.c675 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
899 lua_pushfstring(L, "%I", (LUAI_UACINT)lua_tointeger(L, idx)); in luaL_tolstring()
H A Dlua.c618 int argc = (int)lua_tointeger(L, 1); in pmain()
H A Dlua.h374 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
H A Dluac.c170 int argc=(int)lua_tointeger(L,1); in pmain()
H A Dlstrlib.c1195 lua_Integer n = lua_tointeger(L, arg);
/freebsd-14.2/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c489 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
783 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
H A Dlstrlib.c660 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux()
/freebsd-14.2/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h319 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzcp.c1371 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()