Searched refs:get_top (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/lutok/ |
H A D | stack_cleaner_test.cpp | 40 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 42 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 53 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY() 55 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY() 57 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY() 73 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY() 77 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY() 80 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 94 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY() [all …]
|
H A D | operations_test.cpp | 141 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY() 158 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY() 175 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 188 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY() 247 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY() 260 ATF_REQUIRE_EQ(3, state.get_top()); in ATF_TEST_CASE_BODY() 273 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 282 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY()
|
H A D | operations.cpp | 80 const int height = s.get_top() - nargs; in do_file() 93 const int actual_results = s.get_top() - height; in do_file() 120 const int height = s.get_top() - nargs; in do_string() 133 const int actual_results = s.get_top() - height; in do_string()
|
H A D | stack_cleaner.cpp | 63 _pimpl(new impl(state_, state_.get_top())) in stack_cleaner() 74 const unsigned int current_depth = _pimpl->state_ref.get_top(); in ~stack_cleaner() 90 _pimpl->original_depth = _pimpl->state_ref.get_top(); in forget()
|
H A D | test_utils.hpp | 114 _old_count(_state.get_top()) in stack_balance_checker() 132 unsigned int new_count = _state.get_top(); in ~stack_balance_checker()
|
H A D | exceptions_test.cpp | 63 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY()
|
H A D | state.hpp | 103 int get_top(void);
|
H A D | state_test.cpp | 332 ATF_TEST_CASE_WITHOUT_HEAD(get_top); 333 ATF_TEST_CASE_BODY(get_top) in ATF_TEST_CASE_BODY() argument 336 ATF_REQUIRE_EQ(0, state.get_top()); in ATF_TEST_CASE_BODY() 338 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY() 340 ATF_REQUIRE_EQ(2, state.get_top()); in ATF_TEST_CASE_BODY() 1109 ATF_ADD_TEST_CASE(tcs, get_top); in ATF_INIT_TEST_CASES()
|
H A D | state.cpp | 384 lutok::state::get_top(void) in get_top() function in lutok::state
|
/freebsd/contrib/kyua/utils/config/ |
H A D | parser.cpp | 114 if (state.get_top() != 2) in lua_syntax() 121 if (state.get_top() != 1) in lua_syntax()
|
/freebsd/contrib/kyua/engine/ |
H A D | kyuafile.cpp | 566 if (state.get_top() != 2) in lua_syntax() 573 if (state.get_top() != 1) in lua_syntax()
|