Lines Matching refs:file
19 String8 file; member
26 ErrorPos(const String8& file, int line, const String8& error, Level level);
40 :file(that.file), in ErrorPos()
48 :file(f), in ErrorPos()
58 this->file = rhs.file; in operator =()
81 if (!this->file.isEmpty()) { in print()
83 … fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string()); in print()
85 fprintf(to, "%s: %s%s\n", this->file.string(), 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 <()