/trunk/main/connectivity/source/drivers/dbase/ |
H A D | dindexnode.cxx | 81 ,rIndex(rInd) in ONDXPage() 103 if (rIndex.UseCollector()) in QueryDelete() 119 rIndex.Collect(this); in QueryDelete() 167 rIndex.m_aCurLeaf = this; in Find() 168 rIndex.m_nCurNode = i - 1; in Find() 174 rIndex.m_aCurLeaf = this; in Find() 261 if (rIndex.isUnique()) in Insert() 274 rIndex.m_nCurNode = rIndex.m_aCurLeaf->Count() - 1; in Insert() 503 if (rIndex.isUnique()) in Split() 569 rIndex.m_aRoot = this; in Merge() [all …]
|
H A D | DNoException.cxx | 275 if (rIndex.getHeader().db_keytype) in Read() 284 sal_uInt16 nLen = rIndex.getHeader().db_keylen; in Read() 307 const ODbaseIndex& rIndex = rPage.GetIndex(); in Write() local 308 if (!rIndex.isUnique() || rPage.IsLeaf()) in Write() 313 if (rIndex.getHeader().db_keytype) // double in Write() 498 if(i < rPage.rIndex.getHeader().db_maxkeys) in operator <<() 528 rNode.GetChild(&rIndex, this); in PrintPage() 534 else if (rIndex.getHeader().db_keytype) in PrintPage() 547 GetChild(&rIndex)->PrintPage(); in PrintPage() 551 rNode.GetChild(&rIndex,this)->PrintPage(); in PrintPage() [all …]
|
H A D | DIndex.cxx | 356 SvStream& connectivity::dbase::operator >> (SvStream &rStream, ODbaseIndex& rIndex) in operator >>() argument 359 rStream.Read(&rIndex.m_aHeader,PAGE_SIZE); in operator >>() 368 rIndex.m_nRootPage = rIndex.m_aHeader.db_rootpage; in operator >>() 369 rIndex.m_nPageCount = rIndex.m_aHeader.db_pagecount; in operator >>() 373 SvStream& connectivity::dbase::operator << (SvStream &rStream, ODbaseIndex& rIndex) in operator <<() argument 381 …OSL_VERIFY_EQUALS( rStream.Write(&rIndex.m_aHeader,PAGE_SIZE), PAGE_SIZE, "Write not successful: W… in operator <<()
|
/trunk/main/sw/source/core/bastyp/ |
H A D | index.cxx | 508 xub_StrLen SwIndex::operator+=( const SwIndex & rIndex ) in operator +=() argument 511 return ChgValue( *this, nIndex + rIndex.nIndex ).nIndex; in operator +=() 524 xub_StrLen SwIndex::operator-=( const SwIndex & rIndex ) in operator -=() argument 526 ASSERT_ID( nIndex >= rIndex.nIndex, ERR_OUTOFSCOPE ); in operator -=() 527 return ChgValue( *this, nIndex - rIndex.nIndex ).nIndex; in operator -=() 540 sal_Bool SwIndex::operator<( const SwIndex & rIndex ) const in operator <() 543 return nIndex < rIndex.nIndex; in operator <() 559 return nIndex <= rIndex.nIndex; in operator <=() 572 sal_Bool SwIndex::operator>( const SwIndex & rIndex ) const in operator >() 575 return nIndex > rIndex.nIndex; in operator >() [all …]
|
/trunk/main/sw/inc/ |
H A D | index.hxx | 179 inline xub_StrLen SwIndex::operator+=( const SwIndex& rIndex ) in operator +=() argument 181 return ChgValue( *this, nIndex + rIndex.nIndex ).nIndex; in operator +=() 183 inline xub_StrLen SwIndex::operator-=( const SwIndex& rIndex ) in operator -=() argument 185 return ChgValue( *this, nIndex - rIndex.nIndex ).nIndex; in operator -=() 188 inline sal_Bool SwIndex::operator<( const SwIndex& rIndex ) const in operator <() 190 return nIndex < rIndex.nIndex; in operator <() 192 inline sal_Bool SwIndex::operator<=( const SwIndex& rIndex ) const in operator <=() 194 return nIndex <= rIndex.nIndex; in operator <=() 196 inline sal_Bool SwIndex::operator>( const SwIndex& rIndex ) const in operator >() 198 return nIndex > rIndex.nIndex; in operator >() [all …]
|
H A D | ndindex.hxx | 168 inline sal_Bool SwNodeIndex::operator<( const SwNodeIndex& rIndex ) const in operator <() 170 return pNd->GetIndex() < rIndex.GetIndex(); in operator <() 172 inline sal_Bool SwNodeIndex::operator<=( const SwNodeIndex& rIndex ) const in operator <=() 174 return pNd->GetIndex() <= rIndex.GetIndex(); in operator <=() 176 inline sal_Bool SwNodeIndex::operator>( const SwNodeIndex& rIndex ) const in operator >() 178 return pNd->GetIndex() > rIndex.GetIndex(); in operator >() 180 inline sal_Bool SwNodeIndex::operator>=( const SwNodeIndex& rIndex ) const in operator >=() 182 return pNd->GetIndex() >= rIndex.GetIndex(); in operator >=() 224 inline sal_uLong SwNodeIndex::operator+=( const SwNodeIndex& rIndex ) in operator +=() argument 226 return ( pNd = GetNodes()[ pNd->GetIndex() + rIndex.GetIndex() ] )->GetIndex(); in operator +=() [all …]
|
/trunk/main/unotools/source/misc/ |
H A D | fontdefs.cxx | 430 String GetNextFontToken( const String& rTokenStr, xub_StrLen& rIndex ) in GetNextFontToken() argument 434 if( rIndex >= nStringLen ) in GetNextFontToken() 436 rIndex = STRING_NOTFOUND; in GetNextFontToken() 441 const sal_Unicode* pStr = rTokenStr.GetBuffer() + rIndex; in GetNextFontToken() 447 xub_StrLen nTokenStart = rIndex; in GetNextFontToken() 452 nTokenLen = rIndex - nTokenStart; in GetNextFontToken() 453 ++rIndex; // skip over token separator in GetNextFontToken() 458 rIndex = STRING_NOTFOUND; in GetNextFontToken() 474 for( xub_StrLen i = 0; (i < nToken) && (rIndex != STRING_NOTFOUND); ++i ) in GetFontToken() 475 GetNextFontToken( rTokenStr, rIndex ); in GetFontToken() [all …]
|
H A D | fontcvt.cxx | 1064 String ConvertString(String &rString, xub_StrLen& rIndex); 1269 xub_StrLen& rIndex) in ConvertString() argument 1277 if (rIndex >= nLen) in ConvertString() 1282 aPossibilities.reserve(nLen - rIndex); in ConvertString() 1283 xub_StrLen nStart = rIndex; in ConvertString() 1286 Result aResult = maMagicMap.equal_range(rString.GetChar(rIndex)); in ConvertString() 1305 ++rIndex; in ConvertString() 1306 }while(rIndex < nLen); in ConvertString()
|
/trunk/main/vbahelper/inc/vbahelper/ |
H A D | collectionbase.hxx | 150 const css::uno::Any& rIndex ) throw (css::uno::RuntimeException); 172 … css::uno::Any getAnyItemOrThis( const css::uno::Any& rIndex ) throw (css::uno::RuntimeException); 181 …inline css::uno::Reference< XType > getAnyItem( const css::uno::Any& rIndex ) throw (css::uno::Run… in getAnyItem() argument 182 …{ css::uno::Any aRet; if( rIndex.hasValue() ) aRet = getAnyItemOrThis( rIndex ); return css::uno::… in getAnyItem() 197 …reateCollectionItem( const css::uno::Any& rElement, const css::uno::Any& rIndex ) throw (css::uno:…
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbaworksheet.hxx | 140 …virtual css::uno::Any SAL_CALL Buttons( const css::uno::Any& rIndex ) throw (css::uno::RuntimeExce… 141 …virtual css::uno::Any SAL_CALL CheckBoxes( const css::uno::Any& rIndex ) throw (css::uno::RuntimeE… 142 …virtual css::uno::Any SAL_CALL DropDowns( const css::uno::Any& rIndex ) throw (css::uno::RuntimeEx… 143 …virtual css::uno::Any SAL_CALL GroupBoxes( const css::uno::Any& rIndex ) throw (css::uno::RuntimeE… 144 …virtual css::uno::Any SAL_CALL Labels( const css::uno::Any& rIndex ) throw (css::uno::RuntimeExcep… 145 …virtual css::uno::Any SAL_CALL ListBoxes( const css::uno::Any& rIndex ) throw (css::uno::RuntimeEx… 146 …virtual css::uno::Any SAL_CALL OptionButtons( const css::uno::Any& rIndex ) throw (css::uno::Runti… 147 …virtual css::uno::Any SAL_CALL ScrollBars( const css::uno::Any& rIndex ) throw (css::uno::RuntimeE… 148 …virtual css::uno::Any SAL_CALL Spinners( const css::uno::Any& rIndex ) throw (css::uno::RuntimeExc…
|
H A D | vbasheetobjects.cxx | 107 uno::Any getItemByStringIndex( const OUString& rIndex ) throw (uno::RuntimeException); 204 uno::Any ScVbaObjectContainer::getItemByStringIndex( const OUString& rIndex ) throw (uno::RuntimeEx… in getItemByStringIndex() argument 207 if( rIndex == implGetShapeName( *aIt ) ) in getItemByStringIndex() 319 uno::Any ScVbaSheetObjectsBase::getItemByStringIndex( const OUString& rIndex ) throw (uno::RuntimeE… in getItemByStringIndex() argument 321 return mxContainer->getItemByStringIndex( rIndex ); in getItemByStringIndex()
|
/trunk/main/store/source/ |
H A D | stortree.cxx | 417 sal_uInt16 & rIndex, // [out] in find_lookup() argument 461 rIndex = rPage.find(entry); in find_lookup() 462 if (!(rIndex < rPage.usageCount())) in find_lookup() 466 T::CompareResult eResult = entry.compare(rPage.m_pData[rIndex]); in find_lookup() 482 sal_uInt16 & rIndex, // [out] in find_insert() argument 562 rIndex = rPage.find(entry); in find_insert() 563 if (rIndex < rPage.usageCount()) in find_insert() 566 T::CompareResult result = entry.compare (rPage.m_pData[rIndex]); in find_insert()
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | collectionbase.cxx | 257 uno::Any CollectionBase::createCollectionItem( const uno::Any& rElement, const uno::Any& rIndex ) t… in createCollectionItem() argument 259 uno::Any aItem = mbConvertOnDemand ? implCreateCollectionItem( rElement, rIndex ) : rElement; in createCollectionItem() 309 uno::Any CollectionBase::getAnyItemOrThis( const uno::Any& rIndex ) throw (uno::RuntimeException) in getAnyItemOrThis() argument 311 if( !rIndex.hasValue() ) in getAnyItemOrThis() 313 if( rIndex.has< ::rtl::OUString >() ) in getAnyItemOrThis() 314 return getItemByName( rIndex.get< ::rtl::OUString >() ); in getAnyItemOrThis() 316 return getItemByIndex( extractIntFromAny( rIndex ) ); in getAnyItemOrThis()
|
/trunk/main/editeng/source/accessibility/ |
H A D | AccessibleStaticTextBase.cxx | 197 sal_Bool RemoveLineBreakCount( sal_Int32& rIndex ); 483 sal_Bool AccessibleStaticTextBase_Impl::RemoveLineBreakCount( sal_Int32& rIndex ) in RemoveLineBreakCount() argument 490 if( nCount == 0 && rIndex == 0) return sal_False; in RemoveLineBreakCount() 500 if ( rIndex == nLineBreakPos ) in RemoveLineBreakCount() 502 rIndex -= (++nLineBreakCount);//(++nLineBreakCount); in RemoveLineBreakCount() 503 if ( rIndex < 0) in RemoveLineBreakCount() 505 rIndex = 0; in RemoveLineBreakCount() 511 rIndex++; in RemoveLineBreakCount() 519 else if ( rIndex < nLineBreakPos ) in RemoveLineBreakCount() 521 rIndex -= nLineBreakCount; in RemoveLineBreakCount()
|
/trunk/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 571 sal_Bool RangeNameBufferWK3::FindRel( const String& rRef, sal_uInt16& rIndex ) in FindRel() argument 581 rIndex = pFind->nRelInd; in FindRel() 591 sal_Bool RangeNameBufferWK3::FindAbs( const String& rRef, sal_uInt16& rIndex ) in FindAbs() argument 604 rIndex = pFind->nAbsInd; in FindAbs() 627 rIndex = pFind->nAbsInd = nIntCount; in FindAbs() 628 pData->SetIndex( rIndex ); in FindAbs()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbadocument.cxx | 143 SwVbaDocument::Bookmarks( const uno::Any& rIndex ) throw ( uno::RuntimeException ) in Bookmarks() argument 148 if ( rIndex.getValueTypeClass() == uno::TypeClass_VOID ) in Bookmarks() 151 return uno::Any( xBookmarksVba->Item( rIndex, uno::Any() ) ); in Bookmarks() 155 SwVbaDocument::Variables( const uno::Any& rIndex ) throw ( uno::RuntimeException ) in Variables() argument 162 if ( rIndex.getValueTypeClass() == uno::TypeClass_VOID ) in Variables() 165 return uno::Any( xVariables->Item( rIndex, uno::Any() ) ); in Variables()
|
H A D | vbadocument.hxx | 52 …virtual css::uno::Any SAL_CALL Bookmarks( const css::uno::Any& rIndex ) throw ( css::uno::RuntimeE… 53 …virtual css::uno::Any SAL_CALL Variables( const css::uno::Any& rIndex ) throw ( css::uno::RuntimeE… 56 …virtual css::uno::Any SAL_CALL Paragraphs( const css::uno::Any& rIndex ) throw ( css::uno::Runtime… 57 …virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& rIndex ) throw ( css::uno::RuntimeExce…
|
/trunk/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1286 void SwNodes::Delete(const SwNodeIndex &rIndex, sal_uLong nNodes) in Delete() argument 1291 sal_uLong nCnt = Count() - rIndex.GetIndex() - 1; in Delete() 1297 SwNodeRange aRg( rIndex, 0, rIndex, nCnt-1 ); in Delete() 1997 SwDoc* pDoc = rIndex.GetNode().GetDoc(); in _CopyNodes() 2000 if( rIndex == 0 || in _CopyNodes() 2001 ( (pAktNode = &rIndex.GetNode())->GetStartNode() && in _CopyNodes() 2039 if( &rIndex.GetNodes() == &aRg.aStart.GetNodes() && in _CopyNodes() 2040 rIndex.GetIndex() >= aRg.aStart.GetIndex() && in _CopyNodes() 2041 rIndex.GetIndex() < aRg.aEnd.GetIndex() ) in _CopyNodes() 2044 SwNodeIndex aInsPos( rIndex ); in _CopyNodes() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 4304 while (rIndex > 0 && rMat.IsValue(rIndex-1) && in lcl_GetLastMatch() 4306 --rIndex; in lcl_GetLastMatch() 4308 while (rIndex < nMatCount-1 && rMat.IsValue(rIndex+1) && in lcl_GetLastMatch() 4310 ++rIndex; in lcl_GetLastMatch() 4316 while (rIndex > 0 && rMat.IsEmptyPath(rIndex-1)) in lcl_GetLastMatch() 4317 --rIndex; in lcl_GetLastMatch() 4319 while (rIndex < nMatCount-1 && rMat.IsEmptyPath(rIndex+1)) in lcl_GetLastMatch() 4325 while (rIndex > 0 && rMat.IsEmpty(rIndex-1)) in lcl_GetLastMatch() 4328 while (rIndex < nMatCount-1 && rMat.IsEmpty(rIndex+1)) in lcl_GetLastMatch() 4335 while (rIndex > 0 && rMat.IsString(rIndex-1) && in lcl_GetLastMatch() [all …]
|
H A D | userlist.cxx | 96 sal_Bool ScUserListData::GetSubIndex(const String& rSubStr, sal_uInt16& rIndex) const in GetSubIndex() 102 rIndex = i; in GetSubIndex() 111 rIndex = i; in GetSubIndex()
|
/trunk/main/vcl/source/window/ |
H A D | dlgctrl.cxx | 305 static Window* ImplFindDlgCtrlWindow( Window* pParent, Window* pWindow, sal_uInt16& rIndex, in ImplFindDlgCtrlWindow() argument 361 rIndex = i; in ImplFindDlgCtrlWindow() 403 static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, xub_Unicode cCharCode, in ImplFindAccelWindow() argument 406 DBG_ASSERT( (rIndex >= nFormStart) && (rIndex <= nFormEnd), in ImplFindAccelWindow() 410 sal_uInt16 nStart = rIndex; in ImplFindAccelWindow() 411 sal_uInt16 i = rIndex; in ImplFindAccelWindow() 442 rIndex = i; in ImplFindAccelWindow()
|
/trunk/main/connectivity/source/inc/dbase/ |
H A D | dindexnode.hxx | 129 ODbaseIndex& rIndex; member in connectivity::dbase::ONDXPage 165 ODbaseIndex& GetIndex() {return rIndex;} in GetIndex() 166 const ODbaseIndex& GetIndex() const {return rIndex;} in GetIndex() 177 ONDXPage(ODbaseIndex& rIndex, sal_uInt32 nPos, ONDXPage* = NULL);
|
/trunk/main/tools/source/string/ |
H A D | strimp.cxx | 1878 STRING STRING::GetToken( xub_StrLen nToken, STRCODE cTok, xub_StrLen& rIndex ) const in GetToken() 1885 xub_StrLen nFirstChar = rIndex; in GetToken() 1913 rIndex = i+1; in GetToken() 1915 rIndex = STRING_NOTFOUND; in GetToken() 1920 rIndex = STRING_NOTFOUND; in GetToken() 1984 STRCODE cTok, xub_StrLen& rIndex ) const in GetQuotedToken() 1997 xub_StrLen nFirstChar = rIndex; in GetQuotedToken() 2048 rIndex = i+1; in GetQuotedToken() 2050 rIndex = STRING_NOTFOUND; in GetQuotedToken() 2055 rIndex = STRING_NOTFOUND; in GetQuotedToken()
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbaframe.cxx | 87 uno::Any SAL_CALL ScVbaFrame::Controls( const uno::Any& rIndex ) throw (uno::RuntimeException) in Controls() argument 95 if( rIndex.hasValue() ) in Controls() 96 return uno::Any( xControls->Item( rIndex, uno::Any() ) ); in Controls()
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap3.cxx | 3212 long nColors, long nPixels, long& rIndex ) in ImplMedianCut() argument 3231 rPal[ (sal_uInt16) rIndex++ ] = aCol; in ImplMedianCut() 3261 rPal[ (sal_uInt16) rIndex++ ] = aCol; in ImplMedianCut() 3283 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG2, nB1, nB, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut() 3288 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG2, nB1, nB - 1, nColors >> 1, nPixOld, rIndex ); in ImplMedianCut() 3289 … ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG2, nB, nB2, nColors >> 1, nPixels - nPixOld, rIndex ); in ImplMedianCut() 3306 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG, nB1, nB2, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut() 3311 ImplMedianCut( pBuf, rPal, nR1, nR2, nG1, nG - 1, nB1, nB2, nColors >> 1, nPixOld, rIndex ); in ImplMedianCut() 3312 … ImplMedianCut( pBuf, rPal, nR1, nR2, nG, nG2, nB1, nB2, nColors >> 1, nPixels - nPixOld, rIndex ); in ImplMedianCut() 3329 ImplMedianCut( pBuf, rPal, nR1, nR, nG1, nG2, nB1, nB2, nColors >> 1, nPixNew, rIndex ); in ImplMedianCut() [all …]
|