Home
last modified time | relevance | path

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

/freebsd/contrib/lutok/
H A Dstate_test.cpp112 const int i1 = lua_tointeger(raw_state, state.upvalue_index(1)); in c_get_upvalues()
113 const int i2 = lua_tointeger(raw_state, state.upvalue_index(2)); in c_get_upvalues()
131 const int f1 = lua_tointeger(raw(state), lua_upvalueindex(1)); in cxx_multiply_closure()
132 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()
276 ATF_REQUIRE_EQ(567, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY()
301 ATF_REQUIRE_EQ(234, 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()
[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/lib/clang/liblldb/
H A DLLDBWrapLua.cpp4208 arg2 = (lldb::addr_t)lua_tointeger(L, 2); in _wrap_new_SBAddress__SWIG_2()
4230 arg1 = (lldb::addr_t)lua_tointeger(L, 1); in _wrap_new_SBAddress__SWIG_3()
4445 arg3 = (lldb::addr_t)lua_tointeger(L, 3); in _wrap_SBAddress_SetAddress()
4473 arg2 = (lldb::addr_t)lua_tointeger(L, 2); in _wrap_SBAddress_SetLoadAddress()
4505 arg2 = (lldb::addr_t)lua_tointeger(L, 2); in _wrap_SBAddress_OffsetAddress()
4563 arg2 = (uint32_t)lua_tointeger(L, 2); in _wrap_SBAddress_GetSymbolContext()
4939 arg2 = (lldb::addr_t)lua_tointeger(L, 2); in _wrap_new_SBAddressRange__SWIG_2()
5363 arg2 = (uint64_t)lua_tointeger(L, 2); in _wrap_SBAddressRangeList_GetAddressRangeAtIndex()
5617 arg1 = (lldb::pid_t)lua_tointeger(L, 1); in _wrap_new_SBAttachInfo__SWIG_1()
5818 arg2 = (lldb::pid_t)lua_tointeger(L, 2); in _wrap_SBAttachInfo_SetProcessID()
[all …]
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c415 jid = lua_tointeger(L, 1); in l_getparams()
506 jid = lua_tointeger(L, 1); in l_setparams()
591 jid = lua_tointeger(L, 1); in l_attach()
622 jid = lua_tointeger(L, 1); in l_remove()
/freebsd/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/libexec/flua/libfreebsd/sys/linker/
H A Dlinker.c45 fileid = lua_tointeger(L, 1); in lua_kldunload()
/freebsd/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/stand/common/
H A Dinterp_lua.c189 ret = lua_tointeger(luap, 1); in interp_run()
/freebsd/libexec/flua/modules/
H A Dlposix.c96 owner = (uid_t) lua_tointeger(L, 2); in lua_chown()
113 group = (gid_t) lua_tointeger(L, 3); in lua_chown()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c490 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
784 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
H A Dlstrlib.c661 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h320 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c1371 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()