Lines Matching refs:x

264 void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) t…  in setString()  argument
266 ::rtl::OString aString(::rtl::OUStringToOString(x,getOwnConnection()->getTextEncoding())); in setString()
267 setParameter(parameterIndex,DataType::CHAR,aString.getLength(),(void*)&x); in setString()
300 void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(SQLExcep… in setBoolean() argument
309 if (x) { in setBoolean()
363 void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(SQLExceptio… in setByte() argument
365 setParameter(parameterIndex,DataType::TINYINT,sizeof(sal_Int8),&x); in setByte()
371 DATE_STRUCT x = OTools::DateToOdbcDate(aData); in setDate() local
372 setParameter(parameterIndex,DataType::DATE,sizeof(DATE_STRUCT),&x); in setDate()
379 TIME_STRUCT x = OTools::TimeToOdbcTime(aVal); in setTime() local
380 setParameter(parameterIndex,DataType::TIME,sizeof(TIME_STRUCT),&x); in setTime()
386 TIMESTAMP_STRUCT x = OTools::DateTimeToTimestamp(aVal); in setTimestamp() local
387 setParameter(parameterIndex,DataType::TIMESTAMP,sizeof(TIMESTAMP_STRUCT),&x); in setTimestamp()
391 void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x ) throw(SQLExceptio… in setDouble() argument
393 setParameter(parameterIndex,DataType::DOUBLE,sizeof(double),&x); in setDouble()
398 void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException,… in setFloat() argument
400 setParameter(parameterIndex,DataType::FLOAT,sizeof(float),&x); in setFloat()
404 void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQLExceptio… in setInt() argument
406 setParameter(parameterIndex,DataType::INTEGER,sizeof(sal_Int32),&x); in setInt()
410 void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 x ) throw(SQLExcepti… in setLong() argument
414 setParameter(parameterIndex,DataType::BIGINT,sizeof(sal_Int64),&x); in setLong()
418 setString(parameterIndex,ORowSetValue(x)); in setLong()
470 void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Reference< XClob >& x ) … in setClob() argument
472 if ( x.is() ) in setClob()
473 setStream(parameterIndex, x->getCharacterStream(), (SQLLEN)x->length(), DataType::LONGVARCHAR); in setClob()
477 void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const Reference< XBlob >& x ) … in setBlob() argument
479 if ( x.is() ) in setBlob()
480 setStream(parameterIndex, x->getBinaryStream(), (SQLLEN)x->length(), DataType::LONGVARCHAR); in setBlob()
495 void OPreparedStatement::setDecimal( sal_Int32 parameterIndex, const ::rtl::OUString& x ) in setDecimal() argument
497 ::rtl::OString aString(::rtl::OUStringToOString(x,getOwnConnection()->getTextEncoding())); in setDecimal()
498 setParameter(parameterIndex,DataType::DECIMAL,aString.getLength(),(void*)&x); in setDecimal()
501 void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_In… in setObjectWithInfo() argument
514 if(x.hasValue()) in setObjectWithInfo()
517 x >>= sStr; in setObjectWithInfo()
527 aValue.fill(x); in setObjectWithInfo()
534 aValue.fill(x); in setObjectWithInfo()
539 ::dbtools::setObjectWithInfo(this,parameterIndex,x,sqlType,scale); in setObjectWithInfo()
553 void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x ) throw(SQLExce… in setObject() argument
555 if (!::dbtools::implSetObject(this, parameterIndex, x)) in setObject()
562 void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLExcept… in setShort() argument
564 setParameter(parameterIndex,DataType::SMALLINT,sizeof(sal_Int16),&x); in setShort()
568 void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x in setBytes() argument
570 setParameter(parameterIndex,DataType::BINARY,x.getLength(),(void*)&x); in setBytes()
571 boundParams[parameterIndex-1].setSequence(x); // this assures that the sequence stays alive in setBytes()
576 …nt32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) … in setCharacterStream() argument
578 setStream(parameterIndex, x, length, DataType::LONGVARCHAR); in setCharacterStream()
582 …nt32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) … in setBinaryStream() argument
584 setStream(parameterIndex, x, length, DataType::LONGVARBINARY); in setBinaryStream()
845 const Reference< XInputStream>& x, in setStream()
890 boundParams[ParameterIndex - 1].setInputStream (x, length); in setStream()