Searched refs:end_pattern (Results 1 – 1 of 1) sorted by relevance
57 const char *end_pattern, *start_subst; in add_substitution() local80 end_pattern = strchr(rule_text + 1, *rule_text); in add_substitution()81 if (end_pattern == NULL) in add_substitution()84 pattern = malloc(end_pattern - rule_text); in add_substitution()87 memcpy(pattern, rule_text + 1, end_pattern - rule_text - 1); in add_substitution()88 pattern[end_pattern - rule_text - 1] = '\0'; in add_substitution()97 start_subst = end_pattern + 1; in add_substitution()98 end_pattern = strchr(start_subst, *rule_text); in add_substitution()99 if (end_pattern == NULL) in add_substitution()102 rule->result = malloc(end_pattern - start_subst + 1); in add_substitution()[all …]