Lines Matching refs:rLocale
83 CollatorImpl::loadDefaultCollator(const lang::Locale& rLocale, sal_Int32 collatorOptions) throw(Run… in loadDefaultCollator() argument
85 const Sequence< Implementation > &imp = localedata->getCollatorImplementations(rLocale); in loadDefaultCollator()
88 return loadCollatorAlgorithm(imp[i].unoID, rLocale, collatorOptions); in loadDefaultCollator()
95 CollatorImpl::loadCollatorAlgorithm(const OUString& impl, const lang::Locale& rLocale, sal_Int32 co… in loadCollatorAlgorithm() argument
98 if (! cachedItem || ! cachedItem->equals(rLocale, impl)) in loadCollatorAlgorithm()
99 loadCachedCollator(rLocale, impl); in loadCollatorAlgorithm()
102 … cachedItem->xC->loadCollatorAlgorithm(cachedItem->algorithm, nLocale = rLocale, collatorOptions); in loadCollatorAlgorithm()
110 …atorImpl::loadCollatorAlgorithmWithEndUserOption(const OUString& impl, const lang::Locale& rLocale, in loadCollatorAlgorithmWithEndUserOption() argument
116 loadCollatorAlgorithm(impl, rLocale, options); in loadCollatorAlgorithmWithEndUserOption()
120 CollatorImpl::listCollatorAlgorithms( const lang::Locale& rLocale ) throw(RuntimeException) in listCollatorAlgorithms() argument
122 nLocale = rLocale; in listCollatorAlgorithms()
123 const Sequence< Implementation > &imp = localedata->getCollatorImplementations(rLocale); in listCollatorAlgorithms()
154 CollatorImpl::createCollator(const lang::Locale& rLocale, const OUString& serviceName, const OUStri… in createCollator() argument
160 …lookupTable.push_back(cachedItem = new lookupTableItem(rLocale, rSortAlgorithm, serviceName, cache… in createCollator()
172 … lookupTable.push_back(cachedItem = new lookupTableItem(rLocale, rSortAlgorithm, serviceName, xC)); in createCollator()
182 CollatorImpl::loadCachedCollator(const lang::Locale& rLocale, const OUString& rSortAlgorithm) in loadCachedCollator() argument
187 if (cachedItem->equals(rLocale, rSortAlgorithm)) { in loadCachedCollator()
196 sal_Int32 l = rLocale.Language.getLength(); in loadCachedCollator()
197 sal_Int32 c = rLocale.Country.getLength(); in loadCachedCollator()
198 sal_Int32 v = rLocale.Variant.getLength(); in loadCachedCollator()
204 …createCollator(rLocale, aBuf.append(rLocale.Language).append(under).append(rLocale.Country).append( in loadCachedCollator()
205 … under).append(rLocale.Variant).append(under).append(rSortAlgorithm).makeStringAndClear(), in loadCachedCollator()
209 …createCollator(rLocale, aBuf.append(rLocale.Language).append(under).append(rLocale.Country).append( in loadCachedCollator()
211 (l > 0 && c > 0 && a > 0 && rLocale.Language.equalsAscii("zh") && in loadCachedCollator()
212 (rLocale.Country.equalsAscii("HK") || in loadCachedCollator()
213 rLocale.Country.equalsAscii("MO")) && in loadCachedCollator()
215 …createCollator(rLocale, aBuf.append(rLocale.Language).append(under).append(tw).append(under).appen… in loadCachedCollator()
219 …createCollator(rLocale, aBuf.append(rLocale.Language).append(under).append(rSortAlgorithm).makeStr… in loadCachedCollator()
223 createCollator(rLocale, rSortAlgorithm, rSortAlgorithm)) || in loadCachedCollator()
225 createCollator(rLocale, unicode, rSortAlgorithm)) { in loadCachedCollator()