Lines Matching refs:substr
152 const StringPiece16 substr = text.substr(cursor, span->first_char - cursor);
153 cursor += substr.size();
156 std::string new_substr = util::Utf16ToUtf8(substr);
179 const StringPiece16 substr = text.substr(cursor, parent_span->last_char - cursor + 1);
180 cursor += substr.size();
183 std::string new_substr = util::Utf16ToUtf8(substr);
201 new_string += localizer.Text(util::Utf16ToUtf8(text.substr(cursor, text.size() - cursor)));
255 result += localizer_.Text(original_string.substr(start, len));
259 result += original_string.substr(section.start, section.end - section.start);
266 result += localizer_.Text(original_string.substr(start, len));