• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/postfix-252/postfix/src/util/

Lines Matching defs:mapname

137     const char *mapname;		/* name of regexp map */
191 static void dict_regexp_regerror(const char *mapname, int lineno, int error,
197 msg_warn("regexp map %s, line %d: %s", mapname, lineno, errbuf);
372 static int dict_regexp_get_pat(const char *mapname, int lineno, char **bufp,
394 mapname, lineno);
416 "skipping this rule", mapname, lineno, re_delim);
438 "skipping this rule", mapname, lineno, *p);
449 static int dict_regexp_get_pats(const char *mapname, int lineno, char **p,
457 if (dict_regexp_get_pat(mapname, lineno, p, first_pat) == 0)
466 mapname, lineno);
470 if (dict_regexp_get_pat(mapname, lineno, p, second_pat) == 0)
497 ctxt->mapname, ctxt->lineno, vstring_str(buf));
503 ctxt->mapname, ctxt->lineno, vstring_str(buf));
511 ctxt->mapname, ctxt->lineno);
519 static regex_t *dict_regexp_compile_pat(const char *mapname, int lineno,
528 dict_regexp_regerror(mapname, lineno, error, expr);
554 static DICT_REGEXP_RULE *dict_regexp_parseline(const char *mapname, int lineno,
576 if (!dict_regexp_get_pats(mapname, lineno, &p, &first_pat, &second_pat))
586 mapname, lineno);
597 prescan_context.mapname = mapname;
618 "skipping this rule", mapname, lineno);
632 "replacement text: skipping this rule", mapname, lineno);
638 "skipping this rule", mapname, lineno);
641 if ((first_exp = dict_regexp_compile_pat(mapname, lineno,
646 "skipping this rule", mapname, lineno,
652 if ((second_exp = dict_regexp_compile_pat(mapname, lineno,
684 if (!dict_regexp_get_pat(mapname, lineno, &p, &pattern))
690 " IF statement: \"%s\"", mapname, lineno, p);
692 " to statements between IF and ENDIF", mapname, lineno);
694 if ((expr = dict_regexp_compile_pat(mapname, lineno, &pattern)) == 0)
713 mapname, lineno);
720 mapname, lineno);
731 mapname, lineno);
738 DICT *dict_regexp_open(const char *mapname, int open_flags, int dict_flags)
755 return (dict_surrogate(DICT_TYPE_REGEXP, mapname, open_flags, dict_flags,
757 DICT_TYPE_REGEXP, mapname));
762 if ((map_fp = vstream_fopen(mapname, O_RDONLY, 0)) == 0)
763 return (dict_surrogate(DICT_TYPE_REGEXP, mapname, open_flags, dict_flags,
764 "open %s: %m", mapname));
766 msg_fatal("fstat %s: %m", mapname);
770 dict_regexp = (DICT_REGEXP *) dict_alloc(DICT_TYPE_REGEXP, mapname,
791 rule = dict_regexp_parseline(mapname, lineno, p, nesting, dict_flags);
811 mapname, lineno);