Searched refs:rule_text (Results 1 – 2 of 2) sorted by relevance
53 add_substitution(struct bsdtar *bsdtar, const char *rule_text) in add_substitution() argument78 if (*rule_text == '\0') in add_substitution()80 end_pattern = strchr(rule_text + 1, *rule_text); 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()98 end_pattern = strchr(start_subst, *rule_text); in add_substitution()
634 Status ParseFilterRule(llvm::StringRef rule_text) { in ParseFilterRule() argument637 if (rule_text.empty()) { in ParseFilterRule()663 auto action_end_pos = rule_text.find(' '); in ParseFilterRule()667 rule_text.str().c_str()); in ParseFilterRule()670 auto action = rule_text.substr(0, action_end_pos); in ParseFilterRule()682 auto attribute_end_pos = rule_text.find(" ", action_end_pos + 1); in ParseFilterRule()686 rule_text.str().c_str()); in ParseFilterRule()689 auto attribute = rule_text.substr(action_end_pos + 1, in ParseFilterRule()700 auto operation_end_pos = rule_text.find(" ", attribute_end_pos + 1); in ParseFilterRule()701 auto operation = rule_text.substr( in ParseFilterRule()[all …]