/trunk/main/dbaccess/source/ui/control/ |
H A D | dbtreelistbox.cxx | 534 for ( sal_uInt16 pos = 0; pos < nCount; ++pos ) in lcl_adjustMenuItemIDs() local 537 if ( _rMenu.GetItemType( pos ) == MENUITEM_SEPARATOR ) in lcl_adjustMenuItemIDs() 540 sal_uInt16 nId = _rMenu.GetItemId(pos); in lcl_adjustMenuItemIDs() 551 _rMenu.GetItemBits( nId ), pos ); in lcl_adjustMenuItemIDs() 560 _rMenu.RemoveItem( pos+1 ); in lcl_adjustMenuItemIDs() 572 for ( sal_uInt16 pos = 0; pos < nCount; ++pos ) in lcl_insertMenuItemImages() local 575 if ( _rMenu.GetItemType( pos ) == MENUITEM_SEPARATOR ) in lcl_insertMenuItemImages() 578 sal_uInt16 nId = _rMenu.GetItemId(pos); in lcl_insertMenuItemImages()
|
/trunk/main/soltools/mkdepend/ |
H A D | collectdircontent.cxx | 6 string::size_type pos = filePath.rfind (sepU); in split_path() local 8 if ((posW != string::npos) && ((posW > pos) || (pos == string::npos))) pos = posW; in split_path() 9 if (pos != string::npos) { in split_path() 10 string dirName = filePath.substr(0, pos); in split_path() 11 return PathFilePair(dirName, filePath.substr(pos + 1, filePath.length())); in split_path()
|
/trunk/main/i18npool/source/breakiterator/ |
H A D | breakiteratorImpl.cxx | 78 sal_Int32 pos=nPos; in skipSpace() local 82 …hile (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=pos; in skipSpace() 84 …while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=pos; in skipSpace() 88 … while (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch) || in skipSpace() 89 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace() 91 … while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch) || in skipSpace() 92 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace() 96 …ile (nPos < len && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=pos; in skipSpace() 98 …hile (nPos > 0 && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=pos; in skipSpace()
|
/trunk/main/comphelper/source/container/ |
H A D | enumerablemap.cxx | 609 return ( pos != m_aData.m_pValues->end() ); in containsKey() 636 if ( pos == m_aData.m_pValues->end() ) in get() 639 return pos->second; in get() 652 KeyedValues::iterator pos = m_aData.m_pValues->find( _key ); in put() local 653 if ( pos != m_aData.m_pValues->end() ) in put() 655 previousValue = pos->second; in put() 656 pos->second = _value; in put() 677 KeyedValues::iterator pos = m_aData.m_pValues->find( _key ); in remove() local 678 if ( pos != m_aData.m_pValues->end() ) in remove() 680 previousValue = pos->second; in remove() [all …]
|
/trunk/main/writerfilter/source/doctok/ |
H A D | WW8Text.cxx | 38 sal_Int16 WW8sprmPChgTabsPapx::get_dxaDel(sal_uInt32 pos) in get_dxaDel() argument 40 return getS16(0x4 + pos * 2); in get_dxaDel() 48 sal_Int16 WW8sprmPChgTabsPapx::get_dxaAdd(sal_uInt32 pos) in get_dxaAdd() argument 50 return getS16(0x4 + get_dxaDel_count() * 2 + 1 + pos * 2); in get_dxaAdd() 59 WW8sprmPChgTabsPapx::get_tbdAdd(sal_uInt32 pos) in get_tbdAdd() argument 64 + pos, 1)); in get_tbdAdd()
|
/trunk/main/xmlsecurity/source/xmlsec/nss/ |
H A D | securityenvironment_nssimpl.cxx | 339 unsigned int pos ; in getSymKey() local 342 …for( pos = 0, keyIt = m_tSymKeyList.begin() ; pos < position && keyIt != m_tSymKeyList.end() ; pos… in getSymKey() 344 if( pos == position && keyIt != m_tSymKeyList.end() ) in getSymKey() 393 unsigned int pos ; in getPubKey() local 396 …for( pos = 0, keyIt = m_tPubKeyList.begin() ; pos < position && keyIt != m_tPubKeyList.end() ; pos… in getPubKey() 398 if( pos == position && keyIt != m_tPubKeyList.end() ) in getPubKey() 447 unsigned int pos ; in getPriKey() local 450 …for( pos = 0, keyIt = m_tPriKeyList.begin() ; pos < position && keyIt != m_tPriKeyList.end() ; pos… in getPriKey() 452 if( pos == position && keyIt != m_tPriKeyList.end() ) in getPriKey()
|
/trunk/main/xmlsecurity/source/xmlsec/mscrypt/ |
H A D | securityenvironment_mscryptimpl.cxx | 382 unsigned int pos ; in getSymKey() local 385 …for( pos = 0, keyIt = m_tSymKeyList.begin() ; pos < position && keyIt != m_tSymKeyList.end() ; pos… in getSymKey() 387 if( pos == position && keyIt != m_tSymKeyList.end() ) in getSymKey() 438 unsigned int pos ; in getPubKey() local 441 …for( pos = 0, keyIt = m_tPubKeyList.begin() ; pos < position && keyIt != m_tPubKeyList.end() ; pos… in getPubKey() 443 if( pos == position && keyIt != m_tPubKeyList.end() ) in getPubKey() 494 unsigned int pos ; in getPriKey() local 497 …for( pos = 0, keyIt = m_tPriKeyList.begin() ; pos < position && keyIt != m_tPriKeyList.end() ; pos… in getPriKey() 499 if( pos == position && keyIt != m_tPriKeyList.end() ) in getPriKey()
|
/trunk/main/vcl/source/window/ |
H A D | taskpanelist.cxx | 40 Point pos; in ImplTaskPaneListGetPos() local 43 pos = ((DockingWindow*)w)->GetPosPixel(); in ImplTaskPaneListGetPos() 46 pos = pF->OutputToAbsoluteScreenPixel( pF->ScreenToOutputPixel( pos ) ); in ImplTaskPaneListGetPos() 48 pos = w->OutputToAbsoluteScreenPixel( pos ); in ImplTaskPaneListGetPos() 51 pos = w->OutputToAbsoluteScreenPixel( w->GetPosPixel() ); in ImplTaskPaneListGetPos() 53 return pos; in ImplTaskPaneListGetPos()
|
/trunk/main/sal/rtl/source/ |
H A D | bootstrap.cxx | 876 sal_Unicode read(rtl::OUString const & text, sal_Int32 * pos, bool * escaped) { in read() argument 878 pos != NULL && *pos >= 0 && *pos < text.getLength() && escaped != NULL); in read() 879 sal_Unicode c = text[(*pos)++]; in read() 882 if (*pos < text.getLength() - 4 && text[*pos] == 'u' && in read() 883 ((n1 = hex(text[*pos + 1])) >= 0) && in read() 884 ((n2 = hex(text[*pos + 2])) >= 0) && in read() 885 ((n3 = hex(text[*pos + 3])) >= 0) && in read() 886 ((n4 = hex(text[*pos + 4])) >= 0)) in read() 888 *pos += 5; in read() 892 } else if (*pos < text.getLength()) { in read() [all …]
|
/trunk/main/filter/source/config/tools/merge/ |
H A D | pyAltFCFGMerge | 365 pos = lCommandLineArgs[arg].find('=') 366 if pos != -1: 367 sArg = lCommandLineArgs[arg][0:pos] 368 sValue = lCommandLineArgs[arg][pos+1:] 375 pos = lCommandLineArgs[arg].rfind('-') 376 if pos == -1: 377 pos = lCommandLineArgs[arg].rfind('/') 378 if pos != -1: 379 sArg = lCommandLineArgs[arg][pos+1:]
|
/trunk/main/sfx2/source/appl/ |
H A D | shutdowniconw32.cxx | 194 InsertMenuItemW( hMenu, pos++, TRUE, &mi ); in addMenuItem() 204 int pos=0; in createSystrayMenu() local 263 pShutdownIcon->GetUrlDescription( sURL ), pos, true, aEmpty ); in createSystrayMenu() 270 pShutdownIcon->GetResString( STR_QUICKSTART_FROMTEMPLATE ), pos, true, aEmpty); in createSystrayMenu() 271 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu() 273 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu() 275 …addMenuItem( hMenu, IDM_INSTALL,0, pShutdownIcon->GetResString( STR_QUICKSTART_PRELAUNCH ), pos, f… in createSystrayMenu() 276 addMenuItem( hMenu, static_cast< UINT >( -1 ), 0, OUString(), pos, false, aEmpty ); in createSystrayMenu() 277 …addMenuItem( hMenu, IDM_EXIT, 0, pShutdownIcon->GetResString( STR_QUICKSTART_EXIT ), pos, false,… in createSystrayMenu() 294 int pos=0; in deleteSystrayMenu() local [all …]
|
/trunk/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/ |
H A D | DocEncoder.java | 118 int pos = 0; in getRecords() local 126 System.arraycopy(textBytes, pos, recBytes, 0, recBytes.length); in getRecords() 127 pos += recBytes.length; in getRecords() 134 if (pos < textLen) { in getRecords() 138 recBytes = new byte[textLen - pos]; in getRecords() 139 System.arraycopy(textBytes, pos, recBytes, 0, recBytes.length); in getRecords()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | eventhandler.cxx | 225 if ( pos == s_aKnownEvents.end() ) in lcl_getEventDescriptionForMethod() 228 _out_rDescription = pos->second; in lcl_getEventDescriptionForMethod() 418 if ( pos == m_aEventNameAccess.end() ) in impl_getDescriptor_throw() 420 return pos->second; in impl_getDescriptor_throw() 426 EventMap::iterator pos = m_aEventNameAccess.find( _rName ); in replaceByName() local 427 if ( pos == m_aEventNameAccess.end() ) in replaceByName() 480 EventMap::const_iterator pos = m_aEventNameAccess.find( _rName ); in hasByName() local 481 return pos != m_aEventNameAccess.end(); in hasByName() 1138 EventMap::const_iterator pos = m_aEvents.find( _rPropertyName ); in impl_getEventForName_throw() local 1139 if ( pos == m_aEvents.end() ) in impl_getEventForName_throw() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | impimagetree.cxx | 62 rtl::OUString const & name, sal_Int32 pos, rtl::OUString const & locale) in createPath() argument 64 rtl::OUStringBuffer b(name.copy(0, pos + 1)); in createPath() 66 b.append(name.copy(pos)); in createPath() 160 sal_Int32 pos = name.lastIndexOf('/'); in loadImage() local 161 if (pos != -1) { in loadImage() 164 paths.push_back(createPath(name, pos, loc.Language)); in loadImage() 169 rtl::OUString p(createPath(name, pos, b.makeStringAndClear())); in loadImage() 176 createPath(name, pos, b.makeStringAndClear())); in loadImage()
|
/trunk/main/sd/source/ui/sidebar/ |
H A D | SidebarShellManager.cxx | 96 SubShells::iterator pos = maSubShells.find( i_nShellId ); in RemoveSubShell() local 97 ENSURE_OR_RETURN_VOID( pos != maSubShells.end(), "no shell for this ID" ); in RemoveSubShell() 98 if ( pos->second.mpWindow != NULL ) in RemoveSubShell() 100 … pos->second.mpWindow->RemoveEventListener( LINK( this, SidebarShellManager, WindowCallback ) ); in RemoveSubShell() 102 mpViewShellManager->DeactivateSubShell( mrViewShell, pos->first ); in RemoveSubShell() 103 maSubShells.erase( pos ); in RemoveSubShell()
|
/trunk/main/toolkit/source/controls/ |
H A D | unocontrolcontainer.cxx | 253 ControlMap::const_iterator pos = maControls.find( _nIdentifier ); in getControlForIdentifier() local 254 if ( pos == maControls.end() ) in getControlForIdentifier() 256 _out_rxControl = pos->second->getControl(); in getControlForIdentifier() 263 ControlMap::iterator pos = maControls.find( _nId ); in removeControlById() local 264 DBG_ASSERT( pos != maControls.end(), "UnoControlHolderList::removeControlById: invalid id!" ); in removeControlById() 265 if ( pos == maControls.end() ) in removeControlById() 268 maControls.erase( pos ); in removeControlById() 276 ControlMap::iterator pos = maControls.find( _nId ); in replaceControlById() local 277 DBG_ASSERT( pos != maControls.end(), "UnoControlHolderList::replaceControlById: invalid id!" ); in replaceControlById() 278 if ( pos == maControls.end() ) in replaceControlById() [all …]
|
/trunk/main/desktop/source/deployment/registry/ |
H A D | dp_registry.cxx | 211 for ( sal_Int32 pos = 0; pos < packageTypes.getLength(); ++pos ) in insertBackend() local 214 packageTypes[ pos ]; in insertBackend() 437 for ( sal_Int32 pos = 0; pos < types.getLength(); ++pos ) { in create() local 439 types[ pos ]; in create() 447 if (pos < (types.getLength() - 1)) in create()
|
H A D | dp_backend.cxx | 295 for ( ::std::size_t pos = 0; pos < tempEntries.size(); ++pos ) in deleteUnusedFolders() 297 if (::std::find( usedFolders.begin(), usedFolders.end(), tempEntries[pos] ) == in deleteUnusedFolders() 300 deleteTempFolder(tempEntries[pos]); in deleteUnusedFolders() 602 for ( sal_Int32 pos = 0; pos < elements.getLength(); ++pos ) in fireModified() local 605 elements[ pos ], UNO_QUERY ); in fireModified()
|
/trunk/main/ucb/source/ucp/hierarchy/ |
H A D | hierarchydata.cxx | 63 sal_Int32 pos; member 65 : officeDirs( 0 ), pos( -1 /* before first */ ) {}; in iterator_Impl() 976 if ( it.m_pImpl->pos == -1 ) in first() 1041 it.m_pImpl->pos = 0; in first() 1050 if ( it.m_pImpl->pos == -1 ) in next() 1053 ++(it.m_pImpl->pos); in next() 1055 return ( it.m_pImpl->pos < it.m_pImpl->names.getLength() ); in next() 1189 if ( ( m_pImpl->pos != -1 ) in operator *() 1191 && ( m_pImpl->pos < m_pImpl->names.getLength() ) ) in operator *() 1197 makeXMLName( m_pImpl->names.getConstArray()[ m_pImpl->pos ], aKey ); in operator *() [all …]
|
/trunk/main/tools/source/fsys/ |
H A D | wldcrd.cxx | 49 int pos=0; in ImpMatch() local 65 if ( !pos ) in ImpMatch() 68 pWild += pos; in ImpMatch() 78 pos = 0; in ImpMatch() 101 pos--; in ImpMatch()
|
/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | vendorlist.cxx | 63 for ( size_t pos = 0; pos < count; ++pos ) in END_VENDOR_MAP() local 65 OString sVendor(gVendorMap[pos].sVendorName); in END_VENDOR_MAP() 66 arNames[pos] = OStringToOUString(sVendor, RTL_TEXTENCODING_UTF8); in END_VENDOR_MAP()
|
/trunk/main/crashrep/source/win32/ |
H A D | soreport.cpp | 566 string::size_type pos = 0; in xml_encode() local 571 for( pos = 0; (pos = temp.find( '&', pos )) != string::npos; pos += 4 ) in xml_encode() 574 for( pos = 0; (pos = temp.find( '<', pos )) != string::npos; pos += 4 ) in xml_encode() 575 temp.replace( pos, 1, "<" ); in xml_encode() 577 for( pos = 0; (pos = temp.find( '>', pos )) != string::npos; pos += 4 ) in xml_encode() 578 temp.replace( pos, 1, ">" ); in xml_encode() 629 size_t pos = aDir.rfind( '\\' ); in GetFileDirectory() local 631 if ( string::npos != pos ) in GetFileDirectory() 632 aDir.erase( pos + 1 ); in GetFileDirectory() 646 if ( string::npos != pos ) in GetFileName() [all …]
|
/trunk/main/cli_ure/source/climaker/ |
H A D | climaker_app.cxx | 124 for ( sal_Int32 pos = 0; in get_option_info() local 125 pos < (sizeof (s_option_infos) / sizeof (OptionInfo)); in get_option_info() 126 ++pos ) in get_option_info() 128 OptionInfo const & option_info = s_option_infos[ pos ]; in get_option_info() 646 for ( size_t pos = 0; pos < extra_assemblies.size(); ++pos ) in SAL_IMPLEMENT_MAIN() local 648 assemblies[ pos ] = Assembly::LoadFrom( in SAL_IMPLEMENT_MAIN() 649 ustring_to_String( extra_assemblies[ pos ] ) ); in SAL_IMPLEMENT_MAIN()
|
/trunk/main/sw/source/core/crsr/ |
H A D | crbm.cxx | 227 SwPosition pos(*GetCrsr()->GetPoint()); in GetCurrentFieldmark() local 228 return getIDocumentMarkAccess()->getFieldmarkFor(pos); in GetCurrentFieldmark() 233 SwPosition pos(*GetCrsr()->GetPoint()); in GetFieldmarkAfter() local 234 return getIDocumentMarkAccess()->getFieldmarkAfter(pos); in GetFieldmarkAfter() 239 SwPosition pos(*GetCrsr()->GetPoint()); in GetFieldmarkBefore() local 240 return getIDocumentMarkAccess()->getFieldmarkBefore(pos); in GetFieldmarkBefore()
|
/trunk/main/dbaccess/source/ui/app/ |
H A D | subcomponentmanager.cxx | 534 SubComponents::const_iterator pos = ::std::find_if( in activateSubFrame() local 539 if ( pos == m_pData->m_aComponents.end() ) in activateSubFrame() 543 const Reference< XFrame > xFrame( pos->xFrame, UNO_SET_THROW ); in activateSubFrame() 547 if ( pos->xModel.is() ) in activateSubFrame() 548 o_rComponent = pos->xModel.get(); in activateSubFrame() 549 else if ( pos->xController.is() ) in activateSubFrame() 550 o_rComponent = pos->xController.get(); in activateSubFrame() 552 o_rComponent = pos->xFrame.get(); in activateSubFrame()
|