Lines Matching refs:result
253 * @return the function returns the result of the open call, on success
869 * @param result - pointer to the var that should receive our result
870 * @param def - default value that result should be in case of any error
875 int what, void *result, void *def )
896 *((int*)result) = *((int*)def);
904 *((int*)result) = strtol( tmp2, 0, 0 );
914 *((double*)result) = *((double*)def);
922 *((double*)result) = strtod( tmp2, 0 );
975 int result;
1040 result = dev->getCaps( dev );
1041 if( result < 0 ) {
1042 DBG( _DBG_ERROR, "dev->getCaps() failed(%d)\n", result);
1047 result = dev->getLensInfo( dev, &lens );
1048 if( result < 0 ) {
1049 DBG( _DBG_ERROR, "dev->getLensInfo() failed(%d)\n", result );
1792 int result;
1829 result = s->hw->getCaps( s->hw );
1830 if( result < 0 ) {
1831 DBG( _DBG_ERROR, "dev->getCaps() failed(%d)\n", result);
1836 result = s->hw->getLensInfo( s->hw, &lens );
1837 if( result < 0 ) {
1838 DBG( _DBG_ERROR, "dev->getLensInfo() failed(%d)\n", result );
1922 result = s->hw->putImgInfo( s->hw, &sinfo.ImgDef );
1923 if( result < 0 ) {
1924 DBG( _DBG_ERROR, "dev->putImgInfo failed(%d)\n", result );
1934 result = s->hw->getCropInfo( s->hw, &crop );
1935 if( result < 0 ) {
1936 DBG( _DBG_ERROR, "dev->getCropInfo() failed(%d)\n", result );
1957 result = s->hw->setScanEnv( s->hw, &sinfo );
1958 if( result < 0 ) {
1959 DBG( _DBG_ERROR, "dev->setEnv() failed(%d)\n", result );
1975 result = s->hw->startScan( s->hw, &start );
1976 if( result < 0 ) {
1977 DBG( _DBG_ERROR, "dev->startScan() failed(%d)\n", result );