Home | History | Annotate | Download | only in kati

Lines Matching refs:subst

213 void Pattern::AppendSubst(StringPiece str, StringPiece subst,
217 AppendString(subst, out);
226 size_t subst_percent_index = subst.find('%');
228 AppendString(subst, out);
231 AppendString(subst.substr(0, subst_percent_index), out);
234 AppendString(subst.substr(subst_percent_index + 1), out);
241 void Pattern::AppendSubstRef(StringPiece str, StringPiece subst,
243 if (percent_index_ != string::npos && subst.find('%') != string::npos) {
244 AppendSubst(str, subst, out);
249 out->append(subst.begin(), subst.end());