/trunk/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 150 ++nPos; in InitRangeFinder() 152 ++nPos; in InitRangeFinder() 158 nStart = nPos; in InitRangeFinder() 161 ++nPos; in InitRangeFinder() 166 if( nPos < nLen && nPos > 0 && in InitRangeFinder() 167 '-' == pChar[nPos] && '[' == pChar[nPos-1] && in InitRangeFinder() 171 nPos++; in InitRangeFinder() 313 xub_StrLen nPos; in lcl_RemoveTabs() local 321 xub_StrLen nPos; in lcl_RemoveLineEnd() local 393 p = p0 + nPos; in lcl_MatchParenthesis() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | adiasync.cxx | 100 sal_uInt16 nPos; in Get() local 103 if ( theAddInAsyncTbl.Seek_Entry( &aSeekObj, &nPos ) ) in Get() 104 pRet = theAddInAsyncTbl[ nPos ]; in Get() 157 sal_uInt16 nPos = theAddInAsyncTbl.Count(); in RemoveDocument() local 158 if ( nPos ) in RemoveDocument() 161 (const ScAddInAsync**) theAddInAsyncTbl.GetData() + nPos - 1; in RemoveDocument() 162 for ( ; nPos-- >0; ppAsync-- ) in RemoveDocument() 172 theAddInAsyncTbl.Remove( nPos ); in RemoveDocument() 175 + nPos; in RemoveDocument()
|
H A D | addinlis.cxx | 87 for (sal_uLong nPos=0; nPos<nCount; nPos++) in Get() local 89 ScAddInListener* pLst = (ScAddInListener*)aAllListeners.GetObject(nPos); in Get() 100 sal_uLong nPos = aAllListeners.Count(); in RemoveDocument() local 101 while (nPos) in RemoveDocument() 104 --nPos; in RemoveDocument() 105 ScAddInListener* pLst = (ScAddInListener*)aAllListeners.GetObject(nPos); in RemoveDocument() 116 aAllListeners.Remove( nPos ); in RemoveDocument()
|
/trunk/main/stoc/source/corereflection/ |
H A D | lrucache.hxx | 109 for ( sal_Int32 nPos = _nCachedElements; nPos--; ) in LRU_Cache() local 111 _pBlock[nPos].pPred = _pBlock + nPos -1; in LRU_Cache() 112 _pBlock[nPos].pSucc = _pBlock + nPos +1; in LRU_Cache() 215 for ( sal_Int32 nPos = _nCachedElements; nPos--; ) in clear() local 217 _pBlock[nPos].aKey = t_Key(); in clear() 218 _pBlock[nPos].aVal = t_Val(); in clear()
|
/trunk/main/stoc/source/tdmanager/ |
H A D | lrucache.hxx | 110 for ( sal_Int32 nPos = _nCachedElements; nPos--; ) in LRU_Cache() local 112 _pBlock[nPos].pPred = _pBlock + nPos -1; in LRU_Cache() 113 _pBlock[nPos].pSucc = _pBlock + nPos +1; in LRU_Cache() 219 for ( sal_Int32 nPos = _nCachedElements; nPos--; ) in clear() local 221 _pBlock[nPos].aKey = t_Key(); in clear() 222 _pBlock[nPos].aVal = t_Val(); in clear()
|
/trunk/main/testtools/source/performance/ |
H A D | ubtest.cxx | 460 for ( sal_Int32 nPos = rSNL.getLength(); nPos--; ) in supportsService() local 950 for ( sal_Int32 nPos = rArgs.getLength(); nPos--; ) in extractParam() local 1122 for ( sal_Int32 nPos = 0; nPos < (sizeof(aArgs) / sizeof(OUString)); ++nPos ) in run() local 1125 out( aArgs[nPos] ); in run() 1192 sal_Int32 nPos = 60; in run() local 1197 nPos += 40; in run() 1198 out( "[", stream, nPos ); in run() 1212 sal_Int32 nPos = 60; in run() local 1222 out( "NA", stream, nPos ); in run() 1231 nPos += 40; in run() [all …]
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | AResultSet.cxx | 848 sal_Int32 nPos; in moveToBookmark() local 849 bookmark >>= nPos; in moveToBookmark() 851 if(nPos < 0 || nPos >= (sal_Int32)m_aBookmarks.size()) in moveToBookmark() 863 sal_Int32 nPos; in moveRelativeToBookmark() local 864 bookmark >>= nPos; in moveRelativeToBookmark() 865 nPos += rows; in moveRelativeToBookmark() 867 if(nPos < 0 || nPos >= (sal_Int32)m_aBookmarks.size()) in moveRelativeToBookmark() 923 sal_Int32 nPos; in hashBookmark() local 924 bookmark >>= nPos; in hashBookmark() 925 return nPos; in hashBookmark() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | strarray.cxx | 59 const String& SvxStringArray::GetStringByPos( sal_uInt32 nPos ) const in GetStringByPos() 61 if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) in GetStringByPos() 62 return ResStringArray::GetString( nPos ); in GetStringByPos() 71 sal_uInt32 nPos = FindIndex( nType ); in GetStringByType() local 73 if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) in GetStringByType() 74 return ResStringArray::GetString( nPos ); in GetStringByType()
|
/trunk/main/sw/source/core/crsr/ |
H A D | findattr.cxx | 725 sal_uInt16 nPos = 0; in lcl_SearchForward() local 731 for( ; nPos < rHtArr.Count(); ++nPos ) in lcl_SearchForward() 745 if( nPos == rHtArr.Count() && rCmpArr.Found() ) in lcl_SearchForward() 754 for( ; nPos < rHtArr.Count(); ++nPos ) in lcl_SearchForward() 760 while( ++nPos < rHtArr.Count() && nSttPos == in lcl_SearchForward() 799 sal_uInt16 nPos = rHtArr.Count(); in lcl_SearchBackward() local 805 while( nPos ) in lcl_SearchBackward() 821 if( !nPos && rCmpArr.Found() ) in lcl_SearchBackward() 830 while( nPos ) in lcl_SearchBackward() 835 if( nPos ) in lcl_SearchBackward() [all …]
|
/trunk/main/ucb/source/sorter/ |
H A D | sortresult.hxx | 69 void Insert( SortListData *pEntry, long nPos ); 70 SortListData* Remove( long nPos ); 71 SortListData* GetData( long nPos ); 73 long operator [] ( long nPos ) const; 89 void AddEvent( long nType, long nPos, long nCount ); 108 void Remove( sal_uInt32 nPos ); 113 void Insert( void* pData, sal_uInt32 nPos ); 114 void* GetObject( sal_uInt32 nPos ) const; 115 void Replace( void* pData, sal_uInt32 nPos ); 202 void InsertNew( long nPos, long nCount ); [all …]
|
/trunk/main/vcl/inc/unx/ |
H A D | salmenu.h | 41 virtual void InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos ); 42 virtual void RemoveItem( unsigned nPos ); 43 virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos ); 45 virtual void CheckItem( unsigned nPos, BOOL bCheck ); 46 virtual void EnableItem( unsigned nPos, BOOL bEnable ); 47 virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const XubString& rText ); 48 virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage); 49 …virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, co…
|
/trunk/main/svtools/source/inc/ |
H A D | property.hxx | 87 sal_uInt16 nPos = LISTBOX_APPEND )=0; 137 sal_uInt16 nPos = LISTBOX_APPEND ); 180 sal_uInt16 nPos = LISTBOX_APPEND ); 222 sal_uInt16 nPos = LISTBOX_APPEND ); 412 virtual sal_uInt16 InsertEntry( const SvPropertyData&, sal_uInt16 nPos = LISTBOX_APPEND ); 414 virtual void ChangeEntry( const SvPropertyData&, sal_uInt16 nPos); 420 virtual void SetFirstVisibleEntry(sal_uInt16 nPos); 423 virtual void SetSelectedEntry(sal_uInt16 nPos); 536 virtual void ChangeEntry( const SvPropertyData&, sal_uInt16 nPos); 539 virtual void SetFirstVisibleEntry(sal_uInt16 nPos); [all …]
|
/trunk/main/bridges/source/cpp_uno/cc50_solaris_intel/ |
H A D | cpp2uno.cxx | 96 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 98 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp2uno_call() 106 pCppArgs[ nPos ] = pUnoArgs[ nPos ] = pCppStack; in cpp2uno_call() 119 pCppArgs[nPos] = *(void **)pCppStack; in cpp2uno_call() 124 pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ); in cpp2uno_call() 125 pTempIndizes[nTempIndizes] = nPos; in cpp2uno_call() 133 uno_copyAndConvertData( pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp2uno_call() 136 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp2uno_call() 142 pUnoArgs[nPos] = *(void **)pCppStack; in cpp2uno_call()
|
/trunk/main/bridges/source/cpp_uno/mingw_intel/ |
H A D | cpp2uno.cxx | 103 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 105 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp2uno_call() 113 pCppArgs[nPos] = pCppStack; in cpp2uno_call() 114 pUnoArgs[nPos] = pCppStack; in cpp2uno_call() 130 pCppArgs[nPos] = *(void **)pCppStack; in cpp2uno_call() 135 pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ); in cpp2uno_call() 136 pTempIndizes[nTempIndizes] = nPos; in cpp2uno_call() 144 uno_copyAndConvertData( pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp2uno_call() 147 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp2uno_call() 153 pUnoArgs[nPos] = *(void **)pCppStack; in cpp2uno_call()
|
/trunk/main/i18npool/inc/ |
H A D | characterclassificationImpl.hxx | 46 sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ) 49 sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ) 51 virtual rtl::OUString SAL_CALL toTitle( const rtl::OUString& Text, sal_Int32 nPos, 54 virtual sal_Int16 SAL_CALL getType( const rtl::OUString& Text, sal_Int32 nPos ) 56 virtual sal_Int16 SAL_CALL getCharacterDirection( const rtl::OUString& Text, sal_Int32 nPos ) 58 virtual sal_Int16 SAL_CALL getScript( const rtl::OUString& Text, sal_Int32 nPos ) 60 virtual sal_Int32 SAL_CALL getCharacterType( const rtl::OUString& text, sal_Int32 nPos, 63 virtual sal_Int32 SAL_CALL getStringType( const rtl::OUString& text, sal_Int32 nPos, 66 virtual ParseResult SAL_CALL parseAnyToken( const rtl::OUString& Text, sal_Int32 nPos, 72 const rtl::OUString& Text, sal_Int32 nPos, const com::sun::star::lang::Locale& rLocale,
|
/trunk/main/vcl/os2/source/window/ |
H A D | salmenu.cxx | 76 void Os2SalMenu::InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos ) in InsertItem() argument 80 void Os2SalMenu::RemoveItem( unsigned nPos ) in RemoveItem() argument 84 void Os2SalMenu::SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos ) in SetSubMenu() argument 88 void Os2SalMenu::CheckItem( unsigned nPos, sal_Bool bCheck ) in CheckItem() argument 92 void Os2SalMenu::EnableItem( unsigned nPos, sal_Bool bEnable ) in EnableItem() argument 96 void Os2SalMenu::SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage ) in SetItemImage() argument 100 void Os2SalMenu::SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const XubString& rText ) in SetItemText() argument 104 void Os2SalMenu::SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode,… in SetAccelerator() argument
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | asciiopt.cxx | 418 sal_uInt16 nPos = 0; 420 nPos = aSemiStr.SearchAndReplace( ',', ';', nPos ); 421 while ( nPos != STRING_NOTFOUND ); 436 nPos = 0; 442 nPos = j+1; 446 if ( nPos < nFound ) 447 memmove( &pTemp[nPos+1], &pTemp[nPos], (nFound-nPos)*sizeof(sal_uInt16) ); 448 pTemp[nPos] = nVal;
|
/trunk/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 204 for ( sal_uInt16 nPos = 0; nPos < pCols->Count(); ++nPos ) in StateChanged() local 208 pHeaderBar->SetItemSize( pCols->GetObject(nPos)->GetId(), pCols->GetObject(nPos)->Width() ); in StateChanged() 496 if ( nPos >= pCols->Count() ) in GetColumnId() 498 return pCols->GetObject(nPos)->GetId(); in GetColumnId() 507 for ( sal_uInt16 nPos = 0; nPos < pCols->Count(); ++nPos ) in GetColumnPos() local 509 return nPos; in GetColumnPos() 519 for ( sal_uInt16 nPos = 0; nPos < pCols->Count(); ++nPos ) in IsFrozen() local 819 sal_uInt16 nPos; in Draw() local 820 for ( nPos = 0; nPos < pCols->Count(); ++nPos ) in Draw() 899 for ( nPos = 0; nPos < pCols->Count(); ++nPos ) in Draw() [all …]
|
/trunk/main/basic/source/runtime/ |
H A D | methods.cxx | 1005 sal_uInt16 nPos; in RTLFUNC() local 1021 nPos = 0; in RTLFUNC() 1023 nPos++; in RTLFUNC() 1035 nPos = 0; in RTLFUNC() 1037 nPos++; in RTLFUNC() 1106 nPos = 0; in RTLFUNC() 1120 nPos = 0; in RTLFUNC() 1438 nPos = aSrcStr.Search( aFindStr, nPos ); in RTLFUNC() 1442 nPos = nPos + nReplaceStrLen; in RTLFUNC() 3293 nPos = nPos / pSbStrm->GetBlockLen(); in RTLFUNC() [all …]
|
/trunk/main/pyuno/source/module/ |
H A D | pyuno.cxx | 164 for ( sal_Int32 nPos = 0; nPos < nDescr; ++nPos ) in val2str() local 166 buf.append( ppMemberNames[nPos] ); in val2str() 169 TYPELIB_DANGER_GET( &pMemberType, ppTypeRefs[nPos] ); in val2str() 172 if (nPos < (nDescr -1)) in val2str() 197 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in val2str() local 200 if (nPos < (nElements -1)) in val2str() 234 sal_Int32 nPos = ((typelib_EnumTypeDescription *)pTypeDescr)->nEnumValues; in val2str() local 235 while (nPos--) in val2str() 237 if (pValues[nPos] == *(int *)pVal) in val2str() 240 if (nPos >= 0) in val2str() [all …]
|
/trunk/main/vcl/inc/win/ |
H A D | salmenu.h | 38 virtual void InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos ); 39 virtual void RemoveItem( unsigned nPos ); 40 virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos ); 42 virtual void CheckItem( unsigned nPos, sal_Bool bCheck ); 43 virtual void EnableItem( unsigned nPos, sal_Bool bEnable ); 44 virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const XubString& rText ); 45 virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage ); 46 …virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, co…
|
/trunk/main/odk/examples/DevelopersGuide/GUI/ |
H A D | UnoMenu.java | 74 short nPos = 0; in getPopupMenu() local 76 xPopupMenu.insertItem(nId++, "First Entry", MenuItemStyle.AUTOCHECK, nPos++); in getPopupMenu() 77 …(nId++, "First Radio Entry", (short) (MenuItemStyle.RADIOCHECK + MenuItemStyle.AUTOCHECK), nPos++); in getPopupMenu() 78 …nId++, "Second Radio Entry", (short) (MenuItemStyle.RADIOCHECK + MenuItemStyle.AUTOCHECK), nPos++); in getPopupMenu() 79 …em(nId++, "Third RadioEntry",(short) (MenuItemStyle.RADIOCHECK + MenuItemStyle.AUTOCHECK), nPos++); in getPopupMenu() 80 xPopupMenu.insertSeparator(nPos++); in getPopupMenu() 81 …ertItem(nId++, "Fifth Entry", (short) (MenuItemStyle.CHECKABLE + MenuItemStyle.AUTOCHECK), nPos++); in getPopupMenu() 82 …rtItem(nId++, "Fourth Entry", (short) (MenuItemStyle.CHECKABLE + MenuItemStyle.AUTOCHECK), nPos++); in getPopupMenu() 83 xPopupMenu.insertItem(nId++, "Sixth Entry", (short) 0, nPos++); in getPopupMenu() 84 xPopupMenu.insertItem(nId++, "Close Dialog", (short) 0, nPos++); in getPopupMenu()
|
/trunk/main/vcl/inc/ |
H A D | salmenu.hxx | 75 virtual void InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos ) = 0; 76 virtual void RemoveItem( unsigned nPos ) = 0; 77 virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos ) = 0; 79 virtual void CheckItem( unsigned nPos, sal_Bool bCheck ) = 0; 80 virtual void EnableItem( unsigned nPos, sal_Bool bEnable ) = 0; 81 virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const XubString& rText )= 0; 82 virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage ) = 0; 83 …virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, co…
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlnum.cxx | 126 rInfo.SetNumRule( pDoc->GetNumRuleTbl()[nPos] ); in NewNumBulList() 641 sal_uInt16 nPos = aContexts.Count(); in EndNumBulListItem() local 643 while( !pCntxt && nPos>nContextStMin ) in EndNumBulListItem() 652 pCntxt = aContexts[nPos]; in EndNumBulListItem() 653 aContexts.Remove( nPos, 1 ); in EndNumBulListItem() 661 nPos = nContextStMin; in EndNumBulListItem() 725 const SwNode* pNd = pDoc->GetNodes()[nPos]; in FillNextNumInfo() 747 nPos = pNd->EndOfSectionIndex() + 1; in FillNextNumInfo() 794 sal_uLong nPos = in OutHTML_NumBulListStart() local 819 nPos++; in OutHTML_NumBulListStart() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | atrstck.cxx | 335 if ( nPos < nCount ) in Insert() 336 memmove( pArray + nPos + 1, pArray + nPos, in Insert() 337 ( nCount - nPos ) * sizeof(SwTxtAttr*) in Insert() 339 pArray[ nPos ] = (SwTxtAttr*)&rAttr; in Insert() 350 sal_uInt16 nPos = Pos( rAttr ); in Remove() local 351 if ( nPos < nCount ) in Remove() 353 memmove( pArray + nPos, pArray + nPos + 1, in Remove() 354 ( nCount - 1 - nPos ) * sizeof(SwTxtAttr*) in Remove() 542 const sal_uInt16 nPos = aAttrStack[ nStack ].Count(); in Push() local 543 ASSERT( nPos, "empty stack?" ); in Push() [all …]
|