Lines Matching refs:begin
67 std::string::size_type begin) in find_next_placeholder() argument
69 begin = expansion.find('%', begin); in find_next_placeholder()
70 while (begin != std::string::npos && expansion[begin + 1] == '%') in find_next_placeholder()
71 begin = expansion.find('%', begin + 2); in find_next_placeholder()
72 if (begin == std::string::npos) in find_next_placeholder()
74 if (begin == expansion.length() - 1) in find_next_placeholder()
77 std::string::size_type end = begin + 1; in find_next_placeholder()
80 const std::string placeholder = expansion.substr(begin, end - begin + 1); in find_next_placeholder()
85 return std::make_pair(begin, placeholder); in find_next_placeholder()
161 strip_double_percent(const std::string& in, const std::string::size_type begin, in strip_double_percent() argument
164 std::string part = in.substr(begin, end - begin); in strip_double_percent()
174 return std::make_pair(in.substr(0, begin) + part + in.substr(end), removed); in strip_double_percent()