Lines Matching defs:array
75 equal_argvs(const atf::process::argv_array& aa, const char* const* array)
80 while (equal && (i < aa.size() && array[i] != NULL)) {
81 if (std::strcmp(aa[i], array[i]) != 0)
87 if (equal && (i < aa.size() || array[i] != NULL))
95 check_equal_argvs(const atf::process::argv_array& aa, const char* const* array)
97 print_array("Expected arguments", array);
100 if (!equal_argvs(aa, array))
116 const char* const array[] = { NULL };
119 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array));
123 const char* const array[] = { NULL };
126 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array));
130 const char* const array[] = { "foo", NULL };
133 ATF_REQUIRE(!equal_argvs(atf::process::argv_array(argv), array));
137 const char* const array[] = { "foo", NULL };
140 ATF_REQUIRE(equal_argvs(atf::process::argv_array(argv), array));