• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c/detail/

Lines Matching refs:words

53 array_size(const char *words[])
59 for (word = words; *word != NULL; word++)
67 check_split(const char *str, const char *delim, const char *words[])
76 printf("Expecting %zd words\n", array_size(words));
77 ATF_CHECK_EQ(atf_list_size(&list), array_size(words));
79 for (word = words, i = 0; *word != NULL; word++, i++) {
80 printf("Word at position %zd should be '%s'\n", i, words[i]);
81 ATF_CHECK_STREQ((const char *)atf_list_index_c(&list, i), words[i]);
241 const char *words[] = { NULL };
242 check_split("", " ", words);
246 const char *words[] = { NULL };
247 check_split(" ", " ", words);
251 const char *words[] = { NULL };
252 check_split(" ", " ", words);
256 const char *words[] = { "a", "b", NULL };
257 check_split("a b", " ", words);
261 const char *words[] = { "a", "b", "c", "d", NULL };
262 check_split("a b c d", " ", words);
266 const char *words[] = { "foo", "bar", NULL };
267 check_split("foo bar", " ", words);
271 const char *words[] = { "foo", "bar", "baz", "foobar", NULL };
272 check_split("foo bar baz foobar", " ", words);
276 const char *words[] = { "foo", "bar", NULL };
277 check_split(" foo bar", " ", words);
281 const char *words[] = { "foo", "bar", NULL };
282 check_split("foo bar", " ", words);
286 const char *words[] = { "foo", "bar", NULL };
287 check_split("foo bar ", " ", words);
291 const char *words[] = { "foo", "bar", NULL };
292 check_split(" foo bar ", " ", words);
306 const char *words[] = { NULL };
307 check_split("", "/", words);
311 const char *words[] = { " ", NULL };
312 check_split(" ", "/", words);
316 const char *words[] = { " ", NULL };
317 check_split(" ", "/", words);
321 const char *words[] = { "a", "b", NULL };
322 check_split("a/b", "/", words);
326 const char *words[] = { "a", "bcd", "ef", NULL };
327 check_split("aLONGDELIMbcdLONGDELIMef", "LONGDELIM", words);