| /freebsd-14.2/contrib/lutok/ |
| H A D | state_test.cpp | 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() 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 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-14.2/libexec/flua/modules/ |
| H A D | lposix.c | 79 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 D | LLDBWrapLua.cpp | 12883 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 D | lua_jail.c | 416 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 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-14.2/stand/common/ |
| H A D | interp_lua.c | 170 ret = lua_tointeger(luap, 1); in interp_run()
|
| /freebsd-14.2/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-14.2/sys/contrib/openzfs/module/lua/ |
| H A D | lauxlib.c | 489 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref() 783 if (lua_tointeger(L, -1) != -0x1234 || in luaL_checkversion_()
|
| H A D | lstrlib.c | 660 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 D | lua.h | 319 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
|
| /freebsd-14.2/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()
|