Lines Matching defs:re_pattern
78 char **re_pattern)
85 *re_pattern = NULL;
108 *re_pattern = NULL;
112 *re_pattern = talloc_strdup(mem_ctx, provider_default_re[c].re);
113 if (*re_pattern == NULL) {
159 int sss_names_init_from_args(TALLOC_CTX *mem_ctx, const char *re_pattern,
172 ctx->re_pattern = talloc_strdup(ctx, re_pattern);
173 if (ctx->re_pattern == NULL) {
178 DEBUG(SSSDBG_CONF_SETTINGS, "Using re [%s].\n", ctx->re_pattern);
187 ctx->re = pcre_compile2(ctx->re_pattern,
213 char *re_pattern = NULL;
231 CONFDB_NAME_REGEX, NULL, &re_pattern);
236 if (re_pattern == NULL) {
238 CONFDB_NAME_REGEX, NULL, &re_pattern);
242 if (re_pattern == NULL && conf_path != NULL) {
243 ret = get_id_provider_default_re(tmpctx, cdb, conf_path, &re_pattern);
251 if (!re_pattern) {
252 re_pattern = talloc_strdup(tmpctx,
254 if (!re_pattern) {
266 "the Python syntax (?P<name>).\n", re_pattern);
291 ret = sss_names_init_from_args(mem_ctx, re_pattern, fq_fmt, out);