pattern 123 daemons/attrd/attrd_ipc.c char *pattern; pattern 126 daemons/attrd/attrd_ipc.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_ONE, rsc); pattern 131 daemons/attrd/attrd_ipc.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_OP, pattern 135 daemons/attrd/attrd_ipc.c crm_xml_add(xml, PCMK__XA_ATTR_PATTERN, pattern); pattern 136 daemons/attrd/attrd_ipc.c free(pattern); pattern 201 daemons/attrd/attrd_utils.c char *pattern = NULL; pattern 207 daemons/attrd/attrd_utils.c pattern = strdup(ATTRD_RE_CLEAR_ALL); pattern 209 daemons/attrd/attrd_utils.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_ONE, rsc); pattern 211 daemons/attrd/attrd_utils.c pattern = crm_strdup_printf(ATTRD_RE_CLEAR_OP, rsc, op, interval_ms); pattern 215 daemons/attrd/attrd_utils.c crm_trace("Clearing attributes matching %s", pattern); pattern 216 daemons/attrd/attrd_utils.c rc = regcomp(regex, pattern, REG_EXTENDED|REG_NOSUB); pattern 217 daemons/attrd/attrd_utils.c free(pattern); pattern 80 include/crm/fencing/internal.h xmlNode *create_level_registration_xml(const char *node, const char *pattern, pattern 468 include/crm/stonith-ng.h const char *node, const char *pattern, pattern 495 include/crm/stonith-ng.h const char *node, const char *pattern, pattern 363 lib/fencing/st_client.c const char *node, const char *pattern, pattern 369 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return -EINVAL); pattern 377 lib/fencing/st_client.c } else if (pattern) { pattern 378 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); pattern 415 lib/fencing/st_client.c create_level_registration_xml(const char *node, const char *pattern, pattern 422 lib/fencing/st_client.c CRM_CHECK(node || pattern || (attr && value), return NULL); pattern 434 lib/fencing/st_client.c } else if (pattern) { pattern 435 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_TARGET_PATTERN, pattern); pattern 455 lib/fencing/st_client.c const char *pattern, const char *attr, pattern 460 lib/fencing/st_client.c xmlNode *data = create_level_registration_xml(node, pattern, attr, value, pattern 43 lib/pacemaker/pcmk_fence.c const char *pattern = NULL; pattern 59 lib/pacemaker/pcmk_fence.c pattern = target + 1; pattern 66 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, pattern 70 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, pattern 209 lib/pengine/failcounts.c char *pattern; pattern 224 lib/pengine/failcounts.c pattern = crm_strdup_printf("^%s-%s%s%s$", prefix, rsc_name, pattern 226 lib/pengine/failcounts.c if (regcomp(re, pattern, REG_EXTENDED|REG_NOSUB) != 0) { pattern 227 lib/pengine/failcounts.c free(pattern); pattern 231 lib/pengine/failcounts.c free(pattern); pattern 81 maint/gnulib/lib/exclude.c char const *pattern; pattern 331 maint/gnulib/lib/exclude.c fnmatch_no_wildcards (char const *pattern, char const *f, int options) pattern 335 maint/gnulib/lib/exclude.c ? mbscasecmp (pattern, f) pattern 336 maint/gnulib/lib/exclude.c : strcmp (pattern, f)); pattern 339 maint/gnulib/lib/exclude.c size_t patlen = strlen (pattern); pattern 340 maint/gnulib/lib/exclude.c int r = strncmp (pattern, f, patlen); pattern 366 maint/gnulib/lib/exclude.c r = mbscasecmp (pattern, fcopy); pattern 376 maint/gnulib/lib/exclude.c exclude_fnmatch (char const *pattern, char const *f, int options) pattern 382 maint/gnulib/lib/exclude.c bool matched = ((*matcher) (pattern, f, options) == 0); pattern 388 maint/gnulib/lib/exclude.c matched = ((*matcher) (pattern, p + 1, options) == 0); pattern 400 maint/gnulib/lib/exclude.c : exclude_fnmatch (opts->v.pattern, f, options); pattern 515 maint/gnulib/lib/exclude.c add_exclude (struct exclude *ex, char const *pattern, int options) pattern 522 maint/gnulib/lib/exclude.c && fnmatch_pattern_has_wildcards (pattern, options)) pattern 547 maint/gnulib/lib/exclude.c idx_t len = strlen (pattern); pattern 549 maint/gnulib/lib/exclude.c while (len > 0 && ISSLASH (pattern[len-1])) pattern 557 maint/gnulib/lib/exclude.c memcpy (tmp, pattern, len); pattern 564 maint/gnulib/lib/exclude.c rc = regcomp (&patopts->v.re, pattern, cflags); pattern 576 maint/gnulib/lib/exclude.c pattern = xstrdup (pattern); pattern 577 maint/gnulib/lib/exclude.c exclude_add_pattern_buffer (ex, (char*) pattern); pattern 579 maint/gnulib/lib/exclude.c patopts->v.pattern = pattern; pattern 593 maint/gnulib/lib/exclude.c str = xstrdup (pattern); pattern 615 maint/gnulib/lib/exclude.c char *pattern; pattern 638 maint/gnulib/lib/exclude.c pattern = buf; pattern 648 maint/gnulib/lib/exclude.c if (pattern_end == pattern) pattern 655 maint/gnulib/lib/exclude.c (*add_func) (ex, pattern, options, data); pattern 658 maint/gnulib/lib/exclude.c pattern = p + 1; pattern 666 maint/gnulib/lib/exclude.c call_addfn (struct exclude *ex, char const *pattern, int options, void *data) pattern 669 maint/gnulib/lib/exclude.c (*addfnptr) (ex, pattern, options); pattern 63 maint/gnulib/lib/fnmatch.c extern int fnmatch (const char *pattern, const char *string, int flags); pattern 236 maint/gnulib/lib/fnmatch.c fnmatch (const char *pattern, const char *string, int flags) pattern 251 maint/gnulib/lib/fnmatch.c p = pattern; pattern 252 maint/gnulib/lib/fnmatch.c n = strnlen (pattern, 1024); pattern 272 maint/gnulib/lib/fnmatch.c n = mbsrtowcs (NULL, &pattern, 0, &ps); pattern 288 maint/gnulib/lib/fnmatch.c (void) mbsrtowcs (wpattern, &pattern, n + 1, &ps); pattern 351 maint/gnulib/lib/fnmatch.c return internal_fnmatch (pattern, string, string + strlen (string), pattern 83 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) pattern 86 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); pattern 90 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) pattern 94 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); pattern 24 maint/gnulib/lib/fnmatch_loop.c const CHAR *pattern; pattern 31 maint/gnulib/lib/fnmatch_loop.c static int FCT (const CHAR *pattern, const CHAR *string, pattern 34 maint/gnulib/lib/fnmatch_loop.c static int EXT (INT opt, const CHAR *pattern, const CHAR *string, pattern 40 maint/gnulib/lib/fnmatch_loop.c FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end, pattern 43 maint/gnulib/lib/fnmatch_loop.c const CHAR *p = pattern, *n = string; pattern 102 maint/gnulib/lib/fnmatch_loop.c ends->pattern = p - 1; pattern 169 maint/gnulib/lib/fnmatch_loop.c end.pattern = NULL; pattern 211 maint/gnulib/lib/fnmatch_loop.c if (end.pattern == NULL) pattern 215 maint/gnulib/lib/fnmatch_loop.c if (end.pattern != NULL) pattern 217 maint/gnulib/lib/fnmatch_loop.c p = end.pattern; pattern 934 maint/gnulib/lib/fnmatch_loop.c END (const CHAR *pattern) pattern 936 maint/gnulib/lib/fnmatch_loop.c const CHAR *p = pattern; pattern 941 maint/gnulib/lib/fnmatch_loop.c return pattern; pattern 959 maint/gnulib/lib/fnmatch_loop.c return pattern; pattern 967 maint/gnulib/lib/fnmatch_loop.c return pattern; pattern 977 maint/gnulib/lib/fnmatch_loop.c EXT (INT opt, const CHAR *pattern, const CHAR *string, const CHAR *string_end, pattern 989 maint/gnulib/lib/fnmatch_loop.c size_t pattern_len = STRLEN (pattern); pattern 997 maint/gnulib/lib/fnmatch_loop.c for (startp = p = pattern + 1; level >= 0; ++p) pattern 1108 maint/gnulib/lib/fnmatch_loop.c && FCT (pattern - 1, rs, string_end, pattern 244 maint/gnulib/lib/glob.c static int glob_in_dir (const char *pattern, const char *directory, pattern 301 maint/gnulib/lib/glob.c __glob (const char *pattern, int flags, int (*errfunc) (const char *, int), pattern 316 maint/gnulib/lib/glob.c if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) pattern 324 maint/gnulib/lib/glob.c if (pattern[0] && pattern[strlen (pattern) - 1] == '/') pattern 359 maint/gnulib/lib/glob.c begin = strchr (pattern, '{'); pattern 362 maint/gnulib/lib/glob.c begin = pattern; pattern 391 maint/gnulib/lib/glob.c size_t pattern_len = strlen (pattern) - 1; pattern 403 maint/gnulib/lib/glob.c alt_start = mempcpy (onealt, pattern, begin - pattern); pattern 488 maint/gnulib/lib/glob.c filename = strrchr (pattern, '/'); pattern 496 maint/gnulib/lib/glob.c filename = strchr (pattern, ':'); pattern 504 maint/gnulib/lib/glob.c if ((flags & (GLOB_TILDE|GLOB_TILDE_CHECK)) && pattern[0] == '~') pattern 506 maint/gnulib/lib/glob.c dirname = (char *) pattern; pattern 507 maint/gnulib/lib/glob.c dirlen = strlen (pattern); pattern 516 maint/gnulib/lib/glob.c if (__glibc_unlikely (pattern[0] == '\0')) pattern 522 maint/gnulib/lib/glob.c filename = pattern; pattern 527 maint/gnulib/lib/glob.c else if (filename == pattern pattern 528 maint/gnulib/lib/glob.c || (filename == pattern + 1 && pattern[0] == '\\' pattern 539 maint/gnulib/lib/glob.c dirlen = filename - pattern; pattern 542 maint/gnulib/lib/glob.c || (filename > pattern + 1 && filename[-1] == ':')) pattern 548 maint/gnulib/lib/glob.c *((char *) mempcpy (drive_spec, pattern, dirlen)) = '\0'; pattern 568 maint/gnulib/lib/glob.c *((char *) mempcpy (newp, pattern, dirlen)) = '\0'; pattern 1077 maint/gnulib/lib/glob.c pglob->gl_pathv[newcount] = strdup (pattern); pattern 1280 maint/gnulib/lib/glob.c glob_in_dir (const char *pattern, const char *directory, int flags, pattern 1306 maint/gnulib/lib/glob.c meta = __glob_pattern_type (pattern, !(flags & GLOB_NOESCAPE)); pattern 1316 maint/gnulib/lib/glob.c size_t patlen = strlen (pattern); pattern 1333 maint/gnulib/lib/glob.c pattern, patlen + 1); pattern 1388 maint/gnulib/lib/glob.c if (fnmatch (pattern, d.name, fnm_flags) == 0) pattern 1425 maint/gnulib/lib/glob.c size_t len = strlen (pattern); pattern 1430 maint/gnulib/lib/glob.c *((char *) mempcpy (names->name[cur++], pattern, len)) = '\0'; pattern 31 maint/gnulib/lib/glob_internal.h __glob_pattern_type (const char *pattern, int quote) pattern 36 maint/gnulib/lib/glob_internal.h for (p = pattern; *p != '\0'; ++p) pattern 29 maint/gnulib/lib/glob_pattern_p.c __glob_pattern_p (const char *pattern, int quote) pattern 31 maint/gnulib/lib/glob_pattern_p.c return __glob_pattern_type (pattern, quote) == GLOBPAT_SPECIAL; pattern 24 maint/gnulib/lib/regcomp.c static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern, pattern 204 maint/gnulib/lib/regcomp.c re_compile_pattern (const char *pattern, size_t length, pattern 217 maint/gnulib/lib/regcomp.c ret = re_compile_internal (bufp, pattern, length, re_syntax_options); pattern 439 maint/gnulib/lib/regcomp.c regcomp (regex_t *__restrict preg, const char *__restrict pattern, int cflags) pattern 469 maint/gnulib/lib/regcomp.c ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); pattern 700 maint/gnulib/lib/regcomp.c re_compile_internal (regex_t *preg, const char * pattern, size_t length, pattern 745 maint/gnulib/lib/regcomp.c strncpy (dfa->re_str, pattern, length + 1); pattern 748 maint/gnulib/lib/regcomp.c err = re_string_construct (®exp, pattern, length, preg->translate, pattern 44 maint/gnulib/lib/regex.c # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) pattern 55 maint/gnulib/lib/regex.c # define re_compile_pattern(pattern, length, bufp) \ pattern 56 maint/gnulib/lib/regex.c __re_compile_pattern (pattern, length, bufp) pattern 92 maint/gnulib/lib/rpmatch.c try (const char *response, const char *pattern, char **lastp, regex_t *re) pattern 94 maint/gnulib/lib/rpmatch.c if (*lastp == NULL || strcmp (pattern, *lastp) != 0) pattern 108 maint/gnulib/lib/rpmatch.c safe_pattern = strdup (pattern); pattern 61 maint/gnulib/tests/test-regex.c const char *pattern; pattern 135 maint/gnulib/tests/test-regex.c n = regcomp (&re, tests[i].pattern, tests[i].flags); pattern 140 maint/gnulib/tests/test-regex.c report_error ("%s: regcomp %zd failed: %s", tests[i].pattern, i, buf); pattern 146 maint/gnulib/tests/test-regex.c report_error ("%s: regexec %zd failed", tests[i].pattern, i); pattern 158 maint/gnulib/tests/test-regex.c tests[i].pattern, i, n, pattern 46 maint/gnulib/tests/test-snprintf-posix.h strmatch (const char *pattern, const char *string) pattern 48 maint/gnulib/tests/test-snprintf-posix.h if (strlen (pattern) != strlen (string)) pattern 50 maint/gnulib/tests/test-snprintf-posix.h for (; *pattern != '\0'; pattern++, string++) pattern 51 maint/gnulib/tests/test-snprintf-posix.h if (*pattern != '*' && *string != *pattern) pattern 46 maint/gnulib/tests/test-sprintf-posix.h strmatch (const char *pattern, const char *string) pattern 48 maint/gnulib/tests/test-sprintf-posix.h if (strlen (pattern) != strlen (string)) pattern 50 maint/gnulib/tests/test-sprintf-posix.h for (; *pattern != '\0'; pattern++, string++) pattern 51 maint/gnulib/tests/test-sprintf-posix.h if (*pattern != '*' && *string != *pattern) pattern 59 maint/gnulib/tests/test-vasnprintf-posix.c strmatch (const char *pattern, const char *string) pattern 61 maint/gnulib/tests/test-vasnprintf-posix.c if (strlen (pattern) != strlen (string)) pattern 63 maint/gnulib/tests/test-vasnprintf-posix.c for (; *pattern != '\0'; pattern++, string++) pattern 64 maint/gnulib/tests/test-vasnprintf-posix.c if (*pattern != '*' && *string != *pattern) pattern 58 maint/gnulib/tests/test-vasprintf-posix.c strmatch (const char *pattern, const char *string) pattern 60 maint/gnulib/tests/test-vasprintf-posix.c if (strlen (pattern) != strlen (string)) pattern 62 maint/gnulib/tests/test-vasprintf-posix.c for (; *pattern != '\0'; pattern++, string++) pattern 63 maint/gnulib/tests/test-vasprintf-posix.c if (*pattern != '*' && *string != *pattern)