Searched refs:lua_isnumber (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/lib/lua/libm/ |
H A D | libm.c | 56 if (!lua_isnumber(L, 1)) \ 68 if (!lua_isnumber(L, 1)) \ 81 !lua_isnumber(L, 2)) \ 94 if (!lua_isnumber(L, 1) || \ 95 !lua_isnumber(L, 2)) \ 167 if (!lua_isnumber(L, 1) || in DFUNC_DBL() 168 !lua_isnumber(L, 2) || in DFUNC_DBL() 169 !lua_isnumber(L, 3)) in DFUNC_DBL() 195 if (!lua_isnumber(L, 1) || !lua_isinteger(L, 2)) in libm_scalbn() 207 if (!lua_isnumber(L, 1)) in libm_ilogb()
|
/netbsd-src/external/bsd/lutok/dist/ |
H A D | state_test.cpp | 205 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 243 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 274 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 293 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 318 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 731 ATF_REQUIRE(lua_isnumber(raw(state), -2)); in ATF_TEST_CASE_BODY() 733 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 739 ATF_REQUIRE(lua_isnumber(raw(state), -2)); in ATF_TEST_CASE_BODY() 741 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() 1014 ATF_REQUIRE(lua_isnumber(raw(state), -1)); in ATF_TEST_CASE_BODY() [all …]
|
H A D | state.cpp | 444 return lua_isnumber(_pimpl->lua_state, index); in is_number()
|
/netbsd-src/sys/modules/examples/luareadhappy/ |
H A D | luareadhappy.c | 114 if (!lua_isnumber(sc.kL->L, -1)) { in check_happy()
|
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lua.h | 197 LUA_API int (lua_isnumber) (lua_State *L, int idx); variable
|
H A D | lauxlib.c | 446 if (lua_isnumber(L, arg)) in interror()
|
H A D | lapi.c | 315 LUA_API int lua_isnumber (lua_State *L, int idx) { in lua_isnumber() function
|