Searched refs:lua_tointeger (Results 1 – 12 of 12) sorted by relevance
| /minix3/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()
|
| /minix3/external/mit/lua/dist/src/ |
| H A D | lmathlib.c | 43 lua_Integer n = lua_tointeger(L, 1); in math_abs() 131 lua_Integer d = lua_tointeger(L, 2); in math_fmod() 137 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
|
| H A D | lutf8lib.c | 208 lua_Integer n = lua_tointeger(L, 2) - 1; in iter_aux()
|
| H A D | liolib.c | 572 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 607 ? fprintf(f, LUA_INTEGER_FMT, lua_tointeger(L, arg)) in g_write()
|
| H A D | lauxlib.c | 553 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */ in luaL_ref() 767 lua_pushfstring(L, "%I", lua_tointeger(L, idx)); in luaL_tolstring()
|
| H A D | luac.c | 169 int argc=(int)lua_tointeger(L,1); in pmain()
|
| H A D | lua.c | 558 int argc = (int)lua_tointeger(L, 1); in pmain()
|
| H A D | lua.h | 375 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) macro
|
| H A D | lstrlib.c | 664 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux()
|
| /minix3/lib/lua/gpio/ |
| H A D | gpio.c | 115 req->gp_pin = (int)lua_tointeger(L, n); /* not 1 based! */ in gpio_get_pin()
|