Lines Matching defs:Pattern
27 struct Pattern {
33 static Pattern patterns[] = {
57 for (Pattern* pattern = patterns; pattern->bytes_count; ++pattern) {
58 for (int* offset_ptr = pattern->offsets; *offset_ptr != -1; ++offset_ptr) {
61 MSAN_MEMORY_IS_INITIALIZED(pc - offset, pattern->bytes_count);
62 if (!memcmp(pc - offset, pattern->bytes, pattern->bytes_count))
67 // Check the pattern part that's on the same page and
68 // pessimistically assume it could be the entire pattern match.
69 MSAN_MEMORY_IS_INITIALIZED(pc, pattern->bytes_count - offset);
70 if (!memcmp(pc, pattern->bytes + offset, pattern->bytes_count - offset))