/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DbTools.java | 519 int index = 0; in createStandardColumnPart() local 521 typename = typename.substring(0, index); in createStandardColumnPart() 859 parameters.setLong(index, AnyConverter.toLong(any)); in setObject() 865 parameters.setNull(index, DataType.VARCHAR); in setObject() 874 parameters.setByte(index, AnyConverter.toByte(any)); in setObject() 877 parameters.setShort(index, AnyConverter.toShort(any)); in setObject() 886 parameters.setInt(index, AnyConverter.toInt(any)); in setObject() 901 parameters.setBytes(index, (byte[])array); in setObject() 912 parameters.setDate(index, (Date)object); in setObject() 914 parameters.setTime(index, (Time)object); in setObject() [all …]
|
/trunk/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/ |
H A D | JavaSQLArray.java | 66 public Object[] getArrayAtIndex(int index, int count, XNameAccess typeMap) throws SQLException { in getArrayAtIndex() argument 106 …public XResultSet getResultSetAtIndex(int index, int count, XNameAccess typeMap) throws SQLExcepti… in getResultSetAtIndex() argument
|
H A D | JavaSQLCallableStatement.java | 328 …public synchronized void registerOutParameter(int index, int sqlType, String typeName) throws SQLE… in registerOutParameter() argument 331 … ((java.sql.CallableStatement)jdbcStatement).registerOutParameter(index, sqlType, typeName); in registerOutParameter() 338 public void registerNumericOutParameter(int index, int sqlType, int scale) throws SQLException { in registerNumericOutParameter() argument 341 ((java.sql.CallableStatement)jdbcStatement).registerOutParameter(index, sqlType, scale); in registerNumericOutParameter()
|
H A D | JavaSQLPreparedStatement.java | 201 ((java.sql.PreparedStatement)jdbcStatement).setByte(index, x); in setByte() 210 logger.log(LogLevel.FINE, Resources.STR_LOG_BYTES_PARAMETER, index); in setBytes() 258 ((java.sql.PreparedStatement)jdbcStatement).setDouble(index, x); in setDouble() 269 ((java.sql.PreparedStatement)jdbcStatement).setFloat(index, x); in setFloat() 276 public synchronized void setInt(int index, int x) throws SQLException { in setInt() argument 280 ((java.sql.PreparedStatement)jdbcStatement).setInt(index, x); in setInt() 291 ((java.sql.PreparedStatement)jdbcStatement).setLong(index, x); in setLong() 309 public void setObject(int index, Object x) throws SQLException { in setObject() argument 310 if (!DbTools.setObject(this, index, x)) { in setObject() 357 public void setRef(int index, XRef x) throws SQLException { in setRef() argument [all …]
|
/trunk/main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/ |
H A D | PostgresqlTable.java | 77 …public void alterColumnByIndex(int index, XPropertySet descriptor) throws SQLException, IndexOutOf… in alterColumnByIndex() argument
|
H A D | PostgresqlTables.java | 87 public void dropObject(int index, String name) throws SQLException { in dropObject() argument 89 Object object = getObject(index); in dropObject()
|
H A D | PostgresqlViews.java | 118 protected void dropObject(int index, String name) throws SQLException { in dropObject() argument 121 Object object = getObject(index); in dropObject()
|
/trunk/main/connectivity/source/commontools/ |
H A D | TTableHelper.cxx | 541 void SAL_CALL OTableHelper::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& d… in alterColumnByIndex() argument 553 if(::cppu::extractInterface(xOld,m_pColumns->getByIndex(index)) && xOld.is()) in alterColumnByIndex()
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | ADatabaseMetaDataResultSet.cxx | 153 long index = 0; in getBinaryStream() local 154 while(index < nSize) in getBinaryStream() 166 aData.getArray()[index++] = chData; in getBinaryStream() 172 …return index ? Reference< ::com::sun::star::io::XInputStream >(new SequenceInputStream(aData)) : R… in getBinaryStream()
|
H A D | AResultSet.cxx | 185 long index = 0; in getBinaryStream() local 186 while(index < nSize) in getBinaryStream() 198 aData.getArray()[index++] = chData; in getBinaryStream()
|
H A D | ATable.cxx | 196 void SAL_CALL OAdoTable::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& desc… in alterColumnByIndex() argument 202 m_pColumns->getByIndex(index) >>= xOld; in alterColumnByIndex()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 2219 void SAL_CALL ODbaseTable::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& de… in alterColumnByIndex() argument 2225 if(index < 0 || index >= m_pColumns->getCount()) in alterColumnByIndex() 2226 throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); in alterColumnByIndex() 2229 m_pColumns->getByIndex(index) >>= xOldColumn; in alterColumnByIndex() 2230 alterColumn(index,descriptor,xOldColumn); in alterColumnByIndex() 2233 void ODbaseTable::alterColumn(sal_Int32 index, in alterColumn() argument 2238 if(index < 0 || index >= m_pColumns->getCount()) in alterColumn() 2239 throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),*this); in alterColumn() 2266 for(;i < index;++i) in alterColumn()
|
/trunk/main/connectivity/source/drivers/jdbc/ |
H A D | Array.cxx | 81 …sun::star::uno::Any > SAL_CALL java_sql_Array::getArrayAtIndex( sal_Int32 index, sal_Int32 count, … in getArrayAtIndex() argument 93 out = (jobjectArray)t.pEnv->CallObjectMethod( object, mID, index,count,obj); in getArrayAtIndex() 124 …dbc::XResultSet > SAL_CALL java_sql_Array::getResultSetAtIndex( sal_Int32 index, sal_Int32 count, … in getResultSetAtIndex() argument 137 out = t.pEnv->CallObjectMethod( object, mID, index,count,obj); in getResultSetAtIndex()
|
/trunk/main/connectivity/source/drivers/odbcbase/ |
H A D | OPreparedStatement.cxx | 662 if ((index >= 1) && in allocBindBuf() 663 (index <= numParams) && bufLen > 0 ) in allocBindBuf() 683 if ((index >= 1) && in getDataBuf() 684 (index <= numParams)) in getDataBuf() 686 b = boundParams[index - 1].getBindDataBuffer (); in getDataBuf() 704 if ((index >= 1) && in getLengthBuf() 705 (index <= numParams)) in getLengthBuf() 729 if ((index >= 1) && in getParamLength() 730 (index <= numParams)) { in getParamLength() 751 if ((index < 1) || in putParamData() [all …]
|
H A D | OStatement.cxx | 290 sal_Int32 index = sqlStatement.indexOf(::rtl::OUString::createFromAscii(" FOR UPDATE")); in lockIfNecessary() local 295 if (index > 0) in lockIfNecessary()
|
/trunk/main/connectivity/source/inc/ado/ |
H A D | ATable.hxx | 74 …virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const ::com::sun::star::uno::Reference<…
|
H A D | Aolewrap.hxx | 160 inline WrapT GetItem(sal_Int32 index) const in GetItem() 162 OSL_ENSURE(index >= 0 && index<GetItemCount(),"Wrong index for field!"); in GetItem() 165 if(SUCCEEDED(pInterface->get_Item(OLEVariant(index), &pT))) in GetItem() 170 inline WrapT GetItem(const OLEVariant& index) const in GetItem() 174 if(SUCCEEDED(pInterface->get_Item(index, &pT))) in GetItem()
|
/trunk/main/connectivity/source/inc/dbase/ |
H A D | DTable.hxx | 99 void alterColumn(sal_Int32 index, 156 …virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const ::com::sun::star::uno::Reference<…
|
/trunk/main/connectivity/source/inc/java/sql/ |
H A D | Array.hxx | 52 …equence< ::com::sun::star::uno::Any > SAL_CALL getArrayAtIndex( sal_Int32 index, sal_Int32 count, … 54 …om::sun::star::sdbc::XResultSet > SAL_CALL getResultSetAtIndex( sal_Int32 index, sal_Int32 count, …
|
/trunk/main/connectivity/source/inc/odbc/ |
H A D | OPreparedStatement.hxx | 83 void putParamData (sal_Int32 index) throw(::com::sun::star::sdbc::SQLException); 86 sal_Int32 getParamLength ( sal_Int32 index); 87 sal_Int8* getLengthBuf (sal_Int32 index); 88 sal_Int8* getDataBuf (sal_Int32 index); 89 sal_Int8* allocBindBuf ( sal_Int32 index, sal_Int32 bufLen);
|
/trunk/main/connectivity/source/resource/ |
H A D | conn_shared_res.src | 245 Text [ en-US ] = "Invalid descriptor index." ; 343 Text [ en-US ] = "Could not create index: invalid object descriptor." ; 378 …Text [ en-US ] = "The index could not be deleted. An unknown error while accessing the file system… 382 Text [ en-US ] = "The index could not be created. Only one column per index is allowed." ; 386 Text [ en-US ] = "The index could not be created. The values are not unique." ; 391 Text [ en-US ] = "The index could not be created. An unknown error appeared." ; 395 …Text [ en-US ] = "The index could not be created. The file '$filename$' is used by an other index.… 399 Text [ en-US ] = "The index could not be created. The size of the chosen column is too big." ;
|
/trunk/main/connectivity/source/sdbcx/ |
H A D | VCollection.cxx | 418 void SAL_CALL OCollection::dropByIndex( sal_Int32 index ) throw(SQLException, IndexOutOfBoundsExcep… in dropByIndex() argument 421 if(index <0 || index >= getCount()) in dropByIndex() 422 …throw IndexOutOfBoundsException(::rtl::OUString::valueOf(index),static_cast<XTypeProvider*>(this)); in dropByIndex() 424 dropImpl(index); in dropByIndex()
|
/trunk/main/cppu/source/typelib/ |
H A D | typelib.cxx | 1971 sal_Int32 index, sal_Int32 position) in createDerivedInterfaceMemberDescription() argument 2012 newMethod->nIndex = index; in createDerivedInterfaceMemberDescription() 2038 newAttribute->nIndex = index; in createDerivedInterfaceMemberDescription()
|
/trunk/main/cppu/source/uno/ |
H A D | cascade_mapping.cxx | 273 sal_Int32 index = rest.indexOf(':', 1); in getCascadeMapping() local 274 if (index == -1) in getCascadeMapping() 280 uno_envDcp += rest.copy(0, index); in getCascadeMapping() 286 sal_Int32 index = rest.indexOf(':', 1); in getCascadeMapping() local 287 if (index == -1) in getCascadeMapping() 293 uno_envDcp += rest.copy(0, index); in getCascadeMapping()
|
H A D | lbenv.cxx | 411 sal_Int32 index = pOEntry->find( pInterface, 1 ); in s_stub_defenv_revokeInterface() local 412 OSL_ASSERT( index > 0 ); in s_stub_defenv_revokeInterface() 413 if (index > 0) in s_stub_defenv_revokeInterface() 415 InterfaceEntry & entry = pOEntry->aInterfaces[ index ]; in s_stub_defenv_revokeInterface() 428 pOEntry->aInterfaces.begin() + index ); in s_stub_defenv_revokeInterface() 429 if (pOEntry->find( pInterface, index ) < 0) in s_stub_defenv_revokeInterface()
|