Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp69 static void LogWarning(png_structp png_ptr, png_const_charp warning_msg) { in LogWarning() argument
70 IDiagnostics* diag = (IDiagnostics*)png_get_error_ptr(png_ptr); in LogWarning()
75 static void LogError(png_structp png_ptr, png_const_charp error_msg) { in LogError() argument
76 IDiagnostics* diag = (IDiagnostics*)png_get_error_ptr(png_ptr); in LogError()
82 png_longjmp(png_ptr, 1); in LogError()
85 static void ReadDataFromStream(png_structp png_ptr, png_bytep buffer, png_size_t len) { in ReadDataFromStream() argument
86 io::InputStream* in = (io::InputStream*)png_get_io_ptr(png_ptr); in ReadDataFromStream()
98 png_error(png_ptr, err.c_str()); in ReadDataFromStream()
110 static void WriteDataToStream(png_structp png_ptr, png_bytep buffer, png_size_t len) { in WriteDataToStream() argument
111 io::OutputStream* out = (io::OutputStream*)png_get_io_ptr(png_ptr); in WriteDataToStream()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp21 png_write_aapt_file(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_aapt_file() argument
23 AaptFile* aaptfile = (AaptFile*) png_get_io_ptr(png_ptr); in png_write_aapt_file()
26 png_error(png_ptr, "Write Error"); in png_write_aapt_file()
93 static void log_warning(png_structp png_ptr, png_const_charp warning_message) in log_warning() argument
95 const char* imageName = (const char*) png_get_error_ptr(png_ptr); in log_warning()