Lines Matching refs:status
367 unsigned long status;
412 status = (unsigned long)scanner->hw->readImage( scanner->hw,
419 status = scanner->hw->prepare( scanner->hw, buf );
421 if( 0 == status ) {
425 status = scanner->hw->readLine( scanner->hw );
426 if((int)status < 0 ) {
438 if((int)status < 0 ) {
439 DBG( _DBG_ERROR, "read failed, status = %i, errno %i\n",
440 (int)status, errno );
441 if( -9009 == (int)status )
452 DBG( _DBG_PROC, "sending %lu bytes to parent\n", status );
453 write( scanner->w_pipe, scanner->buf, status );
1313 SANE_Status status;
1331 status = attach( devicename, &config, &dev );
1332 if( SANE_STATUS_GOOD != status )
1333 return status;
1423 SANE_Status status;
1479 status = sanei_constrain_value( s->opt + option, value, info );
1480 if( SANE_STATUS_GOOD != status )
1481 return status;
1801 SANE_Status status;
1810 status = sane_get_parameters (handle, NULL);
1811 if (status != SANE_STATUS_GOOD) {
1813 return status;
2040 status = reader_process( s, fds[1] );
2042 DBG( _DBG_SANE_INIT, "reader process done, status = %i\n", status );
2045 _exit( status );