H A D | text_test.c | 53 array_size(const char *words[]) argument 59 for (word = words; *word != NULL; word++) 67 check_split(const char *str, const char *delim, const char *words[]) argument 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[] local 246 const char *words[] = { NULL }; local 251 const char *words[] = { NULL }; local 256 const char *words[] = { "a", "b", NULL }; local 261 const char *words[] = { "a", "b", "c", "d", NULL }; local 266 const char *words[] = { "foo", "bar", NULL }; local 271 const char *words[] = { "foo", "bar", "baz", "foobar", NULL }; local 276 const char *words[] = { "foo", "bar", NULL }; local 281 const char *words[] = { "foo", "bar", NULL }; local 286 const char *words[] = { "foo", "bar", NULL }; local 291 const char *words[] = { "foo", "bar", NULL }; local 306 const char *words[] = { NULL }; local 311 const char *words[] = { " ", NULL }; local 316 const char *words[] = { " ", NULL }; local 321 const char *words[] = { "a", "b", NULL }; local 326 const char *words[] = { "a", "bcd", "ef", NULL }; local [all...] |