Lines Matching refs:nOption
130 SANE_Status Sane::ControlOption( int nOption, SANE_Action nAction, in ControlOption() argument
136 nStatus = p_control_option( maHandle, (SANE_Int)nOption, in ControlOption()
153 ByteString( GetOptionName( nOption ), gsl_getSystemTextEncoding() ).GetBuffer(), in ControlOption()
575 int nOption; in Start() local
576 if( ( nOption = GetOptionByName( "tl-x" ) ) != -1 && in Start()
577 GetOptionValue( nOption, fTLx, 0 ) && in Start()
578 GetOptionUnit( nOption ) == SANE_UNIT_MM ) in Start()
580 if( ( nOption = GetOptionByName( "br-x" ) ) != -1 && in Start()
581 GetOptionValue( nOption, fBRx, 0 ) && in Start()
582 GetOptionUnit( nOption ) == SANE_UNIT_MM ) in Start()
587 if( ( nOption = GetOptionByName( "tl-y" ) ) != -1 && in Start()
588 GetOptionValue( nOption, fTLy, 0 ) && in Start()
589 GetOptionUnit( nOption ) == SANE_UNIT_MM ) in Start()
591 if( ( nOption = GetOptionByName( "br-y" ) ) != -1 && in Start()
592 GetOptionValue( nOption, fBRy, 0 ) && in Start()
593 GetOptionUnit( nOption ) == SANE_UNIT_MM ) in Start()
598 if( ( nOption = GetOptionByName( "resolution" ) ) != -1 ) in Start()
599 GetOptionValue( nOption, fResl ); in Start()