Lines Matching refs:diag
38 Maybe<uint16_t> ParseTargetDensityParameter(const StringPiece& arg, IDiagnostics* diag) { in ParseTargetDensityParameter() argument
41 diag->Error(DiagMessage() << "invalid density '" << arg << "' for --preferred-density option"); in ParseTargetDensityParameter()
50 diag->Error(DiagMessage() << "invalid preferred density '" << arg << "'. " in ParseTargetDensityParameter()
57 bool ParseSplitParameter(const StringPiece& arg, IDiagnostics* diag, std::string* out_path, in ParseSplitParameter() argument
59 CHECK(diag != nullptr); in ParseSplitParameter()
71 diag->Error(DiagMessage() << "invalid split parameter '" << arg << "'"); in ParseSplitParameter()
72 diag->Note(DiagMessage() << "should be --split path/to/output.apk" << sSeparator in ParseSplitParameter()
82 diag->Error(DiagMessage() << "invalid config '" << config_str << "' in split parameter '" in ParseSplitParameter()
92 IDiagnostics* diag) { in ParseConfigFilterParameters() argument
101 diag->Error(DiagMessage() << "invalid config '" << config_str << "' for -c option"); in ParseConfigFilterParameters()
106 diag->Warn(DiagMessage() << "ignoring density '" << config << "' for -c option"); in ParseConfigFilterParameters()
334 IDiagnostics* diag) { in ExtractAppInfoFromBinaryManifest() argument
344 diag->Error(DiagMessage(xml_res.file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromBinaryManifest()
350 diag->Error(DiagMessage(xml_res.file.source) << "<manifest> must have a 'package' attribute"); in ExtractAppInfoFromBinaryManifest()
357 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
367 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
378 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
389 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
399 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
411 diag->Error(DiagMessage(xml_res.file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()