/aoo42x/main/sc/source/core/data/ |
H A D | compressedarray.cxx | 102 long nStart = 0; in Search() local 112 nStart = -1; in Search() 129 if (0 <= nStart && nStart <= nMaxAccess && 0 <= nEnd && nEnd <= nMaxAccess in SetValue() 305 if ((nStart == 0 || (nIndex > 0 && nStart == pData[nIndex-1].nEnd+1)) && in Remove() 379 A nS = nStart; in SumValuesContinuation() 401 A nS = nStart; in SumScaledValuesContinuation() 425 if (nStart > nEnd) in AndValue() 452 if (nStart > nEnd) in OrValue() 536 return nStart; in GetBitStateStart() 720 A nS = nStart; in SumCoupledArrayForCondition() [all …]
|
H A D | bcaslot.cxx | 572 nStart += nBcaSlotsRow; in ComputeNextSlot() 573 nOff = nStart; in ComputeNextSlot() 603 SCSIZE nOff = nStart; in StartListeningArea() 655 SCSIZE nOff = nStart; in EndListeningArea() 721 SCSIZE nStart, nEnd, nRowBreak; in AreaBroadcastInRange() local 723 SCSIZE nOff = nStart; in AreaBroadcastInRange() 745 SCSIZE nStart, nEnd, nRowBreak; in DelBroadcastAreasInRange() local 747 SCSIZE nOff = nStart; in DelBroadcastAreasInRange() 787 SCSIZE nOff = nStart; in UpdateBroadcastAreas() 832 SCSIZE nOff = nStart; in UpdateBroadcastAreas() [all …]
|
H A D | olinetab.cxx | 45 nStart ( nNewStart ), in ScOutlineEntry() 54 nStart ( rEntry.nStart ), in ScOutlineEntry() 68 SCCOLROW nNewPos = nStart + nDelta; in Move() 74 nStart = nNewPos; in Move() 89 nStart = nNewPos; in SetPosSize() 343 SCCOLROW nStart = pEntry->GetStart(); in RemoveSub() local 540 SCCOLROW nStart; in ExtendBlock() local 549 nStart = pEntry->GetStart(); in ExtendBlock() 554 if (nStart<rBlkStart) rBlkStart = nStart; in ExtendBlock() 724 nStart( 0 ), in ScSubOutlineIterator() [all …]
|
H A D | table6.cxx | 108 xub_StrLen nStart = 0; in SearchCell() local 115 xub_StrLen nTemp=nStart; nStart=nEnd; nEnd=nTemp; in SearchCell() 160 if ( nEnd < nStart || nEnd == STRING_MAXLEN ) in SearchCell() 166 String sFndStr = aString.Copy(nStart, nEnd-nStart+1); in SearchCell() 168 aString.Erase(nStart, nEnd-nStart+1); in SearchCell() 169 aString.Insert(sReplStr, nStart); in SearchCell() 173 aString.Erase(nStart, nEnd - nStart + 1); in SearchCell() 180 nEnd = nStart; in SearchCell() 181 nStart = 0; in SearchCell() 185 nStart = sal::static_int_cast<xub_StrLen>( nStart + sReplStr.Len() ); in SearchCell() [all …]
|
H A D | markdata.cxx | 441 SCCOLROW nStart = nMultiStart; in GetMarkColumnRanges() local 442 while (nStart <= nMultiEnd) in GetMarkColumnRanges() 444 while (nStart < nMultiEnd && !pMultiSel[nStart].HasMarks()) in GetMarkColumnRanges() 445 ++nStart; in GetMarkColumnRanges() 448 SCCOLROW nEnd = nStart; in GetMarkColumnRanges() 456 nStart = nEnd+1; in GetMarkColumnRanges() 459 nStart = nMultiEnd+1; in GetMarkColumnRanges() 510 while (nStart <= nMultiEnd) in GetMarkRowRanges() 512 while (nStart < nMultiEnd && !bRowMarked[nStart]) in GetMarkRowRanges() 513 ++nStart; in GetMarkRowRanges() [all …]
|
/aoo42x/main/editeng/source/editeng/ |
H A D | edtspell.cxx | 257 rWrong.nStart = rWrong.nStart + nNew; in TextInserted() 328 rWrong.nStart = rWrong.nStart - nDeleted; in TextDeleted() 348 rWrong.nStart = rWrong.nStart - nDeleted; in TextDeleted() 388 if ( ( rWrong.nStart == nStart ) && ( rWrong.nEnd == nEnd ) ) in HasWrong() 390 else if ( rWrong.nStart >= nStart ) in HasWrong() 401 if ( ( rWrong.nEnd >= nStart ) && ( rWrong.nStart < nEnd ) ) in HasAnyWrong() 415 if ( ( rWrong.nEnd > nStart ) && ( rWrong.nStart < nEnd ) ) in ClearWrongs() 446 if ( rWrong.nStart >= nStart ) in InsertWrong() 503 if(rCandA.nStart != rCandB.nStart in operator ==() 525 if ( ( rWrong.nStart <= rNextWrong.nStart ) in DbgIsBuggy() [all …]
|
H A D | editattr.hxx | 95 sal_uInt16 nStart; member in EditCharAttrib 103 sal_uInt16& GetStart() { return nStart; } in GetStart() 106 sal_uInt16 GetStart() const { return nStart; } in GetStart() 120 { return ( ( nStart <= nIndex ) && ( nEnd >= nIndex ) ); } in IsIn() 122 { return ( ( nStart < nIndex ) && ( nEnd > nIndex ) ); } in IsInside() 124 { return nStart == nEnd; } in IsEmpty() 135 DBG_ASSERT( nEnd >= nStart, "EditCharAttrib: nEnd < nStart!" ); in GetLen() 136 return nEnd-nStart; in GetLen() 142 nStart = nStart + nDiff; in MoveForward() 148 DBG_ASSERT( ((long)nStart - nDiff) >= 0, "EditCharAttrib: MoveBackward?!" ); in MoveBackward() [all …]
|
H A D | editdoc.cxx | 406 nStart = nEnd = 0; in EditLine() 424 nStart = r.nStart; in EditLine() 451 pL->nStart = nStart; in Clone() 466 if ( r1.nStart != r2.nStart ) in operator ==() 484 nStart = r.nStart; in operator =() 1742 if ( pAttr->GetStart() == nStart ) in RemoveAttribs() 1751 pAttr->GetEnd() = nStart; in RemoveAttribs() 1759 pAttr->GetEnd() = nStart; in RemoveAttribs() 1805 if ( nStart != nEnd ) in InsertAttrib() 1831 pAttr->GetEnd() = nStart; in InsertAttrib() [all …]
|
/aoo42x/main/formula/source/ui/dlg/ |
H A D | FormulaHelper.cxx | 157 _rArgs.push_back( rFormula.Copy( nStart, nEnd-nStart ) ); in FillArgStrings() 204 return nStart; in GetFunctionStart() 295 return nStart; in GetFunctionEnd() 307 nStart++; in GetFunctionEnd() 308 while ( (nStart < nStrLen) && rStr.GetChar(nStart) != '"' ) in GetFunctionEnd() 309 nStart++; in GetFunctionEnd() 343 return nStart; in GetFunctionEnd() 365 nStart++; in GetArgStart() 367 nStart++; in GetArgStart() 395 nStart++; in GetArgStart() [all …]
|
/aoo42x/main/sc/inc/ |
H A D | compressedarray.hxx | 106 const D& Insert( A nStart, size_t nCount ); 178 nStart = (nIndex > 0 ? pData[nIndex-1].nEnd + 1 : 0); in GetValue() 200 nStart = (nIndex > 0 ? pData[nIndex-1].nEnd + 1 : 0); in GetPrevValue() 239 A nStart, A nEnd ); 241 void NewLimits( A nStart, A nEnd ); 277 NewLimits( nStart, nEnd); in ScCompressedArrayIterator() 284 nIterStart = nStart; in NewLimits() 286 nIndex = rArray.Search( nStart); in NewLimits() 526 A GetLastAnyBitAccess( A nStart, 576 A nStart, A nEnd, [all …]
|
/aoo42x/main/sw/source/core/crsr/ |
H A D | findtxt.cxx | 63 const xub_StrLen nStart, in lcl_CleanStr() argument 76 xub_StrLen nSoftHyphen = nStart; in lcl_CleanStr() 283 nStart = rCntntIdx.GetIndex(); in Find() 298 nEnde = nStart; in Find() 299 nStart = swap; in Find() 321 nEnde = nStart; in Find() 322 nStart = swap; in Find() 498 if( !bSrchForward ) { n = nStart; nStart = nEnde; nEnde = n; } in DoSearch() 504 nStart = nNew; in DoSearch() 512 if( !bSrchForward ) { n = nStart; nStart = nEnde; nEnde = n; } in DoSearch() [all …]
|
/aoo42x/main/unotools/source/config/ |
H A D | configpathes.cxx | 49 sal_Int32 nStart = 0; in lcl_resolveCharEntities() local 66 aResult.append(aLocalString.copy(nStart,nEscapePos-nStart)).append(ch); in lcl_resolveCharEntities() 89 sal_Int32 nStart,nEnd; in splitLastFromConfigurationPath() local 109 nStart = nPos + 1; in splitLastFromConfigurationPath() 116 nStart = nPos + 1; in splitLastFromConfigurationPath() 135 nStart = nPos + 1; in splitLastFromConfigurationPath() 139 nStart < nEnd && in splitLastFromConfigurationPath() 145 _rsLocalName = _sInPath.copy(nStart, nEnd-nStart); in splitLastFromConfigurationPath() 168 ++nStart; in extractFirstFromConfigurationPath() 181 nStart = 0; in extractFirstFromConfigurationPath() [all …]
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docruby.cxx | 226 *pHt->GetAnyEnd() > nStart ) in _SelectNextRubyChars() 233 nStart = *pAttr->GetStart(); in _SelectNextRubyChars() 234 pPos->nContent = nStart; in _SelectNextRubyChars() 241 if( !bHasMark && nStart && ( !pAttr || nStart != *pAttr->GetStart()) ) in _SelectNextRubyChars() 245 *pTxt, nStart, in _SelectNextRubyChars() 251 nStart = (xub_StrLen)nWordStt; in _SelectNextRubyChars() 252 pPos->nContent = nStart; in _SelectNextRubyChars() 259 while( nStart < nEnd ) in _SelectNextRubyChars() 263 pPos->nContent = nStart; in _SelectNextRubyChars() 337 *pTxt, nStart, in _SelectNextRubyChars() [all …]
|
/aoo42x/main/sc/source/ui/view/ |
H A D | colrowba.cxx | 132 SCCOL nStart = 0; in SetEntrySize() local 135 while (nStart<MAXCOL && !rMark.IsColumnMarked(nStart)) in SetEntrySize() 136 ++nStart; in SetEntrySize() 147 nStart = nEnd+1; in SetEntrySize() 150 nStart = MAXCOL+1; in SetEntrySize() 167 nRange[0] = nStart; in HideEntries() 299 SCROW nStart = 0; in SetEntrySize() local 302 while (nStart<MAXROW && !rMark.IsRowMarked(nStart)) in SetEntrySize() 303 ++nStart; in SetEntrySize() 314 nStart = nEnd+1; in SetEntrySize() [all …]
|
H A D | olinewin.cxx | 119 long nStart = mnMainFirstPos; in ScrollPixel() local 125 nStart -= nDiff; in ScrollPixel() 132 nInvStart = nStart; in ScrollPixel() 133 nInvEnd = nStart + nDiff; in ScrollPixel() 136 ScrollRel( nDiff, nStart, nEnd ); in ScrollPixel() 259 long nStart = SC_OL_POSOFFSET; in GetLevelFromPos() local 286 SCCOLROW nStart = pEntry->GetStart(); in GetEntryPos() local 293 rnStartPos = GetColRowPos( nStart ); in GetEntryPos() 296 bool bHidden = IsHidden( nStart ); in GetEntryPos() 372 SCCOLROW nStart, nEnd; in IsButtonVisible() local [all …]
|
/aoo42x/main/svl/source/items/ |
H A D | itempool.cxx | 152 nStart(nStartWhich), in SfxItemPool() 176 pImp->nVerStart = nStart; in SfxItemPool() 213 nStart(rPool.nStart), in SfxItemPool() 238 pImp->nStoringStart = nStart; in SfxItemPool() 1064 sal_uInt16 nCount = nEnd - nStart + 1; in GetWhich() 1067 return nOfs + nStart; in GetWhich() 1074 return nOfs + nStart; in GetWhich() 1102 return pSlotIds[nWhich - nStart]; in GetSlotId() 1118 return nOfs + nStart; in GetTrueWhich() 1125 return nOfs + nStart; in GetTrueWhich() [all …]
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | olinefun.cxx | 81 nStartRow = nStart; in lcl_PaintWidthHeight() 364 SCCOLROW nStart, nEnd; in SelectLevel() local 365 pArray->GetRange( nStart, nEnd ); in SelectLevel() 467 SCCOLROW nStart; in ShowMarkedOutlines() local 497 nStart = pEntry->GetStart(); in ShowMarkedOutlines() 503 if (nStart<nMin) nMin=nStart; in ShowMarkedOutlines() 518 nStart = pEntry->GetStart(); in ShowMarkedOutlines() 524 if (nStart<nMin) nMin=nStart; in ShowMarkedOutlines() 578 SCCOLROW nStart; in HideMarkedOutlines() local 617 nStart = pEntry->GetStart(); in HideMarkedOutlines() [all …]
|
/aoo42x/main/vcl/win/source/gdi/ |
H A D | winlayout.cxx | 639 if( mpGlyphAdvances[nStart-1] != mpGlyphOrigAdvs[nStart-1] ) 908 if( nStart > mnGlyphCount ) 926 if( nStart > 0 ) 1784 --nStart; 1822 nStart = nMinGlyphPos; 1852 nXOffset += mpJustifications[ nStart ] - mpGlyphAdvances[ nStart ]; 1987 ++nStart; 2013 --nStart; 2015 if( (nStart >= pVI->mnMinGlyphPos) && (nStart < pVI->mnEndGlyphPos) ) 2068 --nStart; [all …]
|
/aoo42x/main/sw/source/core/bastyp/ |
H A D | bparr.cxx | 109 if( nStart < nEnd ) in ForEach() 114 sal_uInt16 nElem = sal_uInt16( nStart - p->nStart ); in ForEach() 143 return p->pData[ idx - p->nStart ]; in operator []() 194 if( p->nStart > pos ) in Index2Block() 214 p->nStart = idx; in UpdIndex() 247 p->nStart = p->nEnd = 0; in InsBlock() 310 q->nStart--; in Insert() 348 pos -= p->nStart; in Insert() 380 pos -= p->nStart; in Remove() 433 p->nStart = 0; in Remove() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | redlnitr.cxx | 238 nStart = STRING_LEN; in _Seek() 289 nStart = STRING_LEN; in _Seek() 364 if( bOn || !nStart ) in _GetNextRedln() 369 else if( nStart < nNext ) in _GetNextRedln() 370 nNext = nStart; in _GetNextRedln() 403 if( nChkEnd < nStart ) in CheckLine() 412 nStart = nOldStart; in CheckLine() 482 if( nPos < nStart ) in Next() 484 if( nNext > nStart ) in Next() 485 nNext = nStart; in Next() [all …]
|
/aoo42x/main/tools/source/communi/ |
H A D | geninfo.cxx | 188 if ( nStart == nEnd ) { in Search() 189 rPos = nStart; in Search() 192 return GetObject( nStart ); // found !!! in Search() 201 sal_uIntPtr nActPos = nStart + (( nEnd - nStart ) / 2 ); in Search() 275 if ( nStart == 0 && Count()-1 == nEnd ) in InsertSorted() 305 sal_uIntPtr nActPos = nStart + (( nEnd - nStart ) / 2 ); in InsertSorted() 315 if ( nStart == nEnd ) { in InsertSorted() 318 Insert( pInfo, nStart ); in InsertSorted() 319 return nStart; in InsertSorted() 322 Insert( pInfo, nStart + 1 ); in InsertSorted() [all …]
|
/aoo42x/main/sw/source/core/unocore/ |
H A D | unotextmarkup.cxx | 122 ::sal_Int32 nStart, in commitStringMarkup() argument 197 nStart = aStartPos.mnSubPos; in commitStringMarkup() 216 nStart = aStartPos.mnPos; in commitStringMarkup() 223 nStart = aStartPos.mnPos; in commitStringMarkup() 249 ++nStart; in commitStringMarkup() 266 if( nEnd > nStart ) in commitStringMarkup() 291 ::sal_Int32 nStart, in lcl_commitGrammarMarkUp() argument 323 nStart = aStartPos.mnPos; in lcl_commitGrammarMarkUp() 330 nStart = aStartPos.mnPos; in lcl_commitGrammarMarkUp() 348 ++nStart; in lcl_commitGrammarMarkUp() [all …]
|
/aoo42x/main/ucb/source/ucp/webdav/ |
H A D | DAVProperties.cxx | 103 sal_Int32 nStart = RTL_CONSTASCII_LENGTH( "<prop:" ); in createCurlPropName() local 104 sal_Int32 nLen = aFullName.indexOf( ' ' ) - nStart; in createCurlPropName() 105 rName.name = strdup( aFullName.copy( nStart, nLen ).getStr() ); in createCurlPropName() 107 nStart = aFullName.indexOf( '=', nStart + nLen ) + 2; // after =" in createCurlPropName() 109 rName.nspace = strdup( aFullName.copy( nStart, nLen ).getStr() ); in createCurlPropName() 205 sal_Int32 nStart = RTL_CONSTASCII_LENGTH( "<prop:" ); in isUCBSpecialProperty() local 206 sal_Int32 nEnd = rFullName.indexOf( sal_Unicode( ' ' ), nStart ); in isUCBSpecialProperty() 210 rtl::OUString sPropName = rFullName.copy( nStart, nEnd - nStart ); in isUCBSpecialProperty() 218 nStart = nEnd + RTL_CONSTASCII_LENGTH( "xmlns:prop=\"" ); in isUCBSpecialProperty() 219 nEnd = rFullName.indexOf( sal_Unicode( '"' ), nStart ); in isUCBSpecialProperty() [all …]
|
/aoo42x/main/sax/source/expatwrap/ |
H A D | xml2utf.cxx | 153 int nStart = str.indexOf( "\"" , nFound ); in removeEncoding() local 154 if( nStart < 0 || str.indexOf( "'" , nFound ) < nStart ) in removeEncoding() 156 nStart = str.indexOf( "'" , nFound ); in removeEncoding() 157 nStop = str.indexOf( "'" , nStart +1 ); in removeEncoding() 161 nStop = str.indexOf( "\"" , nStart +1); in removeEncoding() 164 if( nStart >= 0 && nStop >= 0 && nStart+1 < nStop ) in removeEncoding() 250 if( nStart < 0 || str.indexOf( "'" , nFound ) < nStart ) in scanForEncoding() 252 nStart = str.indexOf( "'" , nFound ); in scanForEncoding() 253 nStop = str.indexOf( "'" , nStart +1 ); in scanForEncoding() 259 if( nStart >= 0 && nStop >= 0 && nStart+1 < nStop ) in scanForEncoding() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | graph.cxx | 139 sal_uInt16 nStart = 0; in ImplDrawDefault() local 142 while( nStart < pText->Len() && pText->GetChar( nStart ) == ' ' ) in ImplDrawDefault() 143 nStart++; in ImplDrawDefault() 144 while( nStart+nLen < pText->Len() && pText->GetChar( nStart+nLen ) != ' ' ) in ImplDrawDefault() 146 while( nStart < pText->Len() && nLines-- ) in ImplDrawDefault() 151 … while ( nStart+nNext < pText->Len() && pText->GetChar( nStart+nNext ) == ' ' ) in ImplDrawDefault() 153 … while ( nStart+nNext < pText->Len() && pText->GetChar( nStart+nNext ) != ' ' ) in ImplDrawDefault() 160 while ( nStart+nNext < pText->Len() ); in ImplDrawDefault() 169 nStart = sal::static_int_cast<sal_uInt16>(nStart + nLen); in ImplDrawDefault() 171 while( nStart < pText->Len() && pText->GetChar( nStart ) == ' ' ) in ImplDrawDefault() [all …]
|