Lines Matching refs:maHandle

136 	nStatus = p_control_option( maHandle, (SANE_Int)nOption,  in ControlOption()
167 maHandle( 0 ) in Sane()
278 p_get_option_descriptor( maHandle, 0 ); in ReloadOptions()
280 SANE_Status nStatus = p_control_option( maHandle, 0, SANE_ACTION_GET_VALUE, in ReloadOptions()
294 p_get_option_descriptor( maHandle, i ); in ReloadOptions()
305 SANE_Status nStatus = p_open( (SANE_String_Const)name, &maHandle ); in Open()
338 if( maHandle ) in Close()
340 p_close( maHandle ); in Close()
343 maHandle = 0; in Close()
362 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_BOOL ) in GetOptionValue()
376 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_STRING ) in GetOptionValue()
393 if( ! maHandle || ( mppOptions[n]->type != SANE_TYPE_INT && in GetOptionValue()
413 if( ! maHandle || ! ( mppOptions[n]->type == SANE_TYPE_FIXED || in GetOptionValue()
437 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_BOOL ) in SetOptionValue()
448 if( ! maHandle || mppOptions[n]->type != SANE_TYPE_STRING ) in SetOptionValue()
461 if( ! maHandle || ( mppOptions[n]->type != SANE_TYPE_INT && in SetOptionValue()
493 if( ! maHandle || ( mppOptions[n]->type != SANE_TYPE_INT && in SetOptionValue()
569 if( ! maHandle ) in Start()
633 nStatus = p_start( maHandle ); in Start()
638 nStatus = p_get_parameters( maHandle, &aParams ); in Start()
689 nStatus = p_set_io_mode( maHandle, SANE_FALSE ); in Start()
694 nStatus = p_set_io_mode( maHandle, SANE_TRUE ); in Start()
708 nStatus = p_get_select_fd( maHandle, &fd ); in Start()
734 nStatus = p_read( maHandle, pBuffer, BYTE_BUFFER_SIZE, &nLen ); in Start()
892 p_cancel( maHandle ); in Start()