/freebsd/contrib/lutok/ |
H A D | state_test.cpp | 112 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 D | c_gate_test.cpp | 50 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 D | state.cpp | 841 return lua_tointeger(_pimpl->lua_state, index); in to_integer()
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 4208 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 D | lua_jail.c | 415 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 D | lua-typemaps.swig | 15 %{ $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 D | linker.c | 45 fileid = lua_tointeger(L, 1); in lua_kldunload()
|
/freebsd/contrib/lua/src/ |
H A D | lmathlib.c | 31 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 D | lutf8lib.c | 231 lua_Unsigned n = (lua_Unsigned)lua_tointeger(L, 2); in iter_aux()
|
H A D | liolib.c | 632 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 668 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
|
H A D | ltests.c | 1145 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 D | lauxlib.c | 675 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 D | lua.c | 618 int argc = (int)lua_tointeger(L, 1); in pmain()
|
H A D | lua.h | 374 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
|
H A D | luac.c | 170 int argc=(int)lua_tointeger(L,1); in pmain()
|
H A D | lstrlib.c | 1195 lua_Integer n = lua_tointeger(L, arg);
|
/freebsd/stand/common/ |
H A D | interp_lua.c | 189 ret = lua_tointeger(luap, 1); in interp_run()
|
/freebsd/libexec/flua/modules/ |
H A D | lposix.c | 96 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 D | lauxlib.c | 490 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref() 784 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
|
H A D | lstrlib.c | 661 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 320 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 1371 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()
|