Lines Matching refs:expect
218 char *expect, char *matches, const char *fail) in test() argument
276 if (expect == NULL) in test()
284 if (expect == NULL) in test()
293 ret = check_match (rm, 0, string, expect, fail); in test()
322 char *expect, const char *matches, const char *letters, in mb_test() argument
328 char *expect_mb = mb_frob_string (expect, letters); in mb_test()
333 || (expect && !expect_mb) || (matches && !matches_mb)) in mb_test()
352 char *expect, const char *matches) in mb_tests() argument
400 ret |= mb_test (pattern, cflags, string, eflags, expect, matches, in mb_tests()
440 char *pattern, *flagstr, *string, *expect, *matches, *p; in main() local
516 expect = strtok (NULL, "\t"); in main()
518 if (expect != NULL) in main()
520 replace_special_chars (expect); in main()
531 if (test (pattern, cflags, string, eflags, expect, matches, "FAIL") in main()
534 expect, matches, "FAIL"))) in main()
543 else if (test (pattern, cflags, string, eflags, expect, matches, in main()
547 eflags, expect, matches, "UTF-8 FAIL"))) in main()
549 else if (mb_tests (pattern, cflags, string, eflags, expect, matches) in main()
552 eflags, expect, matches))) in main()