Lines Matching defs:array
75 const char *const array[] = { NULL };
78 RE(atf_map_init_charpp(&map, array));
86 const char *const array[] = { "K1", "V1", "K2", "V2", NULL };
90 RE(atf_map_init_charpp(&map, array));
109 const char *const array[] = { "K1", "V1", "K2", NULL };
112 atf_error_t err = atf_map_init_charpp(&map, array);
195 char **array;
198 ATF_REQUIRE((array = atf_map_to_charpp(&map)) != NULL);
201 ATF_CHECK_EQ(NULL, array[0]);
202 atf_utils_free_charpp(array);
209 char **array;
219 ATF_REQUIRE((array = atf_map_to_charpp(&map)) != NULL);
222 ATF_CHECK_STREQ("K1", array[0]);
223 ATF_CHECK_STREQ("one", array[1]);
224 ATF_CHECK_STREQ("K2", array[2]);
225 ATF_CHECK_STREQ("two", array[3]);
226 ATF_CHECK_STREQ("K3", array[4]);
227 ATF_CHECK_STREQ("three", array[5]);
228 ATF_CHECK_EQ(NULL, array[6]);
229 atf_utils_free_charpp(array);