MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / print

Method print

tools/aapt/SourcePos.cpp:86–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void
87ErrorPos::print(FILE* to) const
88{
89 const char* type = fatal ? "error:" : "warning:";
90
91 if (this->line >= 0) {
92 fprintf(to, "%s:%d: %s %s\n", this->file.string(), this->line, type, this->error.string());
93 } else {
94 fprintf(to, "%s: %s %s\n", this->file.string(), type, this->error.string());
95 }
96}
97
98// SourcePos
99// =============================================================================

Callers 2

warningMethod · 0.45
printErrorsMethod · 0.45

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected