Lines Matching refs:pattern

38  * function isPattern(), to determine if the data fits the pattern, and a
39 * decompress() function, which decompresses the contents of a pattern.
40 * Every new pattern must inherit from the Pattern class and be added to the
76 * Create a factory to determine if input matches a pattern. The if else
87 // If match this pattern, instantiate it. If a negative match
94 // Otherwise, go for next pattern
112 // Instantiate last pattern. Should be the XXXX pattern.
145 * Number of data entries that were compressed to each pattern.
157 * @return The pattern this data matches.
164 * @param pattern The pattern to be decompressed.
167 uint32_t decompressWord(const Pattern* pattern);
214 * The compressed data is composed of multiple pattern entries. To add a new
215 * pattern one should inherit from this class and implement isPattern() and
216 * decompress. Then the new pattern must be added to the PatternFactory
217 * declaration in crescent order of size (in the CPack class). The pattern
228 * These are used as indexes to reference the pattern data. If a new
229 * pattern is added, it must be done before NUM_PATTERNS.
241 * Code associated to the pattern.
261 * Wether the pattern allocates a dictionary entry or not.
266 * Get code of this pattern.
277 * @param code Code associated to this pattern.
302 * Get enum number associated to this pattern.
304 * @return The pattern enum number.
309 * Get meta-name assigned to the given pattern.
311 * @param number The number of the pattern.
312 * @return The meta-name of the pattern.
332 * Get size, in bits, of the pattern (excluding prefix). Corresponds to
342 * Determine if pattern allocates a dictionary entry.
351 return csprintf("pattern %s (encoding %x, size %u bits)",
356 * Decompress the pattern. Each pattern has its own way of interpreting
360 * @param data The decompressed pattern.
458 // discarding MMXM. If that pattern is added this should be modified