Searched refs:StringPieceFromPointers (Results 1 – 2 of 2) sorted by relevance
71 absl::string_view HloLexer::StringPieceFromPointers(const char* begin, in StringPieceFromPointers() function in xla::HloLexer261 StringPieceFromPointers(token_state_.token_start, current_ptr_); in LexIdentifier()378 StringPieceFromPointers(token_state_.token_start, current_ptr_); in LexNumberOrPattern()414 size_t line_offset = StringPieceFromPointers(start, ptr).rfind('\n'); in GetLineAndColumn()426 StringPieceFromPointers(buf_.begin(), loc + 1).rfind('\n'); in GetLine()430 size_t line_end = StringPieceFromPointers(loc, buf_.end()).find('\n'); in GetLine()434 return StringPieceFromPointers(start, end); in GetLine()
149 absl::string_view StringPieceFromPointers(const char* begin,