Lines Matching refs:message_handler
42 MessageHandler* message_handler, in ExtractFirstImageInJpeg() argument
49 if (message_handler) { in ExtractFirstImageInJpeg()
50 message_handler->ClearMessages(); in ExtractFirstImageInJpeg()
57 JpegScanner jpeg_scanner(message_handler); in ExtractFirstImageInJpeg()
68 if (message_handler) { in ExtractFirstImageInJpeg()
69 message_handler->ReportMessage(Message::kPrematureEndOfDataError, in ExtractFirstImageInJpeg()
84 MessageHandler message_handler; in WriteImageAndFiles() local
85 auto output_stream = OpenOutputFile(output_file_name, &message_handler); in WriteImageAndFiles()
91 &message_handler); in WriteImageAndFiles()
96 OpenInputFile(input_file_name, &message_handler); in WriteImageAndFiles()
98 if (!ExtractFirstImageInJpeg(*input_stream, &message_handler, &image_range)) { in WriteImageAndFiles()
104 OpenInputFile(input_file_name, &message_handler)); in WriteImageAndFiles()
113 auto tack_on_data_segment = ReadEntireFile(tack_on_file, &message_handler); in WriteImageAndFiles()
154 MessageHandler message_handler; in ParseFileAfterImageFromStream() local
155 if (!ExtractFirstImageInJpeg(input_jpeg_stream, &message_handler, in ParseFileAfterImageFromStream()