Lines Matching defs:Pattern
40 * Every new pattern must inherit from the Pattern class and be added to the
67 class Pattern;
83 static std::unique_ptr<Pattern> getPattern(
92 return std::unique_ptr<Pattern>(
108 static std::unique_ptr<Pattern> getPattern(
113 return std::unique_ptr<Pattern>(new Head(bytes, match_location));
159 std::unique_ptr<Pattern> compressWord(const uint32_t data);
167 uint32_t decompressWord(const Pattern* pattern);
218 * must be also added to the Name enum in the CPack::Pattern class before
221 class CPack::Pattern
236 * Pattern enum number.
276 * @param number Pattern number.
282 Pattern(const PatternNumber number, const uint64_t code,
292 virtual ~Pattern() = default;
367 class CPack::PatternZZZZ : public Pattern
371 : Pattern(ZZZZ, 0x0, 2, 0, 0, false) {}
389 class CPack::PatternXXXX : public Pattern
399 : Pattern(XXXX, 0x1, 2, 4, 0, true), bytes(bytes) {}
418 class CPack::PatternMMMM : public Pattern
422 : Pattern(MMMM, 0x2, 6, 0, match_location, true) {}
439 class CPack::PatternMMXX : public Pattern
450 : Pattern(MMXX, 0xC, 8, 2, match_location, true),
472 class CPack::PatternZZZX : public Pattern
482 : Pattern(ZZZX, 0xD, 4, 1, 0, false), byte(bytes[0]) {}
500 class CPack::PatternMMMX : public Pattern
510 : Pattern(MMMX, 0xE, 8, 1, match_location, true),
536 std::vector<std::unique_ptr<Pattern>> entries;