Lines Matching refs:pattern
22 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
211 Returns 0 if the pattern was valid, otherwise an error string.
218 re_compile_pattern (pattern, length, bufp)
219 const char *pattern;
224 re_compile_pattern (const char *pattern, size_t length,
238 ret = re_compile_internal (bufp, pattern, length, re_syntax_options);
249 also be assigned to arbitrarily: each pattern buffer stores its own
447 `buffer' to the compiled pattern;
448 `used' to the length of the compiled pattern;
457 PATTERN is the address of the pattern string.
478 regcomp (preg, pattern, cflags)
480 const char *_Restrict_ pattern;
511 ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
520 /* Compute the fastmap now, since regexec cannot modify the pattern
687 /* BSD has one and only one pattern buffer. */
728 don't need to initialize the pattern buffer fields which affect it. */
757 re_compile_internal (regex_t *preg, const char * pattern, size_t length,
764 /* Initialize the pattern buffer. */
800 strncpy (dfa->re_str, pattern, length + 1);
805 err = re_string_construct (®exp, pattern, length, preg->translate,