Lines Matching refs:line
20 int line; member
26 ErrorPos(const String8& file, int line, const String8& error, Level level);
35 :line(-1), level(NOTE) in ErrorPos()
41 line(that.line), in ErrorPos()
49 line(l), in ErrorPos()
59 this->line = rhs.line; in operator =()
82 if (this->line >= 0) { in print()
83 … fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string()); in print()
95 : file(f), line(l) in SourcePos()
100 : file(that.file), line(that.line) in SourcePos()
105 : file("???", 0), line(-1) in SourcePos()
120 g_errors.push_back(ErrorPos(this->file, this->line, msg, ErrorPos::ERROR)); in error()
130 ErrorPos(this->file, this->line, msg, ErrorPos::WARNING).print(stderr); in warning()
140 ErrorPos(this->file, this->line, msg, ErrorPos::NOTE).print(stderr); in printf()
146 return (file < rhs.file) || (line < rhs.line); in operator <()