Home
last modified time | relevance | path

Searched refs:DBG_error (Results 1 - 25 of 49) sorted by relevance

12

/third_party/backends/backend/genesys/
H A Derror.h35 #define DBG_error 1 /* fatal errors */ macro
137 DBG(DBG_error, "%s: got error: %s\n", func, exc.what()); in wrap_exceptions_to_status_code()
141 DBG(DBG_error, "%s: failed to allocate memory\n", func); in wrap_exceptions_to_status_code()
144 DBG(DBG_error, "%s: got uncaught exception: %s\n", func, exc.what()); in wrap_exceptions_to_status_code()
147 DBG(DBG_error, "%s: got unknown uncaught exception\n", func); in wrap_exceptions_to_status_code()
158 DBG(DBG_error, "%s: got error: %s\n", func, exc.what()); in wrap_exceptions_to_status_code_return()
162 DBG(DBG_error, "%s: failed to allocate memory\n", func); in wrap_exceptions_to_status_code_return()
165 DBG(DBG_error, "%s: got uncaught exception: %s\n", func, exc.what()); in wrap_exceptions_to_status_code_return()
168 DBG(DBG_error, "%s: got unknown uncaught exception\n", func); in wrap_exceptions_to_status_code_return()
179 DBG(DBG_error, " in catch_all_exceptions()
[all...]
H A Derror.cpp146 DBG(DBG_error, "%s: failed during %s\n", func_, msg_); in ~DebugMessageHelper()
148 DBG(DBG_error, "%s: failed\n", func_); in ~DebugMessageHelper()
/third_party/backends/backend/
H A Drts88xx_lib.c139 DBG (DBG_error, "sanei_rts88xx_read_reg: bulk write failed\n"); in sanei_rts88xx_read_reg()
146 DBG (DBG_error, "sanei_rts88xx_read_reg: bulk read failed\n"); in sanei_rts88xx_read_reg()
170 DBG (DBG_error, "sanei_rts88xx_write_reg: bulk write failed\n"); in sanei_rts88xx_write_reg()
216 DBG (DBG_error, in sanei_rts88xx_write_regs()
237 DBG (DBG_error, in sanei_rts88xx_write_regs()
258 DBG (DBG_error, in sanei_rts88xx_read_regs()
270 DBG (DBG_error, "sanei_rts88xx_read_regs: failed to write header\n"); in sanei_rts88xx_read_regs()
279 DBG (DBG_error, "sanei_rts88xx_read_regs: failed to read data\n"); in sanei_rts88xx_read_regs()
350 DBG (DBG_error, in sanei_rts88xx_reset_lamp()
358 DBG (DBG_error, in sanei_rts88xx_reset_lamp()
[all...]
H A Dpieusb_usb.c262 DBG (DBG_error, "\tsanei_pieusb_command() 2nd STATUS_READ ?!\n"); in sanei_pieusb_command()
274 DBG (DBG_error, "\tsanei_pieusb_command() recursive SCSI_REQUEST_SENSE\n"); in sanei_pieusb_command()
286 DBG (DBG_error, "\tsanei_pieusb_command(): CHECK CONDITION, but REQUEST SENSE fails\n"); in sanei_pieusb_command()
295 DBG (DBG_error, "\tpieusb_scsi_command() fails status in: %d\n", sane_status); in sanei_pieusb_command()
310 DBG (DBG_error, "\tsanei_pieusb_command() usb status again2\n"); in sanei_pieusb_command()
322 DBG (DBG_error, "\tsanei_pieusb_command() unhandled usb status 0x%02x\n", usb_status); in sanei_pieusb_command()
471 DBG (DBG_error, "\t\t_ieee_command fails after %d bytes\n", i); in _ieee_command()
484 DBG (DBG_error, "\t\t_ieee_command fails to write final data\n"); in _ieee_command()
488 DBG (DBG_error, "\t\t_ieee_command fails to reset strobe\n"); in _ieee_command()
492 DBG (DBG_error, "\ in _ieee_command()
[all...]
H A Dkvs1025_usb.c51 DBG (DBG_error, "attaching USB scanner %s\n", device_name); in attach_scanner_usb()
170 DBG (DBG_error, "kv_usb_open: leave -- cannot open device\n"); in kv_usb_open()
214 DBG (DBG_error, "kv_usb_escape: error, device not open.\n"); in kv_usb_escape()
226 DBG (DBG_error, "usb_bulk_write: Error writing command.\n"); in kv_usb_escape()
227 hexdump (DBG_error, "cmd block", cmd_buff, 24); in kv_usb_escape()
249 DBG (DBG_error, "usb_bulk_read: Error reading data.\n"); in kv_usb_escape()
285 DBG (DBG_error, "usb_bulk_write: Error writing data.\n"); in kv_usb_escape()
309 DBG (DBG_error, "usb_bulk_read: Error reading response." in kv_usb_escape()
318 DBG (DBG_error, "usb_bulk_read: Invalid response block.\n"); in kv_usb_escape()
319 hexdump (DBG_error, "respons in kv_usb_escape()
[all...]
H A Dhs2p-scsi.c72 DBG (DBG_error, "%3d: 0x%02x %d\n", i, *bp, *bp); in print_bytes()
475 DBG (DBG_error, "sense_handler: error code is invalid.\n"); in sense_handler()
889 DBG (DBG_error, "ERROR: mode_select: %s\n", sane_strstatus (status)); in mode_select()
890 DBG (DBG_error, "PRINTING CMD BLOCK:\n"); in mode_select()
892 DBG (DBG_error, "PRINTING MP HEADER:\n"); in mode_select()
894 DBG (DBG_error, "PRINTING MP PAGES:\n"); in mode_select()
951 DBG (DBG_error, "ERROR mode_sense: sanei_scsi_cmd error \"%s\"\n", in mode_sense()
953 DBG (DBG_error, in mode_sense()
956 DBG (DBG_error, "PRINTING CMD BLOCK:\n"); in mode_sense()
958 DBG (DBG_error, "PRINTIN in mode_sense()
[all...]
H A Dpieusb.c101 #define DBG_error 1 /* errors */ macro
355 DBG (DBG_error, "sane_open: sanei_usb_get_vendor_product_byname failed %s\n", devicename); in sane_open()
377 DBG (DBG_error, "sane_open: sanei_usb_find_devices did not open device %s\n", devicename); in sane_open()
427 DBG (DBG_error, "sane_open: scanner not ready\n"); in sane_open()
465 DBG (DBG_error, "sane_close(): invalid handle %p\n", handle); in sane_close()
545 DBG(DBG_error,"Device busy scanning, no option returned\n"); in sane_control_option()
551 DBG(DBG_error,"Index too large, no option returned\n"); in sane_control_option()
559 DBG(DBG_error,"Option inactive (%s)\n", scanner->opt[option].name); in sane_control_option()
899 DBG (DBG_error, "sane_start(): scanner is already scanning, exiting\n"); in sane_start()
913 DBG (DBG_error, "sane_star in sane_start()
[all...]
H A Dp5_device.c87 DBG (DBG_error, "p5_inb(%s) escaped ppdev\n", addr_name (addr)); in p5_inb()
92 DBG (DBG_error, "ppdev ioctl returned <%s>\n", strerror (errno)); in p5_inb()
137 DBG (DBG_error, "p5_outb(%s,0x%02x) escaped ppdev\n", addr_name (addr), in p5_outb()
143 DBG (DBG_error, "ppdev ioctl returned <%s>\n", strerror (errno)); in p5_outb()
202 DBG (DBG_error, "memtest: error reading data back!\n"); in read_data()
314 #define P5_INB(k,y,z) val=p5_inb(k,y); if(val!=z) { DBG(DBG_error,"expected 0x%02x, got 0x%02x\n",z, val); return SANE_FALSE; }
499 DBG (DBG_error, "open_pp: no %s device ...\n", name); in open_pp()
502 DBG (DBG_error, in open_pp()
507 DBG (DBG_error, "open_pp: %s while opening %s\n", strerror (errno), in open_pp()
548 DBG (DBG_error, "open_p in open_pp()
[all...]
H A Drts8891_low.c125 DBG (DBG_error, in rts8891_write_all()
141 DBG (DBG_error, in rts8891_write_all()
222 DBG (DBG_error, "simple_scan: failed to wait for data\n"); in rts8891_simple_scan()
230 DBG (DBG_error, "simple_scan: failed to wait for data\n"); in rts8891_simple_scan()
261 DBG (DBG_error, in rts8891_simple_scan()
567 DBG (DBG_error, in rts8891_wait_for_home()
645 DBG (DBG_error, "read_data: failed to wait for data\n"); in read_data()
653 DBG (DBG_error, in read_data()
680 DBG (DBG_error, "read_data: failed to wait for data\n"); in read_data()
688 DBG (DBG_error, in read_data()
[all...]
H A Dkvs1025_low.c229 DBG (DBG_error, "kv_send_command error: device not open.\n"); in kv_send_command()
313 DBG (DBG_error, "test.\n"); in CMD_read_support_info()
350 DBG (DBG_error, in CMD_read_support_info()
353 DBG (DBG_error, in CMD_read_support_info()
356 DBG (DBG_error, in CMD_read_support_info()
359 DBG (DBG_error, in CMD_read_support_info()
362 DBG (DBG_error, in CMD_read_support_info()
365 DBG (DBG_error, "support_info.support_lamp = %s\n", in CMD_read_support_info()
370 DBG (DBG_error, "Error in CMD_get_support_info, " in CMD_read_support_info()
400 DBG (DBG_error, in CMD_scan()
[all...]
H A Dpieusb_buffer.c137 DBG(DBG_error, "sanei_pieusb_buffer_create(): no colors specified\n"); in sanei_pieusb_buffer_create()
142 DBG(DBG_error, "sanei_pieusb_buffer_create(): unsupported depth %d\n", depth); in sanei_pieusb_buffer_create()
169 DBG(DBG_error, "sanei_pieusb_buffer_create(): buffer_size is zero: width %d, height %d, colors %d\n", buffer->width, buffer->height, buffer->colors); in sanei_pieusb_buffer_create()
177 DBG(DBG_error, "sanei_pieusb_buffer_create(): error calling lseek() to 'stretch' the file to %d bytes\n", buffer_size_bytes-1); in sanei_pieusb_buffer_create()
294 DBG(DBG_error, "sanei_pieusb_buffer_put_single_color_line(): color '%c' not specified when buffer was created\n", color); in sanei_pieusb_buffer_put_single_color_line()
301 DBG(DBG_error, "sanei_pieusb_buffer_put_single_color_line(): incorrect line size, expecting %d, got %d\n", buffer->line_size_bytes, size); in sanei_pieusb_buffer_put_single_color_line()
390 DBG(DBG_error, "sanei_pieusb_buffer_put_full_color_line(): incorrect line size, expecting %d, got %d\n", buffer->line_size_bytes * buffer->colors, size); in sanei_pieusb_buffer_put_full_color_line()
549 DBG(DBG_error, "buffer_put(): paccket size & density of %d/%d not implemented\n", buffer->packet_size_bytes, buffer->packing_density); in sanei_pieusb_buffer_get()
H A Dumax.c84 #define DBG_error 1 macro
864 DBG(DBG_error, "invalid sense key error code (%d)\n", get_RS_error_code(result)); in sense_handler()
870 DBG(DBG_error, "=> handled as DEVICE BUSY!\n"); in sense_handler()
874 DBG(DBG_error, "=> handled as ok!\n"); in sense_handler()
878 DBG(DBG_error, "=> handled as i/o error!\n"); in sense_handler()
882 DBG(DBG_error, "=> ignored, sense handler does continue\n"); in sense_handler()
1509 DBG(DBG_error, "umax_scsi_get_lamp_status: command returned status %s\n", sane_strstatus(status)); in umax_scsi_get_lamp_status()
1535 DBG(DBG_error, "umax_scsi_set_lamp_status: command returned status %s\n", sane_strstatus(status)); in umax_scsi_set_lamp_status()
1554 DBG(DBG_error, "ERROR: umax_set_lamp_status: open of %s failed:\n", scanner->device->sane.name); in umax_set_lamp_status()
1583 DBG(DBG_error, "umax_get_data_buffer_statu in umax_get_data_buffer_status()
[all...]
H A Dpie.c98 #define DBG_error 1 macro
825 DBG (DBG_error, "pie_do_inquiry: command returned status %s\n", in pie_do_inquiry()
835 DBG (DBG_error, "pie_do_inquiry: command returned status %s\n", in pie_do_inquiry()
976 DBG (DBG_error, in pie_get_halftones()
992 DBG (DBG_error, in pie_get_halftones()
1040 DBG (DBG_error, "pie_get_cal_info: write command returned status %s\n", in pie_get_cal_info()
1055 DBG (DBG_error, in pie_get_cal_info()
1123 DBG (DBG_error, "attach_scanner: open failed\n"); in attach_scanner()
1130 DBG (DBG_error, in attach_scanner()
1146 DBG (DBG_error, "attach_scanne in attach_scanner()
[all...]
H A Dmatsushita.c543 DBG (DBG_error, in matsushita_read_document_size()
677 DBG (DBG_error, in matsushita_identify_scanner()
687 DBG (DBG_error, in matsushita_identify_scanner()
698 DBG (DBG_error, in matsushita_identify_scanner()
726 DBG (DBG_error, "matsushita_identify_scanner: scanner supported\n"); in matsushita_identify_scanner()
754 DBG (DBG_error, "ERROR: not enough memory\n"); in matsushita_build_paper_sizes()
761 DBG (DBG_error, "ERROR: not enough memory\n"); in matsushita_build_paper_sizes()
806 DBG (DBG_error, "name %s not found in list\n", name); in get_string_list_index()
831 DBG (DBG_error, "word %d not found in list\n", value); in get_int_list_index()
854 DBG (DBG_error, in matsushita_sense_handler()
[all...]
H A Dteco1.c303 DBG (DBG_error, "name %s not found in list\n", name); in get_string_list_index()
424 DBG (DBG_error, in teco_identify_scanner()
465 DBG (DBG_error, in teco_identify_scanner()
481 DBG (DBG_error, in teco_identify_scanner()
511 DBG (DBG_error, "teco_identify_scanner: scanner supported\n"); in teco_identify_scanner()
544 DBG (DBG_error, in teco_get_inquiry_82()
560 DBG (DBG_error, in teco_get_inquiry_82()
590 DBG (DBG_error, in teco_sense_handler()
599 DBG (DBG_error, "teco_sense_handler: sense too short, no ASC/ASCQ\n"); in teco_sense_handler()
741 DBG (DBG_error, in get_filled_data_length()
[all...]
H A Dteco3.c243 DBG (DBG_error, "name %s not found in list\n", name); in get_string_list_index()
354 DBG (DBG_error, in teco_identify_scanner()
364 DBG (DBG_error, in teco_identify_scanner()
375 DBG (DBG_error, in teco_identify_scanner()
406 DBG (DBG_error, "teco_identify_scanner: scanner supported\n"); in teco_identify_scanner()
436 DBG (DBG_error, in teco_sense_handler()
445 DBG (DBG_error, "teco_sense_handler: sense too short, no ASC/ASCQ\n"); in teco_sense_handler()
587 DBG (DBG_error, in get_filled_data_length()
603 DBG (DBG_error, in get_filled_data_length()
805 DBG (DBG_error, "ERRO in attach_scanner()
[all...]
H A Dstv680.c419 DBG (DBG_error, in stv680_set_config()
428 DBG (DBG_error, in stv680_set_config()
436 DBG (DBG_error, in stv680_set_config()
511 DBG (DBG_error, in stv680_reset_vidcam()
555 DBG (DBG_error, in stv680_identify_vidcam()
566 DBG (DBG_error, in stv680_identify_vidcam()
701 DBG (DBG_error, in stv680_identify_vidcam()
711 DBG (DBG_error, "stv680_identify_vidcam: exit this is not a STV680 exit\n"); in stv680_identify_vidcam()
823 DBG (DBG_error, in stv680_vidcam_init()
852 DBG (DBG_error, "stv680_vidcam_ini in stv680_vidcam_init()
[all...]
H A Dleo.c230 DBG (DBG_error, "name %s not found in list\n", name); in get_string_list_index()
352 DBG (DBG_error, in leo_identify_scanner()
362 DBG (DBG_error, in leo_identify_scanner()
373 DBG (DBG_error, in leo_identify_scanner()
399 DBG (DBG_error, "leo_identify_scanner: scanner supported\n"); in leo_identify_scanner()
447 DBG (DBG_error, in leo_sense_handler()
461 DBG (DBG_error, "leo_sense_handler: sense too short, no ASC/ASCQ\n"); in leo_sense_handler()
573 DBG (DBG_error, in leo_get_scan_size()
631 DBG (DBG_error, in get_filled_data_length()
696 DBG (DBG_error, "ERRO in attach_scanner()
[all...]
H A Dhs2p.c994 DBG (DBG_error, ">>> attach: open failed: %s\n", in attach()
1007 DBG (DBG_error, ">>> attach: inquiry failed: %s\n", in attach()
1045 DBG (DBG_error, ">>> attach: test unit ready failed (%s)\n", in attach()
1057 DBG (DBG_error, ">>> attach: inquiry (vpd data) failed: %s\n", in attach()
1070 DBG (DBG_error, ">>> attach: inquiry (jis data) failed: %s\n", in attach()
1100 DBG (DBG_error, ">>> attach: get_basic_measurement_unit failed (%s)\n", in attach()
1102 DBG (DBG_error, ">>> attach: setting to defaults\n"); in attach()
1106 DBG (DBG_error, in attach()
1114 DBG (DBG_error, ">>> attach: get_connection_parameters failed\n"); in attach()
1119 DBG (DBG_error, in attach()
[all...]
H A Dsceptre.c269 DBG (DBG_error, in sceptre_identify_scanner()
277 DBG (DBG_error, in sceptre_identify_scanner()
302 DBG (DBG_error, "sceptre_identify_scanner: scanner supported\n"); in sceptre_identify_scanner()
333 DBG (DBG_error, "sceptre_get_status: cannot get buffer status\n"); in sceptre_get_status()
340 DBG (DBG_error, in sceptre_get_status()
558 DBG (DBG_error, "ERROR: not enough memory\n"); in attach_scanner()
566 DBG (DBG_error, "ERROR: attach_scanner: open failed\n"); in attach_scanner()
578 DBG (DBG_error, in attach_scanner()
869 DBG (DBG_error, "sceptre_wait_scanner: TUR failed\n"); in sceptre_wait_scanner()
911 DBG (DBG_error, "sceptre_do_dia in sceptre_do_diag()
[all...]
H A Dp5.c378 DBG (DBG_error, "sane_open: failed to open '%s' device!\n", in sane_open()
386 DBG (DBG_error, "sane_open: failed to connect!\n"); in sane_open()
442 DBG (DBG_error, "sane_set_io_mode: called out of a scan\n"); in sane_set_io_mode()
796 DBG (DBG_error, "sane_control_option: invalid action %d\n", action); in sane_control_option()
835 DBG (DBG_error, "sane_start: device is not initialized\n"); in sane_start()
843 DBG (DBG_error, "sane_start: device is already scanning\n"); in sane_start()
857 DBG (DBG_error, "sane_start: failed to move to scan area\n"); in sane_start()
866 DBG (DBG_error, "sane_start: failed to start scan\n"); in sane_start()
885 DBG (DBG_error, "sane_start: failed to allocate %lu bytes\n", (unsigned long)dev->size); in sane_start()
1134 DBG (DBG_error, "sane_rea in sane_read()
[all...]
H A Dhp4200.c502 DBG (DBG_error, "sanei_usb_read_bulk failed (%s)\n", in read_available_data()
508 DBG (DBG_error, "USB stack read more bytes than requested!\n"); in read_available_data()
629 DBG (DBG_error, "compute_datalink_bandwidth: malloc failed\n"); in compute_datalink_bandwidth()
642 DBG (DBG_error, "read_available_data failed (%s)\n", in compute_datalink_bandwidth()
733 DBG (DBG_error, "error: color %d has bad gamma table\n", color); in write_gamma()
773 DBG (DBG_error, "error: color %d has bad gain/offset table\n", color); in write_default_offset_gain()
804 DBG (DBG_error, "error: integration time too long.\n"); in compute_gain_offset()
829 DBG (DBG_error, "error: max static has pixel value == 0\n"); in compute_gain_offset()
977 DBG (DBG_error, "sanei_usb_read_bulk failed (%s)\n", in read_required_bytes()
983 DBG (DBG_error, "US in read_required_bytes()
[all...]
H A Dkvs1025.c52 DBG (DBG_error, in sane_init()
144 DBG (DBG_error, "Resolution = %d\n", resolution); in sane_get_parameters()
145 DBG (DBG_error, "Paper width = %d, height = %d\n", width, length); in sane_get_parameters()
410 /*hexdump(DBG_error, "img data", buf, 128); */ in sane_read()
H A Dteco2.c532 DBG (DBG_error, "name %s not found in list\n", name); in get_string_list_index()
642 DBG (DBG_error, in teco_identify_scanner()
653 DBG (DBG_error, in teco_identify_scanner()
737 DBG (DBG_error, in teco_identify_scanner()
767 DBG (DBG_error, "teco_identify_scanner: scanner supported\n"); in teco_identify_scanner()
774 DBG (DBG_error, in teco_identify_scanner()
785 DBG (DBG_error, in teco_identify_scanner()
1176 DBG (DBG_error, "Invalid calibration algorithm (%d)\n", cal_algo); in teco_do_calibration()
1285 DBG (DBG_error, in teco_do_calibration()
1506 DBG (DBG_error, in teco_do_calibration()
[all...]
/third_party/backends/sanei/
H A Dsanei_pv8630.c59 #define DBG_error 1 macro
80 DBG (DBG_error, "sanei_pv8630_write_byte error\n"); in sanei_pv8630_write_byte()
97 DBG (DBG_error, "sanei_pv8630_read_byte error\n"); in sanei_pv8630_read_byte()
113 DBG (DBG_error, "sanei_pv8630_prep_bulkread error\n"); in sanei_pv8630_prep_bulkread()
129 DBG (DBG_error, "sanei_pv8630_prep_bulkwrite error\n"); in sanei_pv8630_prep_bulkwrite()
143 DBG (DBG_error, "sanei_pv8630_flush_buffer error\n"); in sanei_pv8630_flush_buffer()
157 DBG (DBG_error, "sanei_pv8630_bulkwrite error\n"); in sanei_pv8630_bulkwrite()
171 DBG (DBG_error, "sanei_pv8630_bulkread error\n"); in sanei_pv8630_bulkread()
189 DBG (DBG_error, "sanei_pv8630_xpect_byte: expected %x, got %x\n", value, in sanei_pv8630_xpect_byte()
219 DBG (DBG_error, "sanei_pv8630_wait_byt in sanei_pv8630_wait_byte()
[all...]

Completed in 46 milliseconds

12