/aoo42x/main/sfx2/inc/sfx2/ |
H A D | minarray.hxx | 204 for ( sal_uInt16 n = nPos; n < (nPos+nLen); ++n ) \ 225 if ( nPos > 0 ) \ 228 memcpy(pNewData+nPos, pData+nPos+nLen, (nNewUsed-nPos) * sizeof(T) ); \ 239 memmove(pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen) * sizeof(T));\ 302 memmove(pData+nPos+nLen-1, pData+nPos-1, sizeof(T) * (nUsed-nPos)); \ 326 void*& GetObject( sal_uInt16 nPos ) { return operator[](nPos); } in GetObject() argument 369 T& GetObject( sal_uInt16 nPos ) { return operator[](nPos); } \ 408 char& GetObject( sal_uInt16 nPos ) { return operator[](nPos); } in GetObject() argument 437 T& GetObject( sal_uInt16 nPos ) { return operator[](nPos); } \ 473 short& GetObject( sal_uInt16 nPos ) { return operator[](nPos); } in GetObject() argument [all …]
|
/aoo42x/main/svl/source/numbers/ |
H A D | zforfind.cxx | 171 for ( nPos = 0, nLen = rStr.Len(); nPos < nLen; ++nPos ) in TransformInput() 482 nPos = nPos + rWhat.Len(); in SkipString() 522 nPos = nPos + rSep.Len(); in GetThousandSep() 590 nPos = nPos + aSepShortened.Len(); in GetMonth() 658 nPos = nPos + aUpperCurrSymbol.Len(); in GetCurrency() 671 nPos = nPos + aSymbol.Len(); in GetCurrency() 707 nPos = nPos + pLoc->getTimeAM().Len(); in GetTimeAmPm() 713 nPos = nPos + pLoc->getTimePM().Len(); in GetTimeAmPm() 736 nPos = nPos + rSep.Len(); in GetDecSep() 754 nPos = nPos + rSep.Len(); in GetTime100SecSep() [all …]
|
H A D | zforscan.cxx | 663 nPos = nPos + sSymbol.Len(); in Next_Symbol() 789 nPos = nPos + nLen; in Next_Symbol() 951 nPos = nPos + sStrArray[i].Len(); in SkipStrings() 1530 nPos = nPos + rStr.Len(); in FinalScan() 1650 nPos = nPos + rStr.Len(); in FinalScan() 1673 nPos = nPos + rStr.Len(); in FinalScan() 1826 nPos = nPos + rStr.Len(); in FinalScan() 2027 nPos = nPos + rStr.Len(); in FinalScan() 2143 nPos = nPos + rStr.Len(); in FinalScan() 2321 nPos = nPos + rStr.Len(); in FinalScan() [all …]
|
/aoo42x/main/svgio/source/svgreader/ |
H A D | svgtools.cxx | 302 while(nPos < nLen && rChar == rCandidate[nPos]) in skip_char() 304 nPos++; in skip_char() 310 while(nPos < nLen && (rCharA == rCandidate[nPos] || rCharB == rCandidate[nPos])) in skip_char() 312 nPos++; in skip_char() 318 if(nPos < nLen) in copySign() 325 nPos++; in copySign() 343 nPos++; in copyNumber() 363 nPos++; in copyHex() 383 nPos++; in copyString() 390 while(nPos < nLen && rLimiter != rCandidate[nPos]) in copyToLimiter() [all …]
|
/aoo42x/main/sax/source/tools/ |
H A D | converter.cxx | 70 nPos++; in convertMeasure() 72 if( nPos < nLen && sal_Unicode('-') == rString[nPos] ) in convertMeasure() 89 if( nPos < nLen && sal_Unicode('.') == rString[nPos] ) in convertMeasure() 1069 ++nPos; in convertDuration() 1610 for( ; nPos < nLen; nPos++ ) in indexOfComma() 2017 nPos++; in GetUnitFromString() 2021 nPos++; in GetUnitFromString() 2025 nPos++; in GetUnitFromString() 2029 nPos++; in GetUnitFromString() 2031 nPos++; in GetUnitFromString() [all …]
|
/aoo42x/main/xmloff/source/draw/ |
H A D | xexptran.cxx | 554 if(nPos == aStr.indexOf(aString_rotate, nPos)) in SetString() 565 else if(nPos == aStr.indexOf(aString_scale, nPos)) in SetString() 593 else if(nPos == aStr.indexOf(aString_skewX, nPos)) in SetString() 604 else if(nPos == aStr.indexOf(aString_skewY, nPos)) in SetString() 615 else if(nPos == aStr.indexOf(aString_matrix, nPos)) in SetString() 653 nPos++; in SetString() 1058 if(nPos == aStr.indexOf(aString_rotatex, nPos)) in SetString() 1070 else if(nPos == aStr.indexOf(aString_rotatey, nPos)) in SetString() 1094 else if(nPos == aStr.indexOf(aString_scale, nPos)) in SetString() 1128 else if(nPos == aStr.indexOf(aString_matrix, nPos)) in SetString() [all …]
|
/aoo42x/main/connectivity/source/drivers/ado/ |
H A D | Awrapado.cxx | 1652 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TABLE_NAME in getExportedKeys() 1656 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TABLE_NAME in getExportedKeys() 1686 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TABLE_NAME in getImportedKeys() 1697 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TABLE_NAME in getImportedKeys() 1736 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TABLE_NAME in getPrimaryKeys() 1776 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// INDEX_NAME in getIndexInfo() 1778 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// TYPE in getIndexInfo() 1823 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// GRANTOR in getTablePrivileges() 1824 hr = SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++;// GRANTEE in getTablePrivileges() 2144 SafeArrayPutElement(psa,&nPos,&varCriteria[nPos]);nPos++; in getTypeInfo() [all …]
|
/aoo42x/main/sfx2/source/bastyp/ |
H A D | minarray.cxx | 154 if ( nPos > 0 ) in Remove() 160 memmove( pNewData+nPos, pData+nPos+nLen, in Remove() 171 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(void*) ); in Remove() 260 memmove( pData+nPos+1, pData+nPos, (nUsed-nPos)*sizeof(void*) ); in Insert() 389 if ( nPos > 0 ) in Remove() 395 memmove( pNewData+nPos, pData+nPos+nLen, in Remove() 406 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(char) ); in Remove() 474 memmove( pData+nPos+1, pData+nPos, (nUsed-nPos)*sizeof(char) ); in Insert() 627 memmove( pNewData+nPos, pData+nPos+nLen, in Remove() 638 memmove( pData+nPos, pData+nPos+nLen, (nUsed-nPos-nLen)*sizeof(short) ); in Remove() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | headbar.cxx | 238 nPos = i-1; in ImplHitTest() 243 nPos = i; in ImplHitTest() 273 nPos = nCount-1; in ImplHitTest() 701 sal_uInt16 nPos; in ImplStartDrag() local 937 sal_uInt16 nPos; in MouseButtonDown() local 1326 nPos = nNewPos; in MoveItem() 1401 sal_uInt16 nPos = 0; in GetItemId() local 1407 nPos++; in GetItemId() 1486 ImplUpdate( nPos ); in SetItemData() 1509 ImplUpdate( nPos ); in SetItemImage() [all …]
|
H A D | svxbox.cxx | 145 aEntryLst.Remove(nPos, 1); in RemoveEntry() 146 ListBox::RemoveEntry(nPos); in RemoveEntry() 163 RemoveEntry(nPos); in RemoveEntry() 193 return *aEntryLst[nPos]; in GetSvxBoxEntry() 242 aEntryLst.Remove(nPos, 1); in ModifyEntry() 260 { if(nMod == nPos) in GetModifiedEntry() 311 { if(nNew == nPos) in GetNewEntry() 423 RemoveEntry(nPos); in RemoveEntry() 454 return *aEntryLst[nPos]; in GetEntry() 502 { if(nMod == nPos) in GetModifiedEntry() [all …]
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 189 Execute( CSVCMD_MOVERULERCURSOR, IsVisibleSplitPos( nPos ) ? nPos : CSV_POS_INVALID ); in MoveCursor() 266 sal_Int32 nNewPos = nPos; in GetNoScrollPos() 321 sal_Int32 nNewPos = nPos; in FindEmptyPos() 424 nPos = Max( Min( nPos, GetPosCount() - sal_Int32( 1 ) ), sal_Int32( 1 ) ); in MouseMove() 490 if( HasSplit( nPos ) ) in StartMouseTracking() 499 MoveCursor( nPos ); in MoveMouseTracking() 504 mnPosMTCurr = nPos; in MoveMouseTracking() 582 sal_Int32 nPos; in ImplDrawBackgrDev() local 587 for( nPos = nFirstPos; nPos <= nLastPos; ++nPos ) in ImplDrawBackgrDev() 590 if( nPos % 5 ) in ImplDrawBackgrDev() [all …]
|
/aoo42x/main/cppu/source/uno/ |
H A D | sequence.cxx | 152 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 166 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 180 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 199 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 213 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 234 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 253 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 275 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 310 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local 331 for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos ) in idefaultConstructElements() local [all …]
|
/aoo42x/main/vcl/source/window/ |
H A D | toolbox2.cxx | 843 if ( nPos == nNewPos ) in MoveItem() 846 if ( nPos < nNewPos ) in MoveItem() 1082 for( int nPos = 0; nPos < nCount; nPos++ ) in GetItemPos() local 1095 sal_uInt16 nPos = 0; in GetItemPos() local 1102 nRet = nPos; in GetItemPos() 1107 ++nPos; in GetItemPos() 1117 return (nPos < mpData->m_aItems.size()) ? mpData->m_aItems[nPos].mnId : 0; in GetItemId() 1312 ImplUpdateItem( nPos ); in SetItemData() 1637 mnCurPos = nPos; in SetItemDown() 1704 nGroupPos = nPos; in SetItemState() [all …]
|
H A D | status.cxx | 379 for( sal_uInt16 nPos = 0; nPos < mpItemList->Count(); nPos++ ) in ImplGetFirstVisiblePos() local 385 return nPos; in ImplGetFirstVisiblePos() 408 sal_uInt16 nPos = aStr.Search( _LF ); in ImplDrawText() local 409 if ( nPos != STRING_NOTFOUND ) in ImplDrawText() 410 aStr.Erase( nPos ); in ImplDrawText() 1013 long nOffset, sal_uInt16 nPos ) in InsertItem() argument 1036 mpItemList->Insert( pItem, nPos ); in InsertItem() 1050 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in RemoveItem() 1240 sal_uInt16 nPos; in GetItemId() local 1241 for ( nPos = 0; nPos < nItemCount; nPos++ ) in GetItemId() [all …]
|
/aoo42x/main/i18npool/source/characterclassification/ |
H A D | cclass_unicode.cxx | 67 if (nPos >= len) in toUpper() 79 if (nPos >= len) in toLower() 91 if (nPos >= len) in toTitle() 102 for (sal_Int32 i = nPos; i < nCount + nPos; i++, out++) { in toTitle() 115 if ( nPos < 0 || Text.getLength() <= nPos ) return 0; in getType() 121 if ( nPos < 0 || Text.getLength() <= nPos ) return 0; in getCharacterDirection() 128 if ( nPos < 0 || Text.getLength() <= nPos ) return 0; in getScript() 204 if ( nPos < 0 || Text.getLength() <= nPos ) return 0; in getCharacterType() 211 if ( nPos < 0 || Text.getLength() <= nPos ) return 0; in getStringType() 221 sal_Int32 nPos, in parseAnyToken() argument [all …]
|
/aoo42x/main/basic/source/sbx/ |
H A D | sbxform.cxx | 178 sStrg.SetChar( nPos, sStrg.GetChar( nPos - 1 ) ); in LeftShiftDecimalPoint() 190 if( nPos<0 ) in StrRoundDigit() 208 while( nPos>=0 && (sStrg.GetChar( nPos )<ASCII_0 || sStrg.GetChar( nPos )>ASCII_9) ) in StrRoundDigit() 209 nPos--; in StrRoundDigit() 212 if( nPos==-1 ) in StrRoundDigit() 307 if( nPos>nNumExp || abs(nNumExp-nPos)>MAX_NO_OF_DIGITS ) in GetDigitAtPosScan() 313 if( nPos<nNumExp ) in GetDigitAtPosScan() 315 no += nNumExp-nPos; in GetDigitAtPosScan() 317 if( nPos==nNumExp ) in GetDigitAtPosScan() 325 if( nPos>nExpExp ) in GetDigitAtPosExpScan() [all …]
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 228 memmove( &pPointAry[nPos+nCount], &pPointAry[nPos], in InsertSpace() 230 memmove( &pFlagAry[nPos+nCount], &pFlagAry[nPos], nMove ); in InsertSpace() 259 memmove( &pPointAry[nPos], &pPointAry[nPos+nCount], in Remove() 261 memmove( &pFlagAry[nPos], &pFlagAry[nPos+nCount], nMove ); in Remove() 384 nPos += 4; in XPolygon() 431 nPos += 3; in XPolygon() 575 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert() 918 nPos += 3; in SubdivideBezier() 935 nPos = nPos + nPosInc; in SubdivideBezier() 943 nPos = nPos + nPosInc; in SubdivideBezier() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | svxruler.cxx | 866 pBorders[i].nPos = in UpdateColumns() 909 pObjectBorders[0].nPos = in UpdateObject() 912 pObjectBorders[1].nPos = in UpdateObject() 915 pObjectBorders[2].nPos = in UpdateObject() 918 pObjectBorders[3].nPos = in UpdateObject() 1933 pTabs[i].nPos += nDiff; in DragTabs() 1952 pTabs[i].nPos = pTabs[nIdx].nPos + nDelta; in DragTabs() 2041 pTabs[i].nPos += l; in UpdateParaContents_Impl() 2097 pBorders[i].nPos = Min(pBorders[i].nPos, nRight - pBorders[i].nWidth); in DragBorders() 2762 const long nDelta = pTabs[i].nPos - pTabs[nIdx].nPos; in PrepareProportional_Impl() [all …]
|
/aoo42x/main/basegfx/source/polygon/ |
H A D | b2dsvgpolypolygon.cxx | 59 sal_Int32 nPos(0); in importFromSvgD() local 67 while(nPos < nLen) in importFromSvgD() 86 nPos++; in importFromSvgD() 130 nPos++; in importFromSvgD() 163 nPos++; in importFromSvgD() 193 nPos++; in importFromSvgD() 223 nPos++; in importFromSvgD() 282 nPos++; in importFromSvgD() 332 nPos++; in importFromSvgD() 664 sal_Int32 nPos(0); in importFromSvgPoints() local [all …]
|
/aoo42x/main/xmloff/source/transform/ |
H A D | TransformerBase.cxx | 502 nPos = sRelPath.indexOf( '/', nPos + 1 ); in initialize() 924 while( nPos && rValue[nPos-1] <= ' ' ) in ReplaceSingleInchWithIn() 925 --nPos; in ReplaceSingleInchWithIn() 927 ('c'==rValue[nPos-2] || 'C'==rValue[nPos-2]) && in ReplaceSingleInchWithIn() 928 ('h'==rValue[nPos-1] || 'H'==rValue[nPos-1]) ) in ReplaceSingleInchWithIn() 968 ++nPos; in ReplaceInchWithIn() 979 while( nPos && rValue[nPos-1] <= ' ' ) in ReplaceSingleInWithInch() 980 --nPos; in ReplaceSingleInWithInch() 987 nPos -= 2; in ReplaceSingleInWithInch() 1019 ++nPos; in ReplaceInWithInch() [all …]
|
/aoo42x/main/svl/source/misc/ |
H A D | urihelper.cxx | 425 && rStr.Len() - nPos >= 2 in nextChar() 427 nPos + 2 : nPos + 1; in nextChar() 433 if (nPos == nEnd) in isBoundary1() 437 switch (rStr.GetChar(nPos)) in isBoundary1() 455 if (nPos == nEnd) in isBoundary2() 459 switch (rStr.GetChar(nPos)) in isBoundary2() 643 for (xub_StrLen nPos = rBegin; nPos != rEnd; nPos = nextChar(rText, nPos)) in FindFirstURLInText() local 650 xub_StrLen i = nPos; in FindFirstURLInText() 716 i = nPos; in FindFirstURLInText() 770 i = nPos + 3; in FindFirstURLInText() [all …]
|
/aoo42x/main/connectivity/source/drivers/adabas/ |
H A D | BDatabaseMetaData.cxx | 69 sal_Int32 nPos = 1; in impl_getTypeInfo_throw() local 72 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 75 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 78 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 81 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 84 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 87 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 90 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 93 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() 96 aRow[nPos-1]->setNull(); in impl_getTypeInfo_throw() [all …]
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | DExport.cxx | 223 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 227 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 239 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 242 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 245 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 248 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 251 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 254 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 257 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() 260 aValue.fill(nPos,aTypes[nPos],aNullable[nPos],xRow); in ODatabaseExport() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | wrong.cxx | 42 xub_StrLen nPos, in SwWrongArea() argument 52 xub_StrLen nPos, in SwWrongArea() argument 130 if( nPos < Count() && ( nWrPos = Pos( nPos ) ) <= rChk ) in InWrongWord() 150 if( nPos == Count() ) in Check() 157 ++nPos; in Check() 158 if( nPos == Count() ) in Check() 186 if( nPos < Count() ) in NextWrong() 326 SetInvalid( nPos ? nPos - 1 : nPos, nPos + 1 ); in Move() 331 _Invalidate( nPos ? nPos - 1 : nPos, nPos + 1 ); in Move() 376 sal_Bool bRet = nLen && ( nCursorPos > nPos + nLen || nCursorPos < nPos ); in Fresh() [all …]
|
/aoo42x/main/unotools/source/i18n/ |
H A D | charclass.cxx | 174 sal_Unicode c = rStr.GetChar( nPos ); in isAlpha() 386 return rStr.Copy( nPos, nCount ); in toTitle() 391 return rStr.Copy( nPos, nCount ); in toTitle() 403 return rStr.copy( nPos, nCount ); in toUpper_rtl() 408 return rStr.copy( nPos, nCount ); in toUpper_rtl() 420 return rStr.copy( nPos, nCount ); in toLower_rtl() 425 return rStr.copy( nPos, nCount ); in toLower_rtl() 435 return xCC->getType( rStr, nPos ); in getType() 469 return xCC->getScript( rStr, nPos ); in getScript() 517 sal_Int32 nPos, in parseAnyToken() argument [all …]
|