Searched refs:from_pos (Results 1 – 2 of 2) sorted by relevance
87 auto from_pos = on.find(from); in replace() local88 if (from_pos != std::string::npos) { in replace()89 on.replace(from_pos, from.length(), to); in replace()
165 size_t GenericStringUtf16CharacterStream::FillBuffer(size_t from_pos) { in FillBuffer() argument166 if (from_pos >= length_) return 0; in FillBuffer()168 if (from_pos + length > length_) { in FillBuffer()169 length = length_ - from_pos; in FillBuffer()171 String::WriteToFlat<uc16>(*string_, buffer_, static_cast<int>(from_pos), in FillBuffer()172 static_cast<int>(from_pos + length)); in FillBuffer()