Lines Matching refs:sal_Int32

88 sal_Int32 lcl_getFileSize(SvStream& _rStream)  in lcl_getFileSize()
90 sal_Int32 nFileSize = 0; in lcl_getFileSize()
103 void lcl_CalcJulDate(sal_Int32& _nJulianDate,sal_Int32& _nJulianTime,const com::sun::star::util::Da… in lcl_CalcJulDate()
130 sal_Int32 ia = iy0 / 100; in lcl_CalcJulDate()
131 sal_Int32 ib = 2 - ia + (ia >> 2); in lcl_CalcJulDate()
135 _nJulianDate = (sal_Int32) ((365.25 * iy0) - 0.75) in lcl_CalcJulDate()
136 + (sal_Int32) (30.6001 * (im0 + 1) ) in lcl_CalcJulDate()
141 _nJulianDate = static_cast<sal_Int32>( ((365.25 * iy0) in lcl_CalcJulDate()
142 + (sal_Int32) (30.6001 * (im0 + 1)) in lcl_CalcJulDate()
146 _nJulianDate = (sal_Int32)( JD + 0.5); in lcl_CalcJulDate()
155 void lcl_CalDate(sal_Int32 _nJulianDate,sal_Int32 _nJulianTime,com::sun::star::util::DateTime& _rDa… in lcl_CalDate()
159 sal_Int32 ialp; in lcl_CalDate()
160 sal_Int32 ka = _nJulianDate; in lcl_CalDate()
163 ialp = (sal_Int32)( ((double) _nJulianDate - 1867216.25 ) / ( 36524.25 )); in lcl_CalDate()
166 sal_Int32 kb = ka + 1524; in lcl_CalDate()
167 sal_Int32 kc = (sal_Int32) ( ((double) kb - 122.1 ) / 365.25 ); in lcl_CalDate()
168 sal_Int32 kd = (sal_Int32) ((double) kc * 365.25); in lcl_CalDate()
169 sal_Int32 ke = (sal_Int32) ((double) ( kb - kd ) / 30.6001 ); in lcl_CalDate()
170 _rDateTime.Day = static_cast<sal_uInt16>(kb - kd - ((sal_Int32) ( (double) ke * 30.6001 ))); in lcl_CalDate()
327 const sal_Int32 nFieldCount = (m_aHeader.db_kopf - 1) / 32 - 1; in fillColumns()
342 sal_Int32 i = 0; in fillColumns()
356 sal_Int32 nPrecision = aDBFColumn.db_flng; in fillColumns()
357 sal_Int32 eType; in fillColumns()
831 sal_Int32 nLen = 0; in fetchRow()
832 sal_Int32 nType = 0; in fetchRow()
898 sal_Int32 nDate = 0,nTime = 0; in fetchRow()
919 sal_Int32 nValue = 0; in fetchRow()
954 for (sal_Int32 k = 0; k < nLen; k++) in fetchRow()
1206 const sal_Int32 nCount = xColumns->getCount(); in CreateFile()
1207 for(sal_Int32 i=0;i<nCount;++i) in CreateFile()
1254 sal_Int32 nMaxFieldLength = m_pConnection->getMetaData()->getMaxColumnNameLength(); in CreateFile()
1262 const sal_Int32 nCount = xColumns->getCount(); in CreateFile()
1263 for(sal_Int32 i=0;i<nCount;++i) in CreateFile()
1281 sal_Int32 nPrecision = 0; in CreateFile()
1283 sal_Int32 nScale = 0; in CreateFile()
1366 sal_Int32 nPrec = SvDbaseConverter::ConvertPrecisionToDbase(nPrecision,nScale); in CreateFile()
1483 sal_Int32 i = _pIndexes->getCount(); in Drop_Static()
1653 sal_Int32 nPos = 1; in DeleteRow()
1673 Reference<XPropertySet> ODbaseTable::isUniqueByColumnName(sal_Int32 _nColumnPos) in isUniqueByColumnName()
1687 for(sal_Int32 i=0;i<m_pIndexes->getCount();++i) in isUniqueByColumnName()
1714 sal_Int32 nByteOffset = 1; in UpdateBuffer()
1721 const sal_Int32 nColumnCount = m_pColumns->getCount(); in UpdateBuffer()
1730 sal_Int32 nPos = i; in UpdateBuffer()
1791 sal_Int32 nLen = 0; in UpdateBuffer()
1792 sal_Int32 nType = 0; in UpdateBuffer()
1793 sal_Int32 nScale = 0; in UpdateBuffer()
1832 sal_Int32 nPos = i; in UpdateBuffer()
1899 sal_Int32 nJulianDate = 0, nJulianTime = 0; in UpdateBuffer()
1936 sal_Int32 nValue = rRow.get()[nPos]->getValue(); in UpdateBuffer()
2219 void SAL_CALL ODbaseTable::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& de… in alterColumnByIndex()
2233 void ODbaseTable::alterColumn(sal_Int32 index, in alterColumn()
2265 sal_Int32 i=0; in alterColumn()
2434 for(sal_Int32 i=0;i < m_pColumns->getCount();++i) in addColumn()
2495 void ODbaseTable::dropColumn(sal_Int32 _nPos) in dropColumn()
2507 for(sal_Int32 i=0;i < m_pColumns->getCount();++i) in dropColumn()
2576 void ODbaseTable::copyData(ODbaseTable* _pNewTable,sal_Int32 _nPos) in copyData()
2579 sal_Int32 nPos = _nPos + 1; // +1 because we always have the bookmark clumn as well in copyData()
2592 if(_nPos && (_nPos < (sal_Int32)aRow->get().size())) in copyData()
2597 sal_Int32 nCurPos; in copyData()
2611 sal_Int32 nCount = 1; in copyData()
2654 …aseTable::seekRow(IResultSetHelper::Movement eCursorPosition, sal_Int32 nOffset, sal_Int32& nCurPo… in seekRow()
2681 m_nFilePos = (((sal_Int32)m_nFilePos) + nOffset < 0) ? 0L in seekRow()
2682 : (sal_uInt32)(((sal_Int32)m_nFilePos) + nOffset); in seekRow()
2690 if (m_nFilePos > (sal_Int32)nNumberOfRecords) in seekRow()
2691 m_nFilePos = (sal_Int32)nNumberOfRecords + 1; in seekRow()
2693 if (m_nFilePos == 0 || m_nFilePos == (sal_Int32)nNumberOfRecords + 1) in seekRow()
2700 sal_Int32 nPos = m_aHeader.db_kopf + (sal_Int32)(m_nFilePos-1) * nEntryLen; in seekRow()
2882 sal_Int32 ODbaseTable::getCurrentLastPos() const in getCurrentLastPos()