• Home
  • Raw
  • Download

Lines Matching refs:pattern

22     SaveClipRectRestore pattern;  in DEF_TEST()  local
25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST()
31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST()
34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST()
37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST()
38 REPORTER_ASSERT(r, pattern.first<Save>() != nullptr); in DEF_TEST()
39 REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr); in DEF_TEST()
40 REPORTER_ASSERT(r, pattern.third<Restore>() != nullptr); in DEF_TEST()
44 SaveClipRectRestore pattern; in DEF_TEST() local
59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST()
61 REPORTER_ASSERT(r, !pattern.match(&record, i)); in DEF_TEST()
67 SaveClipRectRestore pattern; in DEF_TEST() local
77 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST()
81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; in DEF_TEST() local
90 REPORTER_ASSERT(r, pattern.match(&record, index)); in DEF_TEST()
97 REPORTER_ASSERT(r, pattern.match(&record, index)); in DEF_TEST()
105 Is<Restore>> pattern; in DEF_TEST() local
115 REPORTER_ASSERT(r, pattern.match(&record, 0) == record.count()); in DEF_TEST()
117 REPORTER_ASSERT(r, pattern.search(&record, &begin, &end)); in DEF_TEST()
126 REPORTER_ASSERT(r, !pattern.match(&record, start)); in DEF_TEST()
128 REPORTER_ASSERT(r, !pattern.search(&record, &begin, &end)); in DEF_TEST()
135 REPORTER_ASSERT(r, pattern.match(&record, start) == record.count()); in DEF_TEST()
137 REPORTER_ASSERT(r, pattern.search(&record, &begin, &end)); in DEF_TEST()
141 REPORTER_ASSERT(r, !pattern.search(&record, &begin, &end)); in DEF_TEST()
145 Pattern<IsDraw> pattern; in DEF_TEST() local
151 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST()