Home
last modified time | relevance | path

Searched refs:pLocale (Results 1 – 25 of 47) sorted by relevance

12

/aoo4110/main/sal/osl/os2/
H A Dnlsupport.c96 if( pLocale && pLocale->Language && (pLocale->Language->length == 2) ) in _compose_locale()
105 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale()
118 if( pLocale->Country && (pLocale->Country->length == 2) ) in _compose_locale()
123 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale()
137 if( pLocale->Variant && pLocale->Variant->length && in _compose_locale()
138 ( pLocale->Variant->length < n - 6 ) ) in _compose_locale()
143 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale()
334 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
335 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
338 if( _compose_locale( pLocale, locale_buf, 64 ) ) in osl_getTextEncodingFromLocale()
[all …]
H A Dprocess_impl.cxx415 oslProcessError SAL_CALL osl_setProcessLocale( rtl_Locale * pLocale ) in osl_setProcessLocale() argument
419 OSL_PRECOND(pLocale, "osl_setProcessLocale(): Invalid parameter."); in osl_setProcessLocale()
422 if (_imp_setProcessLocale (pLocale) == 0) in osl_setProcessLocale()
424 g_process_locale.m_pLocale = pLocale; in osl_setProcessLocale()
/aoo4110/main/sal/osl/unx/
H A Dnlsupport.c104 if( pLocale && pLocale->Language && in _compose_locale()
105 (pLocale->Language->length == 2 || pLocale->Language->length == 3) ) in _compose_locale()
114 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale()
127 if( pLocale->Country && (pLocale->Country->length == 2) ) in _compose_locale()
132 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale()
146 if( pLocale->Variant && pLocale->Variant->length && in _compose_locale()
152 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale()
553 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
554 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
773 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
[all …]
H A Dprocess_impl.cxx501 oslProcessError SAL_CALL osl_setProcessLocale( rtl_Locale * pLocale ) in osl_setProcessLocale() argument
505 OSL_PRECOND(pLocale, "osl_setProcessLocale(): Invalid parameter."); in osl_setProcessLocale()
508 if (_imp_setProcessLocale (pLocale) == 0) in osl_setProcessLocale()
510 g_process_locale.m_pLocale = pLocale; in osl_setProcessLocale()
/aoo4110/main/sc/source/core/tool/
H A Dcellkeytranslator.cxx80 OpCode eOpCode = ocNone, const Locale* pLocale = NULL) in lclMatchKeyword() argument
89 if ( eOpCode == ocNone && !pLocale ) in lclMatchKeyword()
105 if ( eOpCode != ocNone && pLocale ) in lclMatchKeyword()
109 LocaleMatch eLevel = lclLocaleCompare(itrList->mrLocale, *pLocale); in lclMatchKeyword()
129 else if ( eOpCode != ocNone && !pLocale ) in lclMatchKeyword()
138 else if ( !eOpCode && pLocale ) in lclMatchKeyword()
140 LocaleMatch eLevel = lclLocaleCompare(itrList->mrLocale, *pLocale); in lclMatchKeyword()
160 void ScCellKeywordTranslator::transKeyword(String& rName, const Locale* pLocale, OpCode eOpCode) in transKeyword() argument
165 …LanguageType eLang = pLocale ? MsLangId::convertLocaleToLanguageWithFallback(*pLocale) : LANGUAGE_… in transKeyword()
168 lclMatchKeyword(rName, spInstance->maStringNameMap, eOpCode, pLocale); in transKeyword()
/aoo4110/main/sal/osl/w32/
H A Dnlsupport.c157 rtl_TextEncoding SAL_CALL osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) in osl_getTextEncodingFromLocale() argument
176 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
177 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
180 if( pLocale && pLocale->Language ) in osl_getTextEncodingFromLocale()
182 wcscpy( params.Language, pLocale->Language->buffer ); in osl_getTextEncodingFromLocale()
184 if( pLocale->Country ) in osl_getTextEncodingFromLocale()
185 wcscpy( params.Country, pLocale->Country->buffer ); in osl_getTextEncodingFromLocale()
H A Dprocess.cxx494 oslProcessError SAL_CALL osl_setProcessLocale( rtl_Locale * pLocale ) in osl_setProcessLocale() argument
499 if( RTL_TEXTENCODING_DONTKNOW == osl_getTextEncodingFromLocale( pLocale ) ) in osl_setProcessLocale()
503 g_theProcessLocale = pLocale; in osl_setProcessLocale()
/aoo4110/main/linguistic/workben/
H A Dsspellimp.cxx103 Locale *pLocale = aSuppLocales.getArray(); in getLocales() local
104 pLocale[0] = Locale( A2OU("en"), A2OU("US"), OUString() ); in getLocales()
105 pLocale[1] = Locale( A2OU("de"), A2OU("DE"), OUString() ); in getLocales()
106 pLocale[2] = Locale( A2OU("de"), A2OU("CH"), OUString() ); in getLocales()
124 const Locale *pLocale = aSuppLocales.getConstArray(); in hasLocale() local
125 if (rLocale == pLocale[i]) in hasLocale()
/aoo4110/main/xmlsecurity/tools/demo/
H A Dutil2.cxx338 rtl_Locale *pLocale = NULL ; in getCertificateFromEnvironment() local
339 osl_getProcessLocale( &pLocale ) ; in getCertificateFromEnvironment()
340 encoding = osl_getTextEncodingFromLocale( pLocale ) ; in getCertificateFromEnvironment()
387 rtl_Locale *pLocale = NULL ; in QueryPrintSignatureDetails() local
388 osl_getProcessLocale( &pLocale ) ; in QueryPrintSignatureDetails()
389 sal_uInt16 encoding = osl_getTextEncodingFromLocale( pLocale ) ; in QueryPrintSignatureDetails()
/aoo4110/main/basctl/source/dlged/
H A Dmanagelang.cxx186 const Locale* pLocale = aLocaleSeq.getConstArray(); in FillLanguageBox() local
190 bool bIsDefault = localesAreEqual( aDefaultLocale, pLocale[i] ); in FillLanguageBox()
191 LanguageType eLangType = SvxLocaleToLanguage( pLocale[i] ); in FillLanguageBox()
199 m_aLanguageLB.SetEntryData( nPos, new LanguageEntry( sLanguage, pLocale[i], bIsDefault ) ); in FillLanguageBox()
347 const Locale* pLocale = aLocaleSeq.getConstArray(); in FillLanguageBox() local
350 m_pLanguageLB->RemoveLanguage( SvxLocaleToLanguage( pLocale[i] ) ); in FillLanguageBox()
/aoo4110/main/basctl/source/basicide/
H A Dbasicbox.cxx432 const Locale* pLocale = aLocaleSeq.getConstArray(); in FillBox() local
437 bool bIsDefault = localesAreEqual( aDefaultLocale, pLocale[i] ); in FillBox()
438 bool bIsCurrent = localesAreEqual( aCurrentLocale, pLocale[i] ); in FillBox()
439 LanguageType eLangType = SvxLocaleToLanguage( pLocale[i] ); in FillBox()
447 SetEntryData( nPos, new LanguageEntry( sLanguage, pLocale[i], bIsDefault ) ); in FillBox()
/aoo4110/main/editeng/source/misc/
H A Dunolingu.cxx523 Locale *pLocale = pLocaleSeq->getArray(); in GetCfgLocales() local
526 pLocale[i] = SvxCreateLocale( in GetCfgLocales()
581 const Locale *pLocale = pLocaleSeq->getConstArray(); in hasLocale() local
582 const Locale *pEnd = pLocale + nLen; in hasLocale()
583 for ( ; pLocale < pEnd && !bFound; ++pLocale) in hasLocale()
585 bFound = pLocale->Language == rLocale.Language && in hasLocale()
586 pLocale->Country == rLocale.Country && in hasLocale()
587 pLocale->Variant == rLocale.Variant; in hasLocale()
/aoo4110/main/lingucomponent/source/spellcheck/macosxspell/
H A Dmacspellimp.cxx152 Locale * pLocale = aSuppLocales.getArray(); in getLocales() local
172 if (nLoc == pLocale[j]) newloc = 0; in getLocales()
175 pLocale[numlocs] = nLoc; in getLocales()
222 const Locale *pLocale = aSuppLocales.getConstArray(); in hasLocale() local
223 if (rLocale == pLocale[i]) in hasLocale()
/aoo4110/main/sw/source/core/doc/
H A Ddocsort.cxx67 Locale* SwSortElement::pLocale = 0; member in SwSortElement
95 pLocale = new Locale( SvxCreateLocale( nLang ) ); in Init()
107 delete pLocale, pLocale = 0; in Finit()
125 ::comphelper::getProcessServiceFactory(), *pLocale ); in StrToDouble()
187 *pLocale, in operator <()
/aoo4110/main/store/workben/
H A Dt_leak.cxx33 rtl_Locale * pLocale = 0; in main() local
34 osl_getProcessLocale (&pLocale); in main()
/aoo4110/main/i18npool/source/localedata/
H A Dlocaledata.cxx60 const char* pLocale; member
399 if (localeName.equalsAscii(aLibTable[i].pLocale) || in getFunctionSymbolByName()
403 OUStringBuffer aBuf(strlen(aLibTable[i].pLocale) + 1 + strlen(pFunction)); in getFunctionSymbolByName()
415 (*pOutCachedItem)->localeName = aLibTable[i].pLocale; in getFunctionSymbolByName()
438 …h_back(pNewItem = new LocaleDataLookupTableItem(aLibTable[i].pLib, module, aLibTable[i].pLocale )); in getFunctionSymbolByName()
1353 OUString name = OUString::createFromAscii( aLibTable[i].pLocale ); in getAllInstalledLocaleNames()
/aoo4110/main/unotools/source/misc/
H A Dsyslocale.cxx198 rtl_Locale * pLocale = rtl_locale_register( aLocale.Language.getStr(), in GetBestMimeEncoding() local
200 rtl_TextEncoding nEnc = osl_getTextEncodingFromLocale( pLocale ); in GetBestMimeEncoding()
/aoo4110/main/linguistic/source/
H A Dmisc.cxx490 Locale *pLocale = aLocales.getArray(); in LangSeqToLocaleSeq() local
493 LanguageToLocale( pLocale[i], pLang[ i ] ); in LangSeqToLocaleSeq()
502 const Locale *pLocale = rLocaleSeq.getConstArray(); in LocaleSeqToLangSeq() local
509 pLang[i] = LocaleToLanguage( pLocale[i] ); in LocaleSeqToLangSeq()
/aoo4110/main/cui/source/options/
H A Doptlingu.cxx1025 const Locale *pLocale = 0; in Reconfigure() local
1033 pLocale = aLocales.getConstArray(); in Reconfigure()
1037 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure()
1049 pLocale = aLocales.getConstArray(); in Reconfigure()
1053 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure()
1065 pLocale = aLocales.getConstArray(); in Reconfigure()
1069 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure()
1081 pLocale = aLocales.getConstArray(); in Reconfigure()
1085 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure()
/aoo4110/main/filter/source/config/cache/
H A Dfiltercache.cxx1686 ::comphelper::SequenceAsVector< ::rtl::OUString >::const_iterator pLocale ; in impl_readPatchUINames()
1690 for ( pLocale = lLocales.begin(); in impl_readPatchUINames()
1691 pLocale != lLocales.end() ; in impl_readPatchUINames()
1692 ++pLocale ) in impl_readPatchUINames()
1694 const ::rtl::OUString& sLocale = *pLocale; in impl_readPatchUINames()
1729 pLocale = ::comphelper::Locale::getFallback(lLocales, sActLocale); in impl_readPatchUINames()
1730 if (pLocale == lLocales.end()) in impl_readPatchUINames()
1747 const ::rtl::OUString& sLocale = *pLocale; in impl_readPatchUINames()
/aoo4110/main/editeng/source/outliner/
H A Doutleeng.cxx164 const ::com::sun::star::lang::Locale* pLocale, in DrawingText()
200 …pWrongSpellVector, pFieldData, bEndOfLine, bEndOfParagraph, bEndOfBullet, pLocale, rOverlineColor,… in DrawingText()
/aoo4110/main/xmlsecurity/source/xmlsec/mscrypt/
H A Dx509certificate_mscryptimpl.cxx242 rtl_Locale *pLocale = NULL ; in getIssuerName() local
243 osl_getProcessLocale( &pLocale ) ; in getIssuerName()
244 encoding = osl_getTextEncodingFromLocale( pLocale ) ; in getIssuerName()
/aoo4110/main/sw/source/core/tox/
H A Dtxmsrt.cxx151 const lang::Locale* pLocale ) in SwTOXSortTabBase() argument
155 if ( pLocale ) in SwTOXSortTabBase()
156 aLocale = *pLocale; in SwTOXSortTabBase()
/aoo4110/main/sc/source/core/data/
H A Dglobal.cxx102 ::com::sun::star::lang::Locale* ScGlobal::pLocale = NULL;
672 DELETEZ(pLocale); in Clear()
2026 if ( !pLocale ) in GetLocale()
2028 pLocale = new ::com::sun::star::lang::Locale( Application::GetSettings().GetLocale()); in GetLocale()
2030 return pLocale; in GetLocale()
/aoo4110/main/vcl/unx/generic/app/
H A Dwmadaptor.cxx1081 rtl_Locale* pLocale = NULL; in setWMName() local
1082 osl_getProcessLocale( &pLocale ); in setWMName()
1083 if( pLocale ) in setWMName()
1085 ::rtl::OUString aLocaleString( pLocale->Language ); in setWMName()
1086 ::rtl::OUString aCountry( pLocale->Country ); in setWMName()
1087 ::rtl::OUString aVariant( pLocale->Variant ); in setWMName()

Completed in 386 milliseconds

12