Searched refs:lua_tointeger (Results 1 – 15 of 15) sorted by relevance
/netbsd-src/external/bsd/lutok/dist/ |
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() 275 ATF_REQUIRE_EQ(567, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY() 294 ATF_REQUIRE_EQ(567, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY() 319 ATF_REQUIRE_EQ(234, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY() 372 ATF_REQUIRE_EQ(3, lua_tointeger(raw(state), -1)); in ATF_TEST_CASE_BODY() 373 ATF_REQUIRE_EQ(2, 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 | 829 return lua_tointeger(_pimpl->lua_state, index); in to_integer()
|
/netbsd-src/lib/lua/libm/ |
H A D | libm.c | 84 int i = (int)lua_tointeger(L, 1); \ 199 int i = (int)lua_tointeger(L, 2); in libm_scalbn()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lmathlib.c | 33 lua_Integer n = lua_tointeger(L, 1); in math_abs() 121 lua_Integer d = lua_tointeger(L, 2); in math_fmod() 127 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
|
H A D | lutf8lib.c | 235 lua_Unsigned n = (lua_Unsigned)lua_tointeger(L, 2); in iter_aux()
|
H A D | liolib.c | 634 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 670 (LUAI_UACINT)lua_tointeger(L, arg)) in g_write()
|
H A D | lauxlib.c | 687 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref() 915 lua_pushfstring(L, "%I", (LUAI_UACINT)lua_tointeger(L, idx)); in luaL_tolstring()
|
H A D | lua.c | 620 int argc = (int)lua_tointeger(L, 1); in pmain()
|
H A D | lua.h | 397 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
|
H A D | luac.c | 172 int argc=(int)lua_tointeger(L,1); in pmain()
|
H A D | lstrlib.c | 1201 lua_Integer n = lua_tointeger(L, arg); in addliteral()
|
/netbsd-src/sys/modules/luapmf/ |
H A D | luapmf.c | 50 pmf_system_shutdown(lua_tointeger(L, 1)); in system_shutdown()
|
/netbsd-src/sys/modules/examples/luareadhappy/ |
H A D | luareadhappy.c | 120 rv = lua_tointeger(sc.kL->L, -1); in check_happy()
|
/netbsd-src/lib/lua/gpio/ |
H A D | gpio.c | 115 req->gp_pin = (int)lua_tointeger(L, n); /* not 1 based! */ in gpio_get_pin()
|