Lines Matching refs:cnt
143 size_t cnt;
146 cnt = 0;
148 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt));
150 ATF_REQUIRE(cnt == 3);
153 cnt = 0;
155 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt));
157 ATF_REQUIRE(cnt == 1);
160 cnt = 0;
162 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt));
164 ATF_REQUIRE(cnt == 5);
167 cnt = 0;
169 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_count, &cnt));
171 ATF_REQUIRE(cnt == 5);