Lines Matching refs:ftmn
37 struct ftmn ftmn = { }; in simple_call() local
41 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, simple_call_func1); in simple_call()
42 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(1), res); in simple_call()
45 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, simple_call_func1); in simple_call()
46 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(2, 1), res); in simple_call()
48 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, in simple_call()
50 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(3, 2), res); in simple_call()
82 struct ftmn ftmn = { }; in two_level_call_memcmp() local
85 FTMN_PUSH_LINKED_CALL(&ftmn, func_hash); in two_level_call_memcmp()
87 FTMN_SET_CHECK_RES_FROM_CALL(&ftmn, 0, res); in two_level_call_memcmp()
88 FTMN_POP_LINKED_CALL(&ftmn); in two_level_call_memcmp()
89 FTMN_CALLEE_DONE_CHECK(&ftmn, FTMN_INCR1, 0, res); in two_level_call_memcmp()
96 struct ftmn ftmn = { }; in two_level_call() local
101 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, in two_level_call()
103 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(1), res); in two_level_call()
105 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, in two_level_call()
107 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(2, 1), res); in two_level_call()
145 struct ftmn ftmn = { }; in chained_call_memcmp() local
148 FTMN_PUSH_LINKED_CALL(&ftmn, FTMN_FUNC_HASH("chained_call_memcmp2")); in chained_call_memcmp()
153 FTMN_SET_CHECK_RES_FROM_CALL(&ftmn, FTMN_INCR0, res); in chained_call_memcmp()
155 FTMN_SET_CHECK_RES(&ftmn, FTMN_INCR0, res); in chained_call_memcmp()
156 FTMN_POP_LINKED_CALL(&ftmn); in chained_call_memcmp()
157 FTMN_CALLEE_DONE_CHECK(&ftmn, FTMN_INCR0, FTMN_STEP_COUNT(1), res); in chained_call_memcmp()
164 struct ftmn ftmn = { }; in chained_calls() local
169 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, chained_call_memcmp, s, s, 2); in chained_calls()
170 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(1), res); in chained_calls()
173 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, in chained_calls()
176 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(2, 1), in chained_calls()
183 FTMN_CALL_FUNC(res, &ftmn, FTMN_INCR0, in chained_calls()
186 ftmn_expect_state(&ftmn, FTMN_INCR1, FTMN_STEP_COUNT(3, 2), in chained_calls()