Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/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-13.1/lib/flua/libjail/
H A Dlua_jail.c420 jid = lua_tointeger(L, 1); in l_getparams()
511 jid = lua_tointeger(L, 1); in l_setparams()
596 jid = lua_tointeger(L, 1); in l_attach()
627 jid = lua_tointeger(L, 1); in l_remove()
/freebsd-13.1/lib/clang/liblldb/
H A DLLDBWrapLua.cpp6857 arg2 = (signed int)lua_tointeger(L, 2); in _wrap_SBBreakpoint_FindLocationByID()
8370 arg2 = (signed int)lua_tointeger(L, 2); in _wrap_SBBreakpointList_FindBreakpointByID()
8460 arg2 = (signed int)lua_tointeger(L, 2); in _wrap_SBBreakpointList_AppendByID()
12520 arg4 = (signed int)lua_tointeger(L, 4); in _wrap_SBCommandInterpreter_HandleCompletion()
12521 arg5 = (signed int)lua_tointeger(L, 5); in _wrap_SBCommandInterpreter_HandleCompletion()
12565 arg4 = (signed int)lua_tointeger(L, 4); in _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions()
12566 arg5 = (signed int)lua_tointeger(L, 5); in _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions()
14559 arg3 = (signed int)lua_tointeger(L, 3); in _wrap_SBCommandReturnObject_PutCString()
14816 arg2 = (signed int)lua_tointeger(L, 2); in _wrap_SBCommunication_AdoptFileDesriptor()
19755 arg1 = (signed int)lua_tointeger(L, 1); in _wrap_SBDebugger_FindDebuggerWithID()
[all …]
/freebsd-13.1/stand/common/
H A Dinterp_lua.c167 ret = lua_tointeger(luap, 1); in interp_run()
/freebsd-13.1/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.c227 lua_Integer n = lua_tointeger(L, 2) - 1; in iter_aux()
H A Dliolib.c626 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline()
662 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
H A Dlauxlib.c654 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref()
870 lua_pushfstring(L, "%I", (LUAI_UACINT)lua_tointeger(L, idx)); in luaL_tolstring()
H A Dlua.c581 int argc = (int)lua_tointeger(L, 1); in pmain()
H A Dlua.h362 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
H A Dluac.c171 int argc=(int)lua_tointeger(L,1); in pmain()
H A Dlstrlib.c1173 lua_Integer n = lua_tointeger(L, arg);
/freebsd-13.1/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-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h320 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) macro
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp.c1371 if (lua_isnumber(state, -2) && lua_tointeger(state, -2) > 0) { in zcp_parse_table_args()