Lines Matching defs:array
71 const char *const array[] = { NULL };
74 RE(atf_map_init_charpp(&map, array));
82 const char *const array[] = { "K1", "V1", "K2", "V2", NULL };
86 RE(atf_map_init_charpp(&map, array));
105 const char *const array[] = { "K1", "V1", "K2", NULL };
108 atf_error_t err = atf_map_init_charpp(&map, array);
191 char **array;
194 ATF_REQUIRE((array = atf_map_to_charpp(&map)) != NULL);
197 ATF_CHECK_EQ(NULL, array[0]);
198 atf_utils_free_charpp(array);
205 char **array;
215 ATF_REQUIRE((array = atf_map_to_charpp(&map)) != NULL);
218 ATF_CHECK_STREQ("K1", array[0]);
219 ATF_CHECK_STREQ("one", array[1]);
220 ATF_CHECK_STREQ("K2", array[2]);
221 ATF_CHECK_STREQ("two", array[3]);
222 ATF_CHECK_STREQ("K3", array[4]);
223 ATF_CHECK_STREQ("three", array[5]);
224 ATF_CHECK_EQ(NULL, array[6]);
225 atf_utils_free_charpp(array);