Searched refs:IsNewline (Results 1 – 4 of 4) sorted by relevance
168 if (IsNewline(buf, cur_byte)) { in ByteOffsetOfNthLine()179 bool Tokenizer::IsNewline(std::string_view buffer, size_t offset) { in IsNewline() function in Tokenizer377 return IsNewline(input_, cur_); in IsCurrentNewline()
46 static bool IsNewline(std::string_view buffer, size_t offset);
56 if (offset == 0 || Tokenizer::IsNewline(data, offset)) in BackUpToLineBegin()62 if (Tokenizer::IsNewline(data, cur)) in BackUpToLineBegin()
23 while (end < data.size() && !Tokenizer::IsNewline(data, end)) in GetNthLine()