Home
last modified time | relevance | path

Searched refs:end_pattern (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/contrib/libarchive/tar/
H A Dsubst.c57 const char *end_pattern, *start_subst; in add_substitution() local
80 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()
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()
106 rule->result[end_pattern - start_subst] = '\0'; in add_substitution()
116 while (*++end_pattern) { in add_substitution()
[all …]