Home
last modified time | relevance | path

Searched refs:expected_count (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/tests/
H A Dcarplay_mode.c122 check_carplay_mode_count(uint32_t expected_count) in check_carplay_mode_count() argument
136 if (expected_count) { in check_carplay_mode_count()
139 …T_ASSERT_EQ(coaldebuginfo_res.carplay_task_count, expected_count, "should have carplay in res coal… in check_carplay_mode_count()
143 …T_ASSERT_EQ(coaldebuginfo_jet.carplay_task_count, expected_count, "should have carplay in jet coal… in check_carplay_mode_count()
H A Dgame_mode.c123 check_game_mode_count(uint32_t expected_count) in check_game_mode_count() argument
137 if (expected_count) { in check_game_mode_count()
140 …T_ASSERT_EQ(coaldebuginfo_res.game_task_count, expected_count, "should have game in res coalition"… in check_game_mode_count()
144 …T_ASSERT_EQ(coaldebuginfo_jet.game_task_count, expected_count, "should have game in jet coalition"… in check_game_mode_count()
/xnu-11215/bsd/kern/
H A Dsubr_log.c808 find_pattern_in_buffer(const char *pattern, size_t len, size_t expected_count) in find_pattern_in_buffer() argument
810 if (pattern == NULL || len == 0 || expected_count == 0) { in find_pattern_in_buffer()
827 if (match && ++match_count >= expected_count) { in find_pattern_in_buffer()