Home
last modified time | relevance | path

Searched refs:rKey (Results 1 – 25 of 117) sorted by relevance

12345

/AOO41X/main/connectivity/source/inc/dbase/
H A Ddindexnode.hxx58 inline ONDXKey(const ONDXKey& rKey);
60 inline ONDXKey& operator= (const ONDXKey& rKey);
69 sal_Bool operator == (const ONDXKey& rKey) const;
70 sal_Bool operator != (const ONDXKey& rKey) const;
71 sal_Bool operator < (const ONDXKey& rKey) const;
72 sal_Bool operator <= (const ONDXKey& rKey) const;
73 sal_Bool operator > (const ONDXKey& rKey) const;
74 sal_Bool operator >= (const ONDXKey& rKey) const;
82 StringCompare Compare(const ONDXKey& rKey) const;
186 sal_uInt16 FindPos(const ONDXKey& rKey) const;
[all …]
/AOO41X/main/svtools/source/filter/
H A DFilterConfigItem.cxx291 sal_Bool FilterConfigItem::ReadBool( const OUString& rKey, sal_Bool bDefault ) in ReadBool() argument
295 PropertyValue* pPropVal = GetPropertyValue( aFilterData, rKey ); in ReadBool()
300 else if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) in ReadBool()
305 aBool.Name = rKey; in ReadBool()
311 sal_Int32 FilterConfigItem::ReadInt32( const OUString& rKey, sal_Int32 nDefault ) in ReadInt32() argument
315 PropertyValue* pPropVal = GetPropertyValue( aFilterData, rKey ); in ReadInt32()
320 else if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) in ReadInt32()
325 aInt32.Name = rKey; in ReadInt32()
332 Size FilterConfigItem::ReadSize( const OUString& rKey, const Size& rDefault ) in ReadSize() argument
350 else if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) in ReadSize()
[all …]
/AOO41X/main/vcl/source/window/
H A Dmnemonic.cxx72 sal_Unicode MnemonicGenerator::ImplFindMnemonic( const XubString& rKey ) in ImplFindMnemonic() argument
75 while ( (nIndex = rKey.Search( MNEMONIC_CHAR, nIndex )) != STRING_NOTFOUND ) in ImplFindMnemonic()
77 sal_Unicode cMnemonic = rKey.GetChar( nIndex+1 ); in ImplFindMnemonic()
88 void MnemonicGenerator::RegisterMnemonic( const XubString& rKey ) in RegisterMnemonic() argument
97 XubString aKey = xCharClass->toUpper( rKey, 0, rKey.Len(), rLocale ); in RegisterMnemonic()
131 sal_Bool MnemonicGenerator::CreateMnemonic( XubString& rKey ) in CreateMnemonic() argument
133 if ( !rKey.Len() || ImplFindMnemonic( rKey ) ) in CreateMnemonic()
143 XubString aKey = xCharClass->toUpper( rKey, 0, rKey.Len(), rLocale ); in CreateMnemonic()
223 rKey.Insert( MNEMONIC_CHAR, nIndex ); in CreateMnemonic()
275 rKey.Insert( MNEMONIC_CHAR, nBestIndex ); in CreateMnemonic()
[all …]
/AOO41X/main/sd/source/ui/slidesorter/cache/
H A DSlsBitmapCache.cxx199 bool BitmapCache::HasBitmap (const CacheKey& rKey) in HasBitmap() argument
203 CacheBitmapContainer::iterator iEntry (mpBitmapContainer->find(rKey)); in HasBitmap()
211 bool BitmapCache::BitmapIsUpToDate (const CacheKey& rKey) in BitmapIsUpToDate() argument
216 CacheBitmapContainer::iterator aIterator (mpBitmapContainer->find(rKey)); in BitmapIsUpToDate()
226 Bitmap BitmapCache::GetBitmap (const CacheKey& rKey) in GetBitmap() argument
230 CacheBitmapContainer::iterator iEntry (mpBitmapContainer->find(rKey)); in GetBitmap()
235 SetBitmap(rKey, Bitmap(), false); in GetBitmap()
236 iEntry = mpBitmapContainer->find(rKey); in GetBitmap()
257 Bitmap BitmapCache::GetMarkedBitmap (const CacheKey& rKey) in GetMarkedBitmap() argument
261 CacheBitmapContainer::iterator iEntry (mpBitmapContainer->find(rKey)); in GetMarkedBitmap()
[all …]
H A DSlsBitmapCache.hxx96 bool HasBitmap (const CacheKey& rKey);
101 bool BitmapIsUpToDate (const CacheKey& rKey);
105 Bitmap GetBitmap (const CacheKey& rKey);
109 Bitmap GetMarkedBitmap (const CacheKey& rKey);
114 void ReleaseBitmap (const CacheKey& rKey);
123 bool InvalidateBitmap (const CacheKey& rKey);
132 const CacheKey& rKey,
139 const CacheKey& rKey,
145 void SetPrecious (const CacheKey& rKey, bool bIsPrecious);
178 const CacheKey& rKey,
[all …]
/AOO41X/main/ucbhelper/source/provider/
H A Dproviderhelper.cxx351 const rtl::OUString& rKey, sal_Bool bCreate ) in getAdditionalPropertySet() argument
361 rKey, bCreate ) ); in getAdditionalPropertySet()
410 const rtl::OUString& rKey = pKeys[ n ]; in renameAdditionalPropertySet() local
411 if ( rKey.compareTo( in renameAdditionalPropertySet()
414 || rKey.equals( aOldKeyWithoutSlash ) ) in renameAdditionalPropertySet()
417 = rKey.replaceAt( in renameAdditionalPropertySet()
420 rKey, aNewKey, sal_False ) ) in renameAdditionalPropertySet()
497 const rtl::OUString& rKey = pKeys[ n ]; in copyAdditionalPropertySet() local
498 if ( rKey.compareTo( in copyAdditionalPropertySet()
501 || rKey.equals( aSrcKeyWithoutSlash ) ) in copyAdditionalPropertySet()
[all …]
/AOO41X/main/connectivity/source/drivers/dbase/
H A Ddindexnode.cxx135 sal_uInt16 ONDXPage::FindPos(const ONDXKey& rKey) const in FindPos()
139 while (i < nCount && rKey > ((*this)[i]).GetKey()) in FindPos()
146 sal_Bool ONDXPage::Find(const ONDXKey& rKey) in Find() argument
154 while (i < nCount && rKey > ((*this)[i]).GetKey()) in Find()
163 bResult = aPage.Is() && aPage->Find(rKey); in Find()
173 bResult = rKey == ((*this)[i]).GetKey(); in Find()
787 StringCompare ONDXKey::Compare(const ONDXKey& rKey) const in Compare()
794 …if (rKey.getValue().isNull() || (rKey.IsText(getDBType()) && !rKey.getValue().getString().getLengt… in Compare()
799 else if (rKey.getValue().isNull()) in Compare()
808 sal_Int32 nRes = getValue().getString().compareTo(rKey.getValue()); in Compare()
[all …]
H A DDNoException.cxx360 StringCompare ONDXKey::Compare(const ONDXKey& rKey) const in Compare()
368 …if (rKey.getValue().isNull() || (rKey.IsText(getDBType()) && !rKey.getValue().getString().getLengt… in Compare()
373 else if (rKey.getValue().isNull()) in Compare()
382 sal_Int32 nRes = getValue().getString().compareTo(rKey.getValue()); in Compare()
387 double m = getValue(),n = rKey.getValue(); in Compare()
392 if (eResult == COMPARE_EQUAL && nRecord && rKey.nRecord) in Compare()
393 eResult = (nRecord > rKey.nRecord) ? COMPARE_GREATER : in Compare()
394 (nRecord == rKey.nRecord) ? COMPARE_EQUAL : COMPARE_LESS; in Compare()
526 ONDXKey& rKey = rNode.GetKey(); in PrintPage() local
530 if (rKey.getValue().isNull()) in PrintPage()
[all …]
/AOO41X/main/stoc/source/corereflection/
H A Dlrucache.hxx76 inline t_Val getValue( const t_Key & rKey ) const;
82 inline void setValue( const t_Key & rKey, const t_Val & rValue );
88 inline sal_Bool hasValue( const t_Key & rKey ) const;
146 inline sal_Bool LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::hasValue( const t_Key & rKey ) co… in hasValue()
149 const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); in hasValue()
154 inline t_Val LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::getValue( const t_Key & rKey ) const in getValue()
157 const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); in getValue()
174 const t_Key & rKey, const t_Val & rValue ) in setValue() argument
179 const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); in setValue()
194 _aKey2Element[ pEntry->aKey = rKey ] = pEntry; in setValue()
[all …]
/AOO41X/main/stoc/source/tdmanager/
H A Dlrucache.hxx77 inline t_Val getValue( t_Key const & rKey ) const;
83 inline void setValue( t_Key const & rKey, t_Val const & rValue );
89 inline sal_Bool hasValue( t_Key const & rKey ) const;
149 t_Key const & rKey ) const in hasValue()
152 typename t_Key2Element::const_iterator const iFind( _aKey2Element.find( rKey ) ); in hasValue()
158 t_Key const & rKey ) const in getValue()
161 const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); in getValue()
178 t_Key const & rKey, t_Val const & rValue ) in setValue() argument
183 typename t_Key2Element::const_iterator const iFind( _aKey2Element.find( rKey ) ); in setValue()
198 _aKey2Element[ pEntry->aKey = rKey ] = pEntry; in setValue()
[all …]
/AOO41X/main/svtools/inc/svtools/
H A DFilterConfigItem.hxx72 sal_Bool ReadBool( const ::rtl::OUString& rKey, sal_Bool bDefault );
73 sal_Int32 ReadInt32( const ::rtl::OUString& rKey, sal_Int32 nDefault );
75 … ReadSize( const ::rtl::OUString& rKey, const ::com::sun::star::awt::Size& rDefault );
77 ReadString( const ::rtl::OUString& rKey, const ::rtl::OUString& rDefault );
79 … ReadAny( const ::rtl::OUString& rKey, const ::com::sun::star::uno::Any& rDefault );
83 void WriteBool( const ::rtl::OUString& rKey, sal_Bool bValue );
84 void WriteInt32( const ::rtl::OUString& rKey, sal_Int32 nValue );
85 … void WriteSize( const ::rtl::OUString& rKey, const ::com::sun::star::awt::Size& rSize );
86 void WriteString( const ::rtl::OUString& rKey, const ::rtl::OUString& rString );
87 void WriteAny( const rtl::OUString& rKey, const ::com::sun::star::uno::Any& rAny );
/AOO41X/main/cppuhelper/source/
H A Dinterfacecontainer.cxx428 static t_type2ptr::iterator findType(t_type2ptr *pMap, const Type & rKey ) in findType() argument
435 if (iter->first == rKey) in findType()
442 OInterfaceContainerHelper * OMultiTypeInterfaceContainerHelper::getContainer( const Type & rKey ) c… in getContainer()
448 t_type2ptr::iterator iter = findType( pMap, rKey ); in getContainer()
454 const Type & rKey, const Reference< XInterface > & rListener ) in addInterface() argument
459 t_type2ptr::iterator iter = findType( pMap, rKey ); in addInterface()
463 pMap->push_back(std::pair<Type, void*>(rKey, pLC)); in addInterface()
470 const Type & rKey, const Reference< XInterface > & rListener ) in removeInterface() argument
477 t_type2ptr::iterator iter = findType( pMap, rKey ); in removeInterface()
618 …ainerHelper * OMultiTypeInterfaceContainerHelperInt32::getContainer( const sal_Int32 & rKey ) const in getContainer()
[all …]
/AOO41X/main/tools/source/communi/
H A Dgeninfo.cxx34 GenericInformation::GenericInformation( const ByteString &rKey, in GenericInformation() argument
39 : ByteString( rKey ), in GenericInformation()
116 GenericInformation *GenericInformation::GetSubInfo( ByteString &rKey, in GetSubInfo() argument
124 return pInfoList->GetInfo( rKey, bSearchByPath, bCreatePath ); in GetSubInfo()
216 GenericInformation *GenericInformationList::GetInfo( ByteString &rKey, in GetInfo() argument
222 rKey.EraseLeadingChars( '/' ); in GetInfo()
223 rKey.EraseTrailingChars( '/' ); in GetInfo()
227 sKey = rKey.GetToken( 0, '/' ); in GetInfo()
229 sKey = rKey; in GetInfo()
240 sal_uInt16 nTokenCount = rKey.GetTokenCount('/'); in GetInfo()
[all …]
/AOO41X/main/store/source/
H A Dstorpage.cxx129 OStorePageKey const & rKey) in find_lookup() argument
132 storeError eErrCode = m_aRoot.find_lookup (rNode, rIndex, rKey, *this); in find_lookup()
142 if (e.compare(entry(rKey)) != entry::COMPARE_EQUAL) in find_lookup()
295 const rtl_String *pPath, const rtl_String *pName, OStorePageKey &rKey) in namei() argument
306 rKey.m_nLow = store::htonl(rtl_crc32 (0, pName->buffer, pName->length)); in namei()
307 rKey.m_nHigh = store::htonl(rtl_crc32 (0, pPath->buffer, pPath->length)); in namei()
405 OStorePageKey & rKey, in iterate() argument
419 storeError eErrCode = m_aRoot.find_lookup (aNode, i, rKey, *this); in iterate()
428 rKey = e.m_aKey; in iterate()
441 const OStorePageKey &rKey, in load_dirpage_Impl() argument
[all …]
H A Dstorpage.hxx72 OStorePageKey &rKey);
82 OStorePageKey & rKey,
90 const OStorePageKey &rKey,
122 const OStorePageKey &rKey);
173 const OStorePageKey &rKey,
177 const OStorePageKey &rKey,
185 OStorePageKey const & rKey);
/AOO41X/main/idlc/source/
H A Dastdump.cxx45 sal_Bool AstModule::dump(RegistryKey& rKey) in dump() argument
51 localKey = rKey; in dump()
54 if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey)) in dump()
58 …getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); in dump()
137 return AstDeclaration::dump(rKey); in dump()
140 sal_Bool AstTypeDef::dump(RegistryKey& rKey) in dump() argument
144 if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey)) in dump()
148 …getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); in dump()
175 sal_Bool AstService::dump(RegistryKey& rKey) in dump() argument
229 if (rKey.createKey( in dump()
[all …]
/AOO41X/main/oox/inc/oox/helper/
H A Dcontainerhelper.hxx289 … getMapElement( const MapType& rMap, const typename MapType::key_type& rKey );
295 … getMapElementAccess( MapType& rMap, const typename MapType::key_type& rKey );
301 …getMapElement( const MapType& rMap, const typename MapType::key_type& rKey, const typename MapType…
307 …getMapElementAccess( MapType& rMap, const typename MapType::key_type& rKey, typename MapType::mapp…
373 …type* ContainerHelper::getMapElement( const MapType& rMap, const typename MapType::key_type& rKey ) in getMapElement() argument
375 typename MapType::const_iterator aIt = rMap.find( rKey ); in getMapElement()
380 …type* ContainerHelper::getMapElementAccess( MapType& rMap, const typename MapType::key_type& rKey ) in getMapElementAccess() argument
382 typename MapType::iterator aIt = rMap.find( rKey ); in getMapElementAccess()
387 …er::getMapElement( const MapType& rMap, const typename MapType::key_type& rKey, const typename Map… in getMapElement() argument
389 typename MapType::const_iterator aIt = rMap.find( rKey ); in getMapElement()
[all …]
/AOO41X/main/tools/source/generic/
H A Dconfig.cxx972 ByteString Config::ReadKey( const ByteString& rKey ) const in ReadKey()
974 return ReadKey( rKey, getEmptyByteString() ); in ReadKey()
979 UniString Config::ReadKey( const ByteString& rKey, rtl_TextEncoding eEncoding ) const in ReadKey() argument
983 return UniString( ReadKey( rKey ), eEncoding ); in ReadKey()
988 ByteString Config::ReadKey( const ByteString& rKey, const ByteString& rDefault ) const in ReadKey() argument
992 aTraceStr += rKey; in ReadKey()
1011 if ( !pKey->mbIsComment && pKey->maKey.EqualsIgnoreCaseAscii( rKey ) ) in ReadKey()
1023 void Config::WriteKey( const ByteString& rKey, const ByteString& rStr ) in WriteKey() argument
1027 aTraceStr += rKey; in WriteKey()
1035 DBG_ASSERTWARNING( rStr != ReadKey( rKey ), "Config::WriteKey() with the same Value" ); in WriteKey()
[all …]
/AOO41X/main/tools/inc/tools/
H A Dgeninfo.hxx58 GenericInformation( const ByteString &rKey, const ByteString &rValue,
82 GenericInformation *GetSubInfo( ByteString &rKey, sal_Bool bSearchByPath = sal_False,
97 GenericLockInformation( const ByteString &rKey, const ByteString &rValue, in GenericLockInformation() argument
100 : GenericInformation( rKey, rValue, pParentList, pSubInfos), in GenericLockInformation()
166 GenericInformation *GetSubInfo( ByteString &rKey, sal_Bool bSearchByPath = sal_False, in GetSubInfo() argument
170 return GenericInformation::GetSubInfo(rKey, bSearchByPath, bCreatePath); } in GetSubInfo()
207 GenericInformation *GetInfo( ByteString &rKey, sal_Bool bSearchByPath = sal_False,
H A Dconfig.hxx69 ByteString ReadKey( const ByteString& rKey ) const;
70 UniString ReadKey( const ByteString& rKey, rtl_TextEncoding eEncoding ) const;
71 ByteString ReadKey( const ByteString& rKey, const ByteString& rDefault ) const;
72 void WriteKey( const ByteString& rKey, const ByteString& rValue );
73 …void WriteKey( const ByteString& rKey, const UniString& rValue, rtl_TextEncoding eE…
74 void DeleteKey( const ByteString& rKey );
/AOO41X/main/oox/source/dump/
H A Ddumperbase.cxx1084 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in processConfigItem() argument
1087 if( StringHelper::convertStringToInt( nKey, rKey ) ) in processConfigItem()
1090 implProcessConfigItemStr( rStrm, rKey, rData ); in processConfigItem()
1120 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1122 if( rKey.equalsAscii( "include" ) ) in implProcessConfigItemStr()
1124 else if( rKey.equalsAscii( "exclude" ) ) in implProcessConfigItemStr()
1127 ConfigItemBase::implProcessConfigItemStr( rStrm, rKey, rData ); in implProcessConfigItemStr()
1182 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1184 if( rKey.equalsAscii( "default" ) ) in implProcessConfigItemStr()
1186 else if( rKey.equalsAscii( "quote-names" ) ) in implProcessConfigItemStr()
[all …]
/AOO41X/main/cppuhelper/inc/cppuhelper/
H A Dinterfacecontainer.hxx93 const key & rKey ) const SAL_THROW( () ) in getContainer()
97 typename InterfaceMap::iterator iter = find( rKey ); in getContainer()
106 const key & rKey, in addInterface() argument
111 typename InterfaceMap::iterator iter = find( rKey ); in addInterface()
115 m_pMap->push_back(std::pair<key, void*>(rKey, pLC)); in addInterface()
125 const key & rKey, in removeInterface() argument
132 typename InterfaceMap::iterator iter = find( rKey ); in removeInterface()
/AOO41X/main/svtools/source/brwbox/
H A Debbcontrols.cxx67 const KeyCode rKey = pEvt->GetKeyCode(); in PreNotify() local
69 if ((rKey.GetCode() == KEY_UP || rKey.GetCode() == KEY_DOWN) && in PreNotify()
74 nPos = nPos + (rKey.GetCode() == KEY_DOWN ? 1 : -1); in PreNotify()
174 const KeyCode rKey = pEvt->GetKeyCode(); in PreNotify() local
176 if ((rKey.GetCode() == KEY_UP || rKey.GetCode() == KEY_DOWN) && in PreNotify()
181 nPos = nPos + (rKey.GetCode() == KEY_DOWN ? 1 : -1); in PreNotify()
/AOO41X/main/vcl/source/gdi/
H A Dconfigsettings.cxx179 const OUString& SettingsConfigItem::getValue( const OUString& rGroup, const OUString& rKey ) const in getValue()
182 if( group == m_aSettings.end() || group->second.find( rKey ) == group->second.end() ) in getValue()
187 return group->second.find(rKey)->second; in getValue()
194 void SettingsConfigItem::setValue( const OUString& rGroup, const OUString& rKey, const OUString& rV… in setValue() argument
196 bool bModified = m_aSettings[ rGroup ][ rKey ] != rValue; in setValue()
199 m_aSettings[ rGroup ][ rKey ] = rValue; in setValue()
/AOO41X/main/registry/inc/registry/
H A Dregistry.hxx173 inline RegError loadKey(RegistryKey& rKey,
188 inline RegError saveKey(RegistryKey& rKey,
207 inline RegError mergeKey(RegistryKey& rKey,
220 inline RegError dumpRegistry(RegistryKey& rKey);
1233 inline RegError Registry::loadKey(RegistryKey& rKey, in loadKey() argument
1236 { return m_pApi->loadKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); } in loadKey()
1238 inline RegError Registry::saveKey(RegistryKey& rKey, in saveKey() argument
1241 { return m_pApi->saveKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); } in saveKey()
1243 inline RegError Registry::mergeKey(RegistryKey& rKey, in mergeKey() argument
1248 …{ return m_pApi->mergeKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData, bWarnings, bRe… in mergeKey()
[all …]

12345