Lines Matching refs:pattern
41 * Precompiled search pattern
47 const char *pattern; /**< Current pattern */
54 * Search for a precompiled pattern within a string
55 * @param pattern The pattern
56 * @param s The string in which to search for the pattern
58 * @return A pointer to the first instance of the pattern in s, or
61 APU_DECLARE(const char *) apr_strmatch(const apr_strmatch_pattern *pattern,
64 #define apr_strmatch(pattern, s, slen) (*((pattern)->compare))((pattern), (s), (slen))
68 * Precompile a pattern for matching using the Boyer-Moore-Horspool algorithm
69 * @param p The pool from which to allocate the pattern
70 * @param s The pattern string
72 * @return a pointer to the compiled pattern, or NULL if compilation fails