Lines Matching defs:result
713 * @param result - pointer to the var that should receive our result
714 * @param def - default value that result should be in case of any error
719 int what, void *result, void *def )
740 *((int*)result) = *((int*)def);
748 *((int*)result) = strtol( tmp2, 0, 0 );
758 *((double*)result) = *((double*)def);
766 *((double*)result) = strtod( tmp2, 0 );
818 int result;
868 result = u12if_getCaps( dev );
869 if( result < 0 ) {
870 DBG( _DBG_ERROR, "u12if_getCaps() failed(%d)\n", result);
1552 int result;
1590 result = u12if_getCaps( dev );
1591 if( result < 0 ) {
1592 DBG( _DBG_ERROR, "u12if_getCaps() failed(%d)\n", result);
1676 result = u12image_SetupScanSettings( dev, &image );
1677 if( SANE_STATUS_GOOD != result ) {
1678 DBG( _DBG_ERROR, "u12image_SetupScanSettings() failed(%d)\n", result );
1701 result = u12if_startScan( dev );
1702 if( SANE_STATUS_GOOD != result ) {
1703 DBG( _DBG_ERROR, "u12if_startScan() failed(%d)\n", result );