/aoo41x/main/svtools/source/svhtml/ |
H A D | htmlsupp.cxx | 118 xub_StrLen nPos = 3; in RemoveSGMLComment() local 122 nPos = 4; in RemoveSGMLComment() 123 while( nPos < rString.Len() && in RemoveSGMLComment() 124 ( ( c = rString.GetChar( nPos )) != '\r' && c != '\n' ) ) in RemoveSGMLComment() 125 ++nPos; in RemoveSGMLComment() 126 if( c == '\r' && nPos+1 < rString.Len() && in RemoveSGMLComment() 127 '\n' == rString.GetChar( nPos+1 )) in RemoveSGMLComment() 128 ++nPos; in RemoveSGMLComment() 130 nPos = 3; in RemoveSGMLComment() 132 rString.Erase( 0, ++nPos ); in RemoveSGMLComment()
|
/aoo41x/main/sw/source/ui/frmdlg/ |
H A D | colmgr.cxx | 72 sal_uInt16 SwColMgr::GetGutterWidth( sal_uInt16 nPos ) const in GetGutterWidth() 75 if(nPos == USHRT_MAX ) in GetGutterWidth() 79 DBG_ASSERT(nPos < GetCount() - 1, "Spalte ueberindiziert" ); in GetGutterWidth() 81 nRet = rCols.GetObject(nPos)->GetRight() + rCols.GetObject(nPos + 1)->GetLeft(); in GetGutterWidth() 91 void SwColMgr::SetGutterWidth(sal_uInt16 nGutterWidth, sal_uInt16 nPos ) in SetGutterWidth() argument 93 if(nPos == USHRT_MAX) in SetGutterWidth() 97 DBG_ASSERT(nPos < GetCount() - 1, "Spalte ueberindiziert" ); in SetGutterWidth() 100 rCols.GetObject(nPos)->SetRight(nGutterWidth2); in SetGutterWidth() 101 rCols.GetObject(nPos + 1)->SetLeft(nGutterWidth2); in SetGutterWidth()
|
/aoo41x/main/sot/source/sdstor/ |
H A D | stgcache.cxx | 138 sal_uLong nPos = pStrm->Tell(); in SetPhysPageSize() local 141 pStrm->Seek( nPos ); in SetPhysPageSize() 445 sal_uLong nPos = Page2Pos( nPage ); in Read() local 451 nPos = 0L, nBytes = 512; in Read() 454 if( pStrm->Tell() != nPos ) in Read() 456 if( pStrm->Seek( nPos ) != nPos ) { in Read() 476 sal_uLong nPos = Page2Pos( nPage ); in Write() local 484 nPos = 0L, nBytes = 512; in Write() 485 if( pStrm->Tell() != nPos ) in Write() 487 if( pStrm->Seek( nPos ) != nPos ) { in Write() [all …]
|
/aoo41x/main/svx/inc/svx/ |
H A D | gridctrl.hxx | 87 sal_Bool HasField(sal_uInt32 nPos) const {return nPos < m_aVariants.Count();} in HasField() 88 …const ::svxform::DataColumn& GetField(sal_uInt32 nPos) const { return *m_aVariants.GetObject(nPos)… in GetField() 330 …virtual sal_uInt16 AppendColumn(const String& rName, sal_uInt16 nWidth = 0, sal_uInt16 nPos = HEAD… 414 …_uInt16 nId ) const { sal_uInt16 nPos = GetColumnPos(nId); return (nPos==(sal_uInt16)-1) ? GRID_CO… in GetViewColumnPos() local 425 sal_uInt16 GetColumnIdFromViewPos( sal_uInt16 nPos ) const { return GetColumnId(nPos + 1); } in GetColumnIdFromViewPos() 426 sal_uInt16 GetColumnIdFromModelPos( sal_uInt16 nPos ) const; 452 void MoveToPosition(sal_uInt32 nPos); 539 void SetSeekPos(sal_Int32 nPos,GrantControlAccess /*_aAccess*/) {m_nSeekPos = nPos;} in SetSeekPos() argument 584 void SetSeekPos(sal_Int32 nPos) {m_nSeekPos = nPos;} in SetSeekPos() argument
|
H A D | checklbx.hxx | 54 sal_uIntPtr nPos, void* pUserData, 66 sal_uInt16 nPos = LISTBOX_APPEND, 70 void RemoveEntry ( sal_uInt16 nPos ); 72 void SelectEntryPos ( sal_uInt16 nPos, sal_Bool bSelect = sal_True ); 75 String GetText ( sal_uInt16 nPos ) const; 77 void CheckEntryPos ( sal_uInt16 nPos, sal_Bool bCheck = sal_True ); 78 sal_Bool IsChecked ( sal_uInt16 nPos ) const; 81 void* SetEntryData ( sal_uInt16 nPos, void* pNewData ); 82 void* GetEntryData ( sal_uInt16 nPos ) const;
|
/aoo41x/main/writerfilter/source/doctok/ |
H A D | XNoteHelperImpl.hxx | 42 CpAndFc XNoteHelper<T>::getCpAndFc(sal_uInt32 nPos) in getCpAndFc() argument 45 if (nPos > getCount()) in getCpAndFc() 48 Cp aCp(mCpAndFcOffset.getCp() + mpCps->getU32(nPos * 4)); in getCpAndFc() 56 CpAndFc XNoteHelper<T>::getRefCpAndFc(sal_uInt32 nPos) in getRefCpAndFc() argument 59 if (nPos >= getCount()) in getRefCpAndFc() 62 Cp aCp(mpRefs->getFc(nPos)); in getRefCpAndFc() 71 XNoteHelper<T>::get(sal_uInt32 nPos) in get() argument 74 if (nPos >= getCount()) in get() 79 CpAndFc aCpAndFcStart(getCpAndFc(nPos)); in get() 80 CpAndFc aCpAndFcEnd(getCpAndFc(nPos + 1)); in get()
|
/aoo41x/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 1597 m_pFileStream->Seek(nPos); in UpdateRow() 1653 sal_Int32 nPos = 1; in DeleteRow() local 1730 sal_Int32 nPos = i; in UpdateBuffer() local 1737 for(nPos = 0;nPos<_xCols->getCount();++nPos) in UpdateBuffer() 1749 ++nPos; in UpdateBuffer() 1755 …if(pOrgRow.isValid() && (rRow.get()[nPos]->getValue().isNull() || rRow.get()[nPos] == (pOrgRow->ge… in UpdateBuffer() 1832 sal_Int32 nPos = i; in UpdateBuffer() local 1838 for(nPos = 0;nPos<_xCols->getCount();++nPos) in UpdateBuffer() 1870 pIndex->Update(m_nFilePos,*(pOrgRow->get())[nPos],*rRow.get()[nPos]); in UpdateBuffer() 2614 if(nPos != nCount) in copyData() [all …]
|
H A D | DNoException.cxx | 89 sal_uIntPtr nLen = m_pFileStream->Seek(nPos); in seekRow() 255 m_pFileStream->Seek(nPos); in WriteBuffer() 600 sal_uInt16 nPos = NODE_NOTFOUND; in SearchAndReplace() local 608 (*pPage)[nPos].GetKey() = rReplace; in SearchAndReplace() 614 ONDXNode& ONDXPage::operator[] (sal_uInt16 nPos) in operator []() argument 616 DBG_ASSERT(nCount > nPos, "falscher Indexzugriff"); in operator []() 617 return ppNodes[nPos]; in operator []() 623 DBG_ASSERT(nCount > nPos, "falscher Indexzugriff"); in operator []() 624 return ppNodes[nPos]; in operator []() 627 void ONDXPage::Remove(sal_uInt16 nPos) in Remove() argument [all …]
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | salsys.cxx | 122 int nPos = aBuf.getLength(); in GetScreenName() local 123 if( nPos > 0 ) in GetScreenName() 124 nPos--; in GetScreenName() 125 while( nPos > 0 && aBuf.charAt( nPos ) != ':' ) in GetScreenName() 126 nPos--; in GetScreenName() 128 while( nPos < aBuf.getLength() && aBuf.charAt( nPos ) != '.' ) in GetScreenName() 129 nPos++; in GetScreenName() 130 if( nPos < aBuf.getLength() ) in GetScreenName() 131 aBuf.setLength( nPos+1 ); in GetScreenName()
|
/aoo41x/main/tools/source/memtools/ |
H A D | table.cxx | 274 sal_uIntPtr nPos; in GetUniqueKey() local 275 sal_uIntPtr nTempPos = ImplGetIndex( nStartKey, &nPos ); in GetUniqueKey() 277 nPos = nTempPos; in GetUniqueKey() 278 nLastKey = (sal_uIntPtr)Container::GetObject( nPos ); in GetUniqueKey() 283 nPos += 2; in GetUniqueKey() 285 if ( nLastKey != (sal_uIntPtr)Container::GetObject( nPos ) ) in GetUniqueKey() 299 sal_uIntPtr nPos = ImplGetIndex( nKey, pPos ); in SearchKey() local 300 if ( nPos != TABLE_ENTRY_NOTFOUND ) in SearchKey() 302 nPos /= 2; in SearchKey() 303 *pPos = nPos; in SearchKey() [all …]
|
/aoo41x/main/xmloff/source/core/ |
H A D | xmlcnitm.cxx | 109 sal_uInt16 nPos = aNamespaceMap.Add( rPrefix, rNamespace ); in AddAttr() local 110 aPrefixPoss.Insert( nPos, aPrefixPoss.Count() ); in AddAttr() 121 sal_uInt16 nPos = aNamespaceMap.GetIndexByPrefix( rPrefix ); in AddAttr() local 122 if( USHRT_MAX == nPos ) in AddAttr() 125 aPrefixPoss.Insert( nPos, aPrefixPoss.Count() ); in AddAttr() 152 sal_uInt16 nPos = aNamespaceMap.Add( rPrefix, rNamespace ); in SetAt() local 153 if( USHRT_MAX == nPos ) in SetAt() 158 aPrefixPoss[i] = nPos; in SetAt() 171 sal_uInt16 nPos = aNamespaceMap.GetIndexByPrefix( rPrefix ); in SetAt() local 172 if( USHRT_MAX == nPos ) in SetAt() [all …]
|
/aoo41x/main/stoc/source/security/ |
H A D | access_controller.cxx | 619 for ( sal_Int32 nPos = 0; nPos < permissions.getLength(); ++nPos ) in dumpPermissions() local 621 OString str( ::rtl::OUStringToOString( p[ nPos ], RTL_TEXTENCODING_ASCII_US ) ); in dumpPermissions() 650 for ( size_t nPos = 0; nPos < vec.size(); ++nPos ) in checkAndClearPostPoned() local 652 pair< OUString, Any > const & p = vec[ nPos ]; in checkAndClearPostPoned() 661 for ( size_t nPos = 0; nPos < vec.size(); ++nPos ) in checkAndClearPostPoned() local 663 pair< OUString, Any > const & p = vec[ nPos ]; in checkAndClearPostPoned() 671 for ( size_t nPos = 0; nPos < vec.size(); ++nPos ) in checkAndClearPostPoned() local 673 pair< OUString, Any > const & p = vec[ nPos ]; in checkAndClearPostPoned() 1014 for ( sal_Int32 nPos = s_serviceNames.getLength(); nPos--; ) in supportsService() local 1016 if (serviceName.equals( pNames[ nPos ] )) in supportsService()
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | svxbox.hxx | 80 void RemoveEntry( sal_uInt16 nPos ); 93 void ModifyEntry( sal_uInt16 nPos, const String& aName ); 95 const SvxBoxEntry& GetModifiedEntry( sal_uInt16 nPos ) const; 98 const SvxBoxEntry& GetRemovedEntry( sal_uInt16 nPos ) const; 101 const SvxBoxEntry& GetNewEntry( sal_uInt16 nPos ) const; 149 void RemoveEntry( sal_uInt16 nPos ); 157 void ModifyEntry( sal_uInt16 nPos, const String& aName ); 159 const SvxBoxEntry& GetModifiedEntry( sal_uInt16 nPos ) const; 162 const SvxBoxEntry& GetRemovedEntry( sal_uInt16 nPos ) const; 165 const SvxBoxEntry& GetNewEntry( sal_uInt16 nPos ) const;
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_freebsd_powerpc/ |
H A D | uno2cpp.cxx | 383 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) local 385 const typelib_MethodParameter & rParam = pParams[nPos]; 391 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, 445 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), 447 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call 455 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), 456 pUnoArgs[nPos], pParamTypeDescr, 459 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted 465 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos];
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_linux_mips/ |
H A D | uno2cpp.cxx | 300 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 302 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 308 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 363 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 365 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 373 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 374 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 377 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 383 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_linux_powerpc/ |
H A D | uno2cpp.cxx | 383 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) local 385 const typelib_MethodParameter & rParam = pParams[nPos]; 391 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, 445 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), 447 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call 455 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), 456 pUnoArgs[nPos], pParamTypeDescr, 459 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted 465 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos];
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_macosx_powerpc/ |
H A D | uno2cpp.cxx | 346 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 348 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 355 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 409 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 411 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 419 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 420 pUnoArgs[nPos], pParamTypeDescr, pThis->getBridge()->getUno2Cpp() ); in cpp_call() 422 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 428 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/aoo41x/main/bridges/source/cpp_uno/msvc_win32_intel/ |
H A D | uno2cpp.cxx | 194 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 196 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 204 pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 226 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 228 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 237 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 238 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 241 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 247 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/aoo41x/main/io/source/stm/ |
H A D | streamhelper.cxx | 129 void MemRingBuffer::readAt( sal_Int32 nPos, Sequence<sal_Int8> &seq , sal_Int32 nBytesToRead ) const in readAt() argument 132 if( nPos + nBytesToRead > m_nOccupiedBuffer ) { in readAt() 136 sal_Int32 nStartReadingPos = nPos + m_nStart; in readAt() 154 void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq ) in writeAt() argument 161 if( nPos < 0 || nPos > std::numeric_limits< sal_Int32 >::max() - nLen ) in writeAt() 166 if( nPos + nLen - m_nOccupiedBuffer > 0 ) { in writeAt() 167 resizeBuffer( nPos + seq.getLength() ); in writeAt() 170 sal_Int32 nStartWritingIndex = m_nStart + nPos; in writeAt() 186 m_nOccupiedBuffer = Max( nPos + seq.getLength() , m_nOccupiedBuffer ); in writeAt()
|
/aoo41x/main/tools/inc/tools/ |
H A D | ownlist.hxx | 49 void Remove( sal_uIntPtr nPos ) \ 50 { delete (Type *)aTypes.Remove( nPos ); } \ 51 Type & Insert( const Type &, sal_uIntPtr nPos ); \ 56 Type & GetObject( sal_uIntPtr nPos ) const \ 57 { return *(Type *)aTypes.GetObject( nPos ); } \ 58 Type & operator []( sal_uIntPtr nPos ) const \ 59 { return *(Type *)aTypes.GetObject( nPos ); } \ 83 Type & ClassName::Insert( const Type & rType, sal_uIntPtr nPos ) \ 86 aTypes.Insert( pType, nPos ); \
|
/aoo41x/main/svtools/source/contnr/ |
H A D | ivctrl.cxx | 162 _pImp->InsertEntry( pEntry, nPos, pPos ); in InsertEntry() 170 _pImp->InsertEntry( pEntry, nPos, pPos ); in InsertEntry() 179 _pImp->InsertEntry( pEntry, nPos, pPos ); in InsertEntry() 311 sal_uLong nPos; in GetFocus() local 396 return _pImp->GetEntry( nPos ); in GetEntry() 421 sal_uLong nPos; in ClickIcon() local 422 GetSelectedEntry ( nPos ); in ClickIcon() 578 sal_uInt16 nPos = 0; in FillLayoutData() local 579 while ( nPos < nCount ) in FillLayoutData() 581 SvxIconChoiceCtrlEntry* pEntry = GetEntry( nPos ); in FillLayoutData() [all …]
|
/aoo41x/main/svx/source/gallery2/ |
H A D | galtheme.cxx | 140 aObjectList.Insert( pEntry, nPos ); in ImplWriteSgaObject() 467 SgaObject* GalleryTheme::AcquireObject( sal_uIntPtr nPos ) in AcquireObject() argument 469 return ImplReadSgaObject( aObjectList.GetObject( nPos ) ); in AcquireObject() 519 sal_Bool GalleryTheme::RemoveObject( sal_uIntPtr nPos ) in RemoveObject() argument 521 GalleryObject* pEntry = aObjectList.Remove( nPos ); in RemoveObject() 536 ImplBroadcast( nPos ); in RemoveObject() 833 SgaObject* pObj = AcquireObject( nPos ); in GetThumb() 850 const GalleryObject* pObject = ImplGetGalleryObject( nPos ); in GetGraphic() 874 if( GetModel( nPos, *aModel.GetModel(), bProgress ) ) in GetGraphic() 899 SgaObject* pObj = AcquireObject( nPos ); in GetGraphic() [all …]
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | combobox.hxx | 129 sal_uInt16 InsertEntry( const XubString& rStr, sal_uInt16 nPos = COMBOBOX_APPEND ); 130 …sal_uInt16 InsertEntry( const XubString& rStr, const Image& rImage, sal_uInt16 nPos = COM… 133 void RemoveEntry( sal_uInt16 nPos ); 139 Image GetEntryImage( sal_uInt16 nPos ) const; 140 XubString GetEntry( sal_uInt16 nPos ) const; 187 void SetEntryData( sal_uInt16 nPos, void* pNewData ); 188 void* GetEntryData( sal_uInt16 nPos ) const; 190 void SetTopEntry( sal_uInt16 nPos ); 191 void ShowProminentEntry( sal_uInt16 nPos ); 201 sal_Bool IsEntryPosSelected( sal_uInt16 nPos ) const; [all …]
|
/aoo41x/main/svgio/inc/svgio/svgreader/ |
H A D | svgtools.hxx | 194 …void skip_char(const rtl::OUString& rCandidate, const sal_Unicode& rChar, sal_Int32& nPos, const s… 195 …ndidate, const sal_Unicode& rCharA, const sal_Unicode& rCharB, sal_Int32& nPos, const sal_Int32 nL… 196 …void copySign(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, cons… 197 …void copyNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, co… 198 …void copyHex(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const… 199 …void copyString(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, co… 200 …(const rtl::OUString& rCandidate, const sal_Unicode& rLimiter, sal_Int32& nPos, rtl::OUStringBuffe… 201 …bool readNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, double& fNum, const sal_Int32 nL… 202 SvgUnit readUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, const sal_Int32 nLen); 203 …bool readNumberAndUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, SvgNumber& aNum, const sa… [all …]
|
/aoo41x/main/sw/source/ui/dbui/ |
H A D | dbmgr.cxx | 398 sal_Int32 nPos = 0; in MergeNew() local 755 for(sal_uInt16 nPos = 0; nPos < aDataSourceParams.Count(); nPos++) in ~SwNewDBMgr() local 1860 for(sal_Int32 nPos = 0; !bFound && nPos < pFound->aSelection.getLength(); nPos++) in GetColumnCnt() local 1955 sal_Int32 nPos = 0; in ToNextRecord() local 2164 for(sal_uInt16 nPos = 0; nPos < aDataSourceParams.Count(); nPos++) in CloseAll() local 2197 for(sal_uInt16 nPos = aDataSourceParams.Count(); nPos; nPos--) in FindDSData() local 2245 for(sal_uInt16 nPos = 0; nPos < aDataSourceParams.Count(); nPos++) in FindDSConnection() local 2633 for(sal_uInt16 nPos = 0; nPos < aDataSourceParams.Count(); nPos++) in ExecuteFormLetter() local 2670 for(sal_Int32 nPos = 0; nPos < rProperties.getLength(); nPos++) in InsertText() local 2681 nSelectionPos = nPos; in InsertText() [all …]
|