Home
last modified time | relevance | path

Searched refs:get_top (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/lutok/
H A Dstack_cleaner_test.cpp40 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 Doperations_test.cpp141 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 Doperations.cpp80 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 Dstack_cleaner.cpp63 _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 Dtest_utils.hpp114 _old_count(_state.get_top()) in stack_balance_checker()
132 unsigned int new_count = _state.get_top(); in ~stack_balance_checker()
H A Dexceptions_test.cpp63 ATF_REQUIRE_EQ(1, state.get_top()); in ATF_TEST_CASE_BODY()
H A Dstate.hpp103 int get_top(void);
H A Dstate_test.cpp332 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 Dstate.cpp384 lutok::state::get_top(void) in get_top() function in lutok::state
/freebsd/contrib/kyua/utils/config/
H A Dparser.cpp114 if (state.get_top() != 2) in lua_syntax()
121 if (state.get_top() != 1) in lua_syntax()
/freebsd/contrib/kyua/engine/
H A Dkyuafile.cpp566 if (state.get_top() != 2) in lua_syntax()
573 if (state.get_top() != 1) in lua_syntax()