Home
last modified time | relevance | path

Searched refs:mDiag (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPng.h46 explicit Png(IDiagnostics* diag) : mDiag(diag) {} in Png()
54 IDiagnostics* mDiag; variable
DPng.cpp1242 mDiag->Error(DiagMessage() << strerror(errno)); in process()
1248 mDiag->Error(DiagMessage() << "not a valid png file"); in process()
1261 mDiag->Error(DiagMessage() << "failed to allocate read ptr"); in process()
1267 mDiag->Error(DiagMessage() << "failed to allocate info ptr"); in process()
1271 png_set_error_fn(readPtr, reinterpret_cast<png_voidp>(mDiag), nullptr, in process()
1277 if (!readPng(mDiag, readPtr, infoPtr, &pngInfo)) { in process()
1284 mDiag->Error(DiagMessage() << errorMsg); in process()
1292 mDiag->Error(DiagMessage() << "failed to allocate write ptr"); in process()
1298 mDiag->Error(DiagMessage() << "failed to allocate write info ptr"); in process()
1308 if (!writePng(mDiag, writePtr, writeInfoPtr, &pngInfo, in process()