/trunk/main/sw/source/filter/rtf/ |
H A D | rtffld.cxx | 272 for( ; nPos < nEnd; ++nPos ) in lcl_FindEndBracket() 275 nRet = nPos; in lcl_FindEndBracket() 392 xub_StrLen nPos=0; in MakeFieldInst() local 393 while (STRING_NOTFOUND != ( nPos = aSaveStr.SearchAscii("\\*", nPos))) in MakeFieldInst() 396 nPos += 2; in MakeFieldInst() 397 while ((nPos < aSaveStr.Len()) && (aSaveStr.GetChar(nPos) == ' ')) in MakeFieldInst() 399 ++nPos; in MakeFieldInst() 405 nPos -= (nStartDel - nPos); in MakeFieldInst() 409 nPos = 0; in MakeFieldInst() 444 nPos += 2; in MakeFieldInst() [all …]
|
/trunk/main/sc/source/filter/inc/ |
H A D | xerecord.hxx | 339 inline bool HasRecord( size_t nPos ) const in HasRecord() 340 { return nPos < maRecs.size(); } in HasRecord() 342 inline RecordRefType GetRecord( size_t nPos ) const in GetRecord() 343 { return (nPos < maRecs.size()) ? maRecs[ nPos ] : RecordRefType(); } in GetRecord() 352 inline void InsertRecord( RecordRefType xRec, size_t nPos ) in InsertRecord() argument 359 { RemoveRecord( nPos ); InsertRecord( xRec, nPos ); } in ReplaceRecord() 362 inline void InsertNewRecord( RecType* pRec, size_t nPos ) in InsertNewRecord() argument 368 inline void ReplaceNewRecord( RecType* pRec, size_t nPos ) in ReplaceNewRecord() argument 369 { RemoveRecord( nPos ); InsertNewRecord( pRec, nPos ); } in ReplaceNewRecord() 372 inline void RemoveRecord( size_t nPos ) in RemoveRecord() argument [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | dptabres.cxx | 709 for ( long nPos=0; nPos<nSkip; nPos++ ) in lcl_GetChildTotal() local 1905 for (size_t nPos = 0; nPos < nCount; ++nPos) in UpdateValues() local 1993 for ( long nPos=0; nPos<nSkip; nPos++ ) in GetAggData() local 2011 for ( long nPos=0; nPos<nSkip; nPos++ ) in GetConstAggData() local 3117 for (long nPos=0; nPos<nCount; nPos++) in SortMembers() local 3158 for (nPos=0; nPos<nCount; nPos++) in DoAutoShow() 3159 aAutoOrder[nPos] = nPos; in DoAutoShow() 3188 for (nPos = nIncluded; nPos < nCount; nPos++) in DoAutoShow() 3657 for (long nPos=0; nPos<nCount; nPos++) in SortMembers() local 3710 for (nPos=0; nPos<nCount; nPos++) in DoAutoShow() [all …]
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | dpcontrol.cxx | 485 if (nPos >= maMenuItems.size()) in drawMenuItem() 524 if (nPos >= maMenuItems.size()) in executeMenuItem() 527 if (!maMenuItems[nPos].mpAction) in executeMenuItem() 537 if (mnSelectedMenu == nPos) in setSelectedMenuItem() 560 mnSelectedMenu = nPos; in setSelectedMenuItem() 620 maOpenTimer.mnMenuPos = nPos; in queueLaunchSubMenu() 712 if (nPos >= maMenuItems.size() || nPos == MENU_NOT_SELECTED) in selectMenuItem() 752 if (maMenuItems.size() <= nPos) in getSubMenuWindow() 760 return nPos == mnSelectedMenu; in isMenuItemSelected() 775 if (nPos == MENU_NOT_SELECTED) in highlightMenuItem() [all …]
|
/trunk/main/bridges/source/cpp_uno/cc50_solaris_intel/ |
H A D | uno2cpp.cxx | 116 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 118 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 125 pCppArgs[ nPos ] = pCppStack; in cpp_call() 126 uno_copyAndConvertData( pCppArgs[nPos], pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 154 *(void **)pCppStack = pCppArgs[nPos] = (params_buffer + nTempBufferPos), in cpp_call() 156 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 170 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 172 pTempIndizes[nTempIndizes] = nPos | 0x80000000; // has to be reconverted in cpp_call() 178 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 180 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() [all …]
|
/trunk/main/vcl/win/source/window/ |
H A D | salmenu.cxx | 199 if( nPos == MENU_APPEND ) in InsertItem() 201 nPos = ::GetMenuItemCount( mhMenu ); in InsertItem() 202 if( nPos == -1 ) in InsertItem() 206 if(!::InsertMenuItemW( mhMenu, nPos, TRUE, &pWItem->mInfo )) in InsertItem() 216 void WinSalMenu::RemoveItem( unsigned nPos ) in RemoveItem() argument 219 if( num != -1 && nPos < (unsigned)num ) in RemoveItem() 227 if( !GetMenuItemInfoW( mhMenu, nPos, TRUE, &mi) ) in RemoveItem() 232 if( !::RemoveMenu( mhMenu, nPos, MF_BYPOSITION ) ) in RemoveItem() 297 void WinSalMenu::CheckItem( unsigned nPos, sal_Bool bCheck ) in CheckItem() argument 303 void WinSalMenu::EnableItem( unsigned nPos, sal_Bool bEnable ) in EnableItem() argument [all …]
|
/trunk/main/xmloff/source/transform/ |
H A D | FormPropOASISTContext.cxx | 52 sal_Int32 nPos = 0; in GetValueType() local 56 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in GetValueType() 57 nPos++; in GetValueType() 59 if( nPos < nLen && sal_Unicode('-') == rValue[nPos] ) in GetValueType() 62 nPos++; in GetValueType() 67 while( nPos < nLen && in GetValueType() 69 sal_Unicode('9') >= rValue[nPos] ) in GetValueType() 74 nPos++; in GetValueType() 78 while( nPos < nLen && sal_Unicode(' ') == rValue[nPos] ) in GetValueType() 79 nPos++; in GetValueType() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | impimage.cxx | 126 void ImplImageList::RemoveImage( sal_uInt16 nPos ) in RemoveImage() argument 128 ImageAryData *pImg = maImages[ nPos ]; in RemoveImage() 131 maImages.erase( maImages.begin() + nPos ); in RemoveImage() 298 mpInfoAry[ nPos ] = mpInfoAry[ nSrcPos ]; in Replace() 311 ImplUpdateDisabledBmpEx( nPos ); in Replace() 315 mpInfoAry[ nPos ] = rImageBmp.mpInfoAry[ nSrcPos ]; in Replace() 328 ImplUpdateDisabledBmpEx( nPos ); in Replace() 399 ImplUpdateDisabledBmpEx( nPos); in Draw() 581 void ImplImageBmp::ImplUpdateDisabledBmpEx( int nPos ) in ImplUpdateDisabledBmpEx() argument 591 nPos = -1; in ImplUpdateDisabledBmpEx() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | workwin.cxx | 360 switch ( nPos ) in IsAppWorkWinToolbox_Impl() 373 switch ( nPos ) in TbxMatch() 390 return nPos; in TbxMatch() 676 for ( sal_uInt16 nPos = 0; nPos < pChilds->Count(); ++nPos ) in ChangeWindow_Impl() local 1095 sal_uInt16 nPos; in ReleaseChild_Impl() local 1096 for ( nPos = 0; nPos < pChilds->Count(); ++nPos ) in ReleaseChild_Impl() 1124 for ( sal_uInt16 nPos = 0; nPos < nCount; ++nPos ) in FindChild_Impl() local 1144 for ( sal_uInt16 nPos = 0; nPos < pChilds->Count(); ++nPos ) in ShowChilds_Impl() local 1213 for ( sal_uInt16 nPos = pChilds->Count(); nPos > 0; --nPos ) in HideChilds_Impl() local 2078 if (i == nPos) in ConfigChild_Impl() [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | anytostring.cxx | 127 for ( sal_Int32 nPos = 0; nPos < nDescr; ++nPos ) in appendValue() local 129 buf.append( ppMemberNames[ nPos ] ); in appendValue() 134 appendTypeError( buf, ppTypeRefs[ nPos ] ); in appendValue() 139 val ) + memberOffsets[ nPos ], in appendValue() 143 if (nPos < (nDescr - 1)) in appendValue() 179 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in appendValue() local 182 buf, pElements + (nElementSize * nPos), in appendValue() 184 if (nPos < (nElements - 1)) in appendValue() 242 while (nPos--) in appendValue() 247 if (nPos >= 0) in appendValue() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | portxt.cxx | 71 xub_StrLen nPos, nEnd; in lcl_AddSpace() local 77 nPos = 0; in lcl_AddSpace() 82 nPos = rInf.GetIdx(); in lcl_AddSpace() 120 nCnt += nEnd - nPos; in lcl_AddSpace() 133 if ( SwScriptInfo::IsArabicText( *pStr, nPos, nEnd - nPos ) && pSI->CountKashida() ) in lcl_AddSpace() 135 const sal_uInt16 nKashRes = pSI->KashidaJustify( 0, 0, nPos, nEnd - nPos ); in lcl_AddSpace() 151 nCnt = SwScriptInfo::ThaiJustify( *pStr, 0, 0, nPos, nEnd - nPos ); in lcl_AddSpace() 178 for ( ; nPos < nEnd; ++nPos ) in lcl_AddSpace() 632 xub_StrLen nPos = 0; in GetSpaceCnt() local 647 nPos = aStr.Len(); in GetSpaceCnt() [all …]
|
/trunk/main/tools/source/stream/ |
H A D | stream.cxx | 347 m_nSize = nPos; in Seek() 404 nActPos = nPos; in SeekPos() 1310 if ( nPos >= 0 ) in SeekRel() 2598 nPos = 0L; in SvMemoryStream() 2618 nPos = 0; in SvMemoryStream() 2694 nPos = 0; in SetBuffer() 2725 nPos += nCount; in GetData() 2788 nPos += nCount; in PutData() 2837 return nPos; in SeekPos() 2935 nPos = 0; in ReAllocateMemory() [all …]
|
/trunk/main/framework/source/uielement/ |
H A D | menubarmerger.cxx | 104 sal_uInt16 nPos( MENU_ITEM_NOTFOUND ); in FindReferencePath() local 115 nPos = nTmpPos; in FindReferencePath() 130 nPos = nTmpPos; in FindReferencePath() 143 aResult.nPos = nPos; in FindReferencePath() 205 sal_uInt16 nPos, in MergeMenuItems() argument 247 sal_uInt16 nPos, in ReplaceMenuItem() argument 254 pMenu->RemoveItem( nPos ); in ReplaceMenuItem() 261 sal_uInt16 nPos, in RemoveMenuItems() argument 272 pMenu->RemoveItem( nPos ); in RemoveMenuItems() 281 sal_uInt16 nPos, in ProcessMergeOperation() argument [all …]
|
/trunk/main/tools/source/generic/ |
H A D | poly.cxx | 249 if( nPos >= mnPoints ) in ImplSplit() 252 nPos = mnPoints; in ImplSplit() 286 memcpy( pNewFlagAry, mpFlagAry, nPos ); in ImplSplit() 327 memcpy( pNewFlagAry, mpFlagAry, nPos ); in ImplRemove() 722 mpImplPolygon->mpPointAry[nPos] = rPt; in SetPoint() 751 return mpImplPolygon->mpPointAry[nPos]; in GetPoint() 1770 if( nPos >= mpImplPolygon->mnPoints ) in Insert() 1771 nPos = mpImplPolygon->mnPoints; in Insert() 1773 mpImplPolygon->ImplSplit( nPos, 1 ); in Insert() 1794 if( nPos >= mpImplPolygon->mnPoints ) in Insert() [all …]
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salmenu.cxx | 399 if( nPos == MENU_APPEND ) in getItemIndexByPos() 402 nIndex = sal::static_int_cast<int>( mbMenuBar ? nPos+1 : nPos ); in getItemIndexByPos() 555 if( nPos == MENU_APPEND || nPos == maItems.size() ) in InsertItem() 557 else if( nPos < maItems.size() ) in InsertItem() 572 if( nPos == MENU_APPEND || nPos == (maItems.size()-1) ) in RemoveItem() 577 else if( nPos < maItems.size() ) in RemoveItem() 579 pRemoveItem = maItems[ nPos ]; in RemoveItem() 636 if( nPos < maItems.size() ) in CheckItem() 645 if( nPos < maItems.size() ) in EnableItem() 683 if( nPos != STRING_NOTFOUND ) in SetItemText() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | tphatch.cxx | 179 sal_uInt16 nPos; in ActivatePage() local 202 else if( nCount <= nPos ) in ActivatePage() 306 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in CheckChanges_Impl() 307 *pPos = nPos; in CheckChanges_Impl() 324 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in FillItemSet() 423 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 440 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 611 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 651 aLbHatchings.Modify( *pEntry, nPos, maHatchingList->GetUiBitmap( nPos ) ); in IMPL_LINK() 683 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | ww8dout.cxx | 281 short nPos, i; in OutTab() local 289 rSt.Read( &nPos, sizeof( nPos ) ); in OutTab() 290 *pOut << nPos; in OutTab() 299 rSt.Read( &nPos, sizeof( nPos ) ); in OutTab() 300 *pOut << nPos; in OutTab() 324 short nPos, i; in OutTab190() local 326 rSt.Read( &nPos, sizeof( nPos ) ); in OutTab190() 356 long nPos; in OutHugeHex() local 357 rSt.Read( &nPos, sizeof( nPos ) ); in OutHugeHex() 380 short nPos, i; in OutTabD608() local [all …]
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | solveroptions.cxx | 260 for (sal_Int32 nPos=0; nPos<nCount; nPos++) in FillListBox() local 262 rtl::OUString aPropName( maProperties[nPos].Name ); in FillListBox() 268 aDescriptions[nPos].nPosition = nPos; in FillListBox() 269 aDescriptions[nPos].aDescription = aVisName; in FillListBox() 277 for (sal_Int32 nPos=0; nPos<nCount; nPos++) in FillListBox() local 278 aNewSeq[nPos] = maProperties[ aDescriptions[nPos].nPosition ]; in FillListBox() 293 for (sal_Int32 nPos=0; nPos<nCount; nPos++) in FillListBox() local 295 rtl::OUString aVisName = aDescriptions[nPos].aDescription; in FillListBox() 297 uno::Any aValue = maProperties[nPos].Value; in FillListBox() 350 for (sal_uInt16 nPos=0; nPos<nItemCount; ++nPos) in EditOption() local [all …]
|
/trunk/main/svl/source/items/ |
H A D | itemset.cxx | 1499 if( nPos < n ) in GetWhichByPos() 1500 return *(pPtr)+nPos; in GetWhichByPos() 1501 nPos = nPos - n; in GetWhichByPos() 1705 for ( sal_uInt16 nPos = 0; nPos < nCount1; ++nPos ) in operator ==() local 1891 if ( nPos ) in AddItem_Impl() 1896 memcpy( (void*) (pNew + nPos + 1), pItems + nPos, in AddItem_Impl() 1901 *(pNew + nPos) = 0; in AddItem_Impl() 1944 nPos = 0; in Put() 1996 nPos = nItemCount; in Put() 2064 sal_uInt16 nPos = 0; [all …]
|
/trunk/main/unotools/inc/unotools/ |
H A D | charclass.hxx | 180 sal_Int16 getType( const String& rStr, xub_StrLen nPos ) const; 181 sal_Int16 getCharacterDirection( const String& rStr, xub_StrLen nPos ) const; 182 sal_Int16 getScript( const String& rStr, xub_StrLen nPos ) const; 183 sal_Int32 getCharacterType( const String& rStr, xub_StrLen nPos ) const; 188 sal_Int32 nPos, 197 sal_Int32 nPos, 206 sal_Bool isAlpha( const String& rStr, xub_StrLen nPos ) const; 207 sal_Bool isLetter( const String& rStr, xub_StrLen nPos ) const; 208 sal_Bool isDigit( const String& rStr, xub_StrLen nPos ) const; 209 sal_Bool isAlphaNumeric( const String& rStr, xub_StrLen nPos ) const; [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_alpha/ |
H A D | uno2cpp.cxx | 255 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 257 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 263 uno_copyAndConvertData( pCppArgs[nPos] = alloca( 8 ), pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 270 INSERT_INT64( pCppArgs[nPos], nRegs, pGPR, pStack ); in cpp_call() 275 INSERT_INT32( pCppArgs[nPos], nRegs, pGPR, pStack ); in cpp_call() 280 INSERT_INT16( pCppArgs[nPos], nRegs, pGPR, pStack ); in cpp_call() 284 INSERT_INT8( pCppArgs[nPos], nRegs, pGPR, pStack ); in cpp_call() 305 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 315 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 324 pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_s390x/ |
H A D | uno2cpp.cxx | 260 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 262 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 268 uno_copyAndConvertData( pCppArgs[nPos] = alloca( 8 ), pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 275 INSERT_INT64( pCppArgs[nPos], nGPR, pGPR, pStack ); in cpp_call() 280 INSERT_INT32( pCppArgs[nPos], nGPR, pGPR, pStack ); in cpp_call() 285 INSERT_INT16( pCppArgs[nPos], nGPR, pGPR, pStack ); in cpp_call() 289 INSERT_INT8( pCppArgs[nPos], nGPR, pGPR, pStack ); in cpp_call() 310 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 320 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 329 pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call() [all …]
|
/trunk/main/sc/source/ui/inc/ |
H A D | csvruler.hxx | 108 sal_Int32 GetNoScrollPos( sal_Int32 nPos ) const; 111 … inline bool HasSplit( sal_Int32 nPos ) const { return maSplits.HasSplit( nPos ); } in HasSplit() 113 void InsertSplit( sal_Int32 nPos ); 115 void RemoveSplit( sal_Int32 nPos ); 117 void MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ); 145 SC_DLLPRIVATE void StartMouseTracking( sal_Int32 nPos ); 147 SC_DLLPRIVATE void MoveMouseTracking( sal_Int32 nPos ); 172 SC_DLLPRIVATE void ImplDrawSplit( sal_Int32 nPos ); 174 SC_DLLPRIVATE void ImplEraseSplit( sal_Int32 nPos ); 179 SC_DLLPRIVATE void ImplInvertCursor( sal_Int32 nPos ); [all …]
|
/trunk/main/dbaccess/source/ext/adabas/ |
H A D | AdabasNewDb.cxx | 517 sal_Int32 nPos = 0; variable 519 aCreateArgs[nPos].Name = PROPERTY_CONTROL_USER; 523 aCreateArgs[nPos].Name = PROPERTY_USER; 525 aCreateArgs[nPos].Name = PROPERTY_PASSWORD; 529 aCreateArgs[nPos].Name = PROPERTY_CACHESIZE; 531 aCreateArgs[nPos].Name = PROPERTY_DATABASENAME; 533 aCreateArgs[nPos].Name = PROPERTY_DATADEVSPACE; 535 aCreateArgs[nPos].Name = PROPERTY_SYSDEVSPACE; 539 aCreateArgs[nPos].Name = PROPERTY_DATADEVSIZE; 541 aCreateArgs[nPos].Name = PROPERTY_LOGDEVSIZE; [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_arm/ |
H A D | uno2cpp.cxx | 376 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 378 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 385 uno_copyAndConvertData( pCppArgs[nPos] = alloca(8), pUnoArgs[nPos], in cpp_call() 393 fprintf(stderr, "hyper is %lx\n", pCppArgs[nPos]); in cpp_call() 401 fprintf(stderr, "long is %x\n", pCppArgs[nPos]); in cpp_call() 412 INSERT_INT8( pCppArgs[nPos], nGPR, pGPR, pStack, bOverFlow ); in cpp_call() 432 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 442 pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 445 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 451 pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call() [all …]
|