• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/netbsd-tests/lib/libcurses/director/

Lines Matching refs:check

199 		| check statement
234 check : CHECK var returns eol {
238 err(1, "Undefined variable in check statement, line %zu"
300 err(1, "Malformed check statement at line %zu "
731 * Don't prepend check path iff check file has an absolute
741 err(2, "Could not append / to check file path");
748 err(2, "Path to check file path overflowed");
761 * if we have saved output then only check for data in the
1215 validate_type(returns_enum_t expected, returns_t *value, int check)
1217 if (((check == 0) && (expected != value->return_type)) ||
1218 ((check == 1) && (expected == value->return_type)))
1221 (check == 0)? "matching" : "not matching",
1228 (check == 0)? "matching" : "not matching",
1238 validate_return(const char *expected, const char *value, int check)
1240 if (((check == 0) && strcmp(expected, value) != 0) ||
1241 ((check == 1) && strcmp(expected, value) == 0))
1244 (check == 0)? "matching" : "not matching", value,
1249 (check == 0)? "matches" : "does not match",
1259 validate_byte(returns_t *expected, returns_t *value, int check)
1272 (check == 0)? "matches" : "does not match");
1282 if ((check == 0) && (expected->return_len != value->return_len))
1287 * If check is 0 then we want to throw an error IFF the byte streams
1288 * do not match, if check is 1 then throw an error if the byte
1291 if (((check == 0) && memcmp(expected->return_value, value->return_value,
1293 ((check == 1) && (expected->return_len == value->return_len) &&
1298 (check == 0)? "matching" : "not matching", line, cur_file);
1302 (check == 0)? "matching" : "not matching",
1309 * error if they don't match, if check is non-zero then the match is
1314 int check)
1330 if ((((check == 0) && strcmp(value, varptr->value) != 0))
1331 || ((check == 1) && strcmp(value, varptr->value) == 0))
1335 (check == 0)? "expected" : "not matching",
1342 (check == 0)? "expected" : "not matching",
1346 if ((check == 0) && (retval->return_len != varptr->len))
1350 * If check is 0 then we want to throw an error IFF
1351 * the byte streams do not match, if check is 1 then
1354 if (((check == 0) && memcmp(retval->return_value, varptr->value,
1356 ((check == 1) && (retval->return_len == varptr->len) &&
1361 (check == 0)? "matching" : "not matching",
1366 (check == 0)? "matching" : "not matching",
1470 * don't want to block on the read and just hang. We also check