Searched refs:to_integer (Results 1 – 21 of 21) sorted by relevance
| /netbsd/src/external/bsd/lutok/dist/ |
| D | operations_test.cpp | 55 state.push_integer(state.to_integer(-1) + state.to_integer(-2)); in hook_add() 72 state.push_integer(state.to_integer(-1) * state.to_integer(-2)); in hook_multiply() 103 ATF_REQUIRE_EQ(30, state.to_integer()); in ATF_TEST_CASE_BODY() 119 ATF_REQUIRE_EQ(30, state.to_integer()); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE_EQ(200, state.to_integer()); in ATF_TEST_CASE_BODY() 123 ATF_REQUIRE_EQ(50, state.to_integer()); in ATF_TEST_CASE_BODY() 138 ATF_REQUIRE_EQ(10, state.to_integer(-3)); in ATF_TEST_CASE_BODY() 139 ATF_REQUIRE_EQ(20, state.to_integer(-2)); in ATF_TEST_CASE_BODY() 140 ATF_REQUIRE_EQ(30, state.to_integer(-1)); in ATF_TEST_CASE_BODY() 168 ATF_REQUIRE_EQ(10, state.to_integer(-2)); in ATF_TEST_CASE_BODY() [all …]
|
| D | stack_cleaner_test.cpp | 69 ATF_REQUIRE_EQ(10, state.to_integer()); in ATF_TEST_CASE_BODY() 74 ATF_REQUIRE_EQ(20, state.to_integer(-1)); in ATF_TEST_CASE_BODY() 75 ATF_REQUIRE_EQ(10, state.to_integer(-2)); in ATF_TEST_CASE_BODY() 78 ATF_REQUIRE_EQ(10, state.to_integer()); in ATF_TEST_CASE_BODY() 97 ATF_REQUIRE_EQ(30, state.to_integer()); in ATF_TEST_CASE_BODY()
|
| D | test_utils.hpp | 127 if (!_state.is_number() || _state.to_integer() != 987654321) in ~stack_balance_checker()
|
| D | exceptions_test.cpp | 64 ATF_REQUIRE_EQ(123, state.to_integer()); in ATF_TEST_CASE_BODY()
|
| D | state.hpp | 135 long to_integer(const int = -1);
|
| D | state_test.cpp | 156 const int dividend = state.to_integer(-2); in cxx_divide() 157 const int divisor = state.to_integer(-1); in cxx_divide() 181 const int length = state.to_integer(); in raise_long_error() 1225 ATF_REQUIRE_EQ(34, state.to_integer()); in ATF_TEST_CASE_BODY() 1227 ATF_REQUIRE_EQ(12, state.to_integer()); in ATF_TEST_CASE_BODY() 1238 ATF_REQUIRE_EQ(12, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
|
| D | state.cpp | 826 lutok::state::to_integer(const int index) in to_integer() function in lutok::state
|
| /netbsd/src/bin/expr/ |
| D | expr.y | 159 to_integer(const char *str) in to_integer() function 183 l = to_integer(left); in eval_arith() 184 r = to_integer(right); in eval_arith()
|
| /netbsd/src/external/bsd/lutok/dist/examples/ |
| D | bindings.cpp | 83 const int i = state.to_integer(); in lua_factorial()
|
| /netbsd/src/external/bsd/kyua-cli/dist/utils/config/ |
| D | parser.cpp | 123 const int syntax_version = state.to_integer(-1); in lua_syntax()
|
| D | tree_test.cpp | 102 int_wrapper new_value(state.to_integer(value_index)); in set_lua() 393 ATF_REQUIRE_EQ(5, state.to_integer(-3)); in ATF_TEST_CASE_BODY() 395 ATF_REQUIRE_EQ(10, state.to_integer(-2)); in ATF_TEST_CASE_BODY()
|
| D | nodes.cpp | 373 set(state.to_integer(value_index)); in set_lua()
|
| D | lua_module_test.cpp | 92 set(custom_type(state.to_integer(value_index) * 2)); in set_lua()
|
| D | nodes_test.cpp | 234 ATF_REQUIRE_EQ(754, state.to_integer(-1)); in ATF_TEST_CASE_BODY()
|
| /netbsd/src/external/bsd/kyua-cli/dist/engine/ |
| D | config.cpp | 156 passwd::find_user_by_uid(state.to_integer(-1))); in set_lua()
|
| D | kyuafile.cpp | 514 const int syntax_version = state.to_integer(-1); in lua_syntax()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/c_global/ |
| D | cstddef | 183 to_integer(__byte_op_t<_IntegerType> __b) noexcept
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/ |
| D | ChangeLog-2019 | 5943 std::to_integer<char8_t>, std::to_integer<char16_t>, and 5944 std::to_integer<char32_t>.
|
| D | ChangeLog-2017 | 3115 * src/c++11/codecvt.cc (to_integer(codecvt_mode)): Fix target type.
|
| D | ChangeLog | 2247 (to_integer): Add always_inline attribute.
|
| D | ChangeLog-2021 | 7596 * include/c_global/cstddef (to_integer): Likewise.
|