/dports/editors/libreoffice/libreoffice-7.2.6.2/xmloff/source/style/ |
H A D | chrlohdl.cxx | 79 lang::Locale aLocale; in importXML() local 80 rValue >>= aLocale; in importXML() 88 if (!aLocale.Language.isEmpty() || aLocale.Variant[0] != '-') in importXML() 95 aLocale.Variant = rStrImpValue + aLocale.Variant; in importXML() 97 aLocale.Variant += "-" + aLocale.Country; in importXML() 103 rValue <<= aLocale; in importXML() 172 rValue >>= aLocale; in importXML() 189 aLocale.Variant = aLocale.Language + "-" + rStrImpValue; in importXML() 191 aLocale.Variant += "-" + aLocale.Country; in importXML() 217 rValue <<= aLocale; in importXML() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/xmloff/source/style/ |
H A D | chrlohdl.cxx | 79 lang::Locale aLocale; in importXML() local 80 rValue >>= aLocale; in importXML() 88 if (!aLocale.Language.isEmpty() || aLocale.Variant[0] != '-') in importXML() 95 aLocale.Variant = rStrImpValue + aLocale.Variant; in importXML() 97 aLocale.Variant += "-" + aLocale.Country; in importXML() 103 rValue <<= aLocale; in importXML() 172 rValue >>= aLocale; in importXML() 189 aLocale.Variant = aLocale.Language + "-" + rStrImpValue; in importXML() 191 aLocale.Variant += "-" + aLocale.Country; in importXML() 217 rValue <<= aLocale; in importXML() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/qa/cppunit/ |
H A D | test_breakiterator.cxx | 76 lang::Locale aLocale; in testLineBreaking() local 180 lang::Locale aLocale; in testWordBoundaries() local 182 aLocale.Country = "US"; in testWordBoundaries() 620 lang::Locale aLocale; in testGraphemeIteration() local 767 lang::Locale aLocale; in testWeak() local 812 lang::Locale aLocale; in testAsian() local 849 lang::Locale aLocale; in testLao() local 872 lang::Locale aLocale; in testThai() local 948 lang::Locale aLocale; in testNorthernThai() local 970 lang::Locale aLocale; in testKhmer() local [all …]
|
H A D | test_characterclassification.cxx | 37 lang::Locale aLocale; in testTitleCase() local 38 aLocale.Language = "en"; in testTitleCase() 39 aLocale.Country = "US"; in testTitleCase() 44 OUString sTitleCase = m_xCC->toTitle(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 46 OUString sUpperCase = m_xCC->toUpper(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 48 OUString sLowerCase = m_xCC->toLower(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 56 OUString sTitleCase = m_xCC->toTitle(aTest, 0, aTest.getLength(), aLocale); in testTitleCase() 58 OUString sUpperCase = m_xCC->toUpper(aTest, 0, aTest.getLength(), aLocale); in testTitleCase() 68 lang::Locale aLocale; in testStringType() local 69 aLocale.Language = "en"; in testStringType() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/qa/cppunit/ |
H A D | test_breakiterator.cxx | 75 lang::Locale aLocale; in testLineBreaking() local 172 lang::Locale aLocale; in testWordBoundaries() local 174 aLocale.Country = "US"; in testWordBoundaries() 622 lang::Locale aLocale; in testGraphemeIteration() local 774 lang::Locale aLocale; in testWeak() local 816 lang::Locale aLocale; in testAsian() local 850 lang::Locale aLocale; in testLao() local 872 lang::Locale aLocale; in testThai() local 945 lang::Locale aLocale; in testNorthernThai() local 967 lang::Locale aLocale; in testKhmer() local [all …]
|
H A D | test_characterclassification.cxx | 38 lang::Locale aLocale; in testTitleCase() local 39 aLocale.Language = "en"; in testTitleCase() 40 aLocale.Country = "US"; in testTitleCase() 45 OUString sTitleCase = m_xCC->toTitle(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 47 OUString sUpperCase = m_xCC->toUpper(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 49 OUString sLowerCase = m_xCC->toLower(sTest, 0, sTest.getLength(), aLocale); in testTitleCase() 56 OUString sTitleCase = m_xCC->toTitle(aTest, 0, aTest.getLength(), aLocale); in testTitleCase() 59 OUString sUpperCase = m_xCC->toUpper(aTest, 0, aTest.getLength(), aLocale); in testTitleCase() 71 lang::Locale aLocale; in testStringType() local 72 aLocale.Language = "en"; in testStringType() [all …]
|
H A D | test_defaultnumberingprovider.cxx | 35 lang::Locale aLocale; in CPPUNIT_TEST_FIXTURE() local 36 OUString aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 47 aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 61 lang::Locale aLocale; in CPPUNIT_TEST_FIXTURE() local 62 OUString aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 73 aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 87 lang::Locale aLocale; in CPPUNIT_TEST_FIXTURE() local 88 OUString aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 99 aActual = xFormatter->makeNumberingString(aProperties, aLocale); in CPPUNIT_TEST_FIXTURE() 113 lang::Locale aLocale; in CPPUNIT_TEST_FIXTURE() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18nlangtag/qa/cppunit/ |
H A D | test_languagetag.cxx | 48 lang::Locale aLocale = de_DE.getLocale(); in testAllTags() local 53 CPPUNIT_ASSERT( aLocale.Variant.isEmpty() ); in testAllTags() 64 lang::Locale aLocale = klingon.getLocale(); in testAllTags() local 81 lang::Locale aLocale = sr_RS.getLocale(); in testAllTags() local 95 lang::Locale aLocale = sr_RS.getLocale(); in testAllTags() local 319 lang::Locale aLocale = de.getLocale(); in testAllTags() local 581 aLocale = joker.getLocale(); in testAllTags() 616 lang::Locale aLocale; in testAllTags() local 619 aLocale = aTag.getLocale(); in testAllTags() 627 aLocale = aTag.getLocale(); in testAllTags() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18nlangtag/qa/cppunit/ |
H A D | test_languagetag.cxx | 49 lang::Locale aLocale = de_DE.getLocale(); in testAllTags() local 54 CPPUNIT_ASSERT( aLocale.Variant.isEmpty() ); in testAllTags() 66 lang::Locale aLocale = klingon.getLocale(); in testAllTags() local 83 lang::Locale aLocale = sr_RS.getLocale(); in testAllTags() local 97 lang::Locale aLocale = sr_RS.getLocale(); in testAllTags() local 326 lang::Locale aLocale = de.getLocale(); in testAllTags() local 589 aLocale = joker.getLocale(); in testAllTags() 624 lang::Locale aLocale; in testAllTags() local 627 aLocale = aTag.getLocale(); in testAllTags() 635 aLocale = aTag.getLocale(); in testAllTags() [all …]
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/util/ |
H A D | DateLocale.php | 25 public function Set($aLocale) argument 27 if (in_array($aLocale, array_keys($this->iDayAbb))) { 28 $this->iLocale = $aLocale; 34 if (is_array($aLocale)) { 35 foreach ($aLocale as $loc) { 38 $aLocale = $loc; 43 $res = @setlocale(LC_TIME, $aLocale); 47 JpGraphError::RaiseL(25007, $aLocale); 52 $this->iLocale = $aLocale; 56 $this->iDayAbb[$aLocale][] = $day[0]; [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleHyphenator.java | 195 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 200 IsEqual( aLocale, new Locale( "en", "US", "" ) )) in hasLocale() 209 String aWord, Locale aLocale, in hyphenate() argument 219 if (!hasLocale( aLocale )) in hyphenate() 282 xRes = new XHyphenatedWord_impl(aWord, aLocale, in hyphenate() 290 String aWord, Locale aLocale, in queryAlternativeSpelling() argument 300 if (!hasLocale( aLocale )) in queryAlternativeSpelling() 318 if ( IsEqual( aLocale, new Locale( "de", "DE", "" ) ) ) in queryAlternativeSpelling() 339 String aWord, Locale aLocale, in createPossibleHyphens() argument 349 if (!hasLocale( aLocale )) in createPossibleHyphens() [all …]
|
H A D | SampleSpellChecker.java | 138 private boolean IsUpper( String aWord, Locale aLocale ) in IsUpper() argument 141 aLocale.Language, aLocale.Country, aLocale.Variant ); in IsUpper() 158 Locale aLocale, in GetSpellFailure() argument 198 Locale aLocale, in GetProposals() argument 271 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 286 String aWord, Locale aLocale, in isValid() argument 296 if (!hasLocale( aLocale )) in isValid() 325 String aWord, Locale aLocale, in spell() argument 335 if (!hasLocale( aLocale )) in spell() 339 if (!isValid( aWord, aLocale, aProperties )) in spell() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleSpellChecker.java | 138 private boolean IsUpper( String aWord, Locale aLocale ) in IsUpper() argument 141 aLocale.Language, aLocale.Country, aLocale.Variant ); in IsUpper() 158 Locale aLocale, in GetSpellFailure() argument 198 Locale aLocale, in GetProposals() argument 271 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 286 String aWord, Locale aLocale, in isValid() argument 296 if (!hasLocale( aLocale )) in isValid() 325 String aWord, Locale aLocale, in spell() argument 335 if (!hasLocale( aLocale )) in spell() 339 if (!isValid( aWord, aLocale, aProperties )) in spell() [all …]
|
H A D | SampleHyphenator.java | 195 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 200 IsEqual( aLocale, new Locale( "en", "US", "" ) )) in hasLocale() 209 String aWord, Locale aLocale, in hyphenate() argument 219 if (!hasLocale( aLocale )) in hyphenate() 282 xRes = new XHyphenatedWord_impl(aWord, aLocale, in hyphenate() 290 String aWord, Locale aLocale, in queryAlternativeSpelling() argument 300 if (!hasLocale( aLocale )) in queryAlternativeSpelling() 318 if ( IsEqual( aLocale, new Locale( "de", "DE", "" ) ) ) in queryAlternativeSpelling() 339 String aWord, Locale aLocale, in createPossibleHyphens() argument 349 if (!hasLocale( aLocale )) in createPossibleHyphens() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/cui/source/dialogs/ |
H A D | SpellAttrib.hxx | 34 css::lang::Locale aLocale; member 53 aLocale( rLocale ), in SpellErrorDescription() 76 aLocale.Language == rDesc.aLocale.Language && in operator ==() 77 aLocale.Country == rDesc.aLocale.Country && in operator ==() 78 aLocale.Variant == rDesc.aLocale.Variant && in operator ==() 95 aEntries[5] <<= aLocale; in toSequence() 109 rEntries[5] >>= aLocale; in fromSequence()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/cui/source/dialogs/ |
H A D | SpellAttrib.hxx | 35 css::lang::Locale aLocale; member 54 aLocale( rLocale ), in SpellErrorDescription() 77 aLocale.Language == rDesc.aLocale.Language && in operator ==() 78 aLocale.Country == rDesc.aLocale.Country && in operator ==() 79 aLocale.Variant == rDesc.aLocale.Variant && in operator ==() 96 aEntries[5] <<= aLocale; in toSequence() 110 rEntries[5] >>= aLocale; in fromSequence()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/wizards/com/sun/star/wizards/common/ |
H A D | NumberFormatter.java | 50 private final Locale aLocale; field in NumberFormatter 56 aLocale = _aLocale; in NumberFormatter() 68 aLocale = _aLocale; in NumberFormatter() 94 int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true); in defineNumberFormat() 97 NewFormatKey = xNumberFormats.addNewConverted(_FormatString, enLocale, aLocale); in defineNumberFormat() 183 iLogicalFormatKey = xNumberFormats.queryKey(FormatString, aLocale, true); in setBooleanReportDisplayNumberFormat() 188 iLogicalFormatKey = xNumberFormats.addNew(FormatString, aLocale); in setBooleanReportDisplayNumberFormat() 207 iDateFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATE, aLocale); in getDateFormatKey() 240 iNumberFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.NUMBER, aLocale); in getNumberFormatKey() 251 iTextFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TEXT, aLocale); in getTextFormatKey() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/wizards/com/sun/star/wizards/common/ |
H A D | NumberFormatter.java | 50 private final Locale aLocale; field in NumberFormatter 56 aLocale = _aLocale; in NumberFormatter() 68 aLocale = _aLocale; in NumberFormatter() 94 int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true); in defineNumberFormat() 97 NewFormatKey = xNumberFormats.addNewConverted(_FormatString, enLocale, aLocale); in defineNumberFormat() 183 iLogicalFormatKey = xNumberFormats.queryKey(FormatString, aLocale, true); in setBooleanReportDisplayNumberFormat() 188 iLogicalFormatKey = xNumberFormats.addNew(FormatString, aLocale); in setBooleanReportDisplayNumberFormat() 207 iDateFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATE, aLocale); in getDateFormatKey() 240 iNumberFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.NUMBER, aLocale); in getNumberFormatKey() 251 iTextFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TEXT, aLocale); in getTextFormatKey() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/i18npool/inc/ |
H A D | textconversion.hxx | 47 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 51 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 55 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 58 interactiveConversion(const css::lang::Locale& aLocale, 94 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 98 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 102 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 105 interactiveConversion(const css::lang::Locale& aLocale, 136 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 147 interactiveConversion(const css::lang::Locale& aLocale, [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/i18npool/inc/ |
H A D | textconversion.hxx | 48 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 52 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 56 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 59 interactiveConversion(const css::lang::Locale& aLocale, 96 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 100 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 104 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 107 interactiveConversion(const css::lang::Locale& aLocale, 139 const css::lang::Locale& aLocale, sal_Int16 nTextConversionType, 150 interactiveConversion(const css::lang::Locale& aLocale, [all …]
|
/dports/www/firefox/firefox-99.0/intl/locale/ |
H A D | OSPreferences.cpp | 149 if (aLocale.IsEmpty()) { in GetDateTimePatternForStyle() 154 locale.Assign(aLocale); in GetDateTimePatternForStyle() 222 const nsACString& aLocale, in OverrideDateTimePattern() argument 278 if (aLocale.IsEmpty()) { in OverrideDateTimePattern() 283 locale.Assign(aLocale); in OverrideDateTimePattern() 310 aLocale, pattern)) { in OverrideDateTimePattern() 323 aLocale, pattern)) { in OverrideDateTimePattern() 347 const nsACString& aLocale, in GetPatternForSkeleton() argument 476 const nsACString& aLocale, in GetDateTimePattern() argument 495 const nsACString* locale = &aLocale; in GetDateTimePattern() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/gallery2/ |
H A D | galini.cxx | 45 OUString aLocale; in ReadStrFromIni() local 63 aLocale = aKey.copy( n + 1 ).trim(); in ReadStrFromIni() 65 if( (n = aLocale.indexOf( ']' ) ) >= 1 ) in ReadStrFromIni() 66 aLocale = aLocale.copy( 0, n ).trim(); in ReadStrFromIni() 69 … SAL_INFO("svx", "ini file has '" << aKey << "' [ '" << aLocale << "' ] = '" << aValue << "'"); in ReadStrFromIni() 76 OUString aLang = aLocale.replace('_','-'); in ReadStrFromIni()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/gallery2/ |
H A D | galini.cxx | 48 OUString aLocale; in ReadStrFromIni() local 66 aLocale = aKey.copy( n + 1 ).trim(); in ReadStrFromIni() 68 if( (n = aLocale.indexOf( ']' ) ) >= 1 ) in ReadStrFromIni() 69 aLocale = aLocale.copy( 0, n ).trim(); in ReadStrFromIni() 72 … SAL_INFO("svx", "ini file has '" << aKey << "' [ '" << aLocale << "' ] = '" << aValue << "'"); in ReadStrFromIni() 79 OUString aLang = aLocale.replace('_','-'); in ReadStrFromIni()
|
/dports/lang/spidermonkey78/firefox-78.9.0/intl/locale/ |
H A D | OSPreferences.cpp | 65 const nsACString& aLocale, in GetDateTimePatternForStyle() argument 116 if (aLocale.IsEmpty()) { in GetDateTimePatternForStyle() 121 locale.Assign(aLocale); in GetDateTimePatternForStyle() 150 const nsACString& aLocale, in GetDateTimeSkeletonForStyle() argument 182 const nsACString& aLocale, in GetPatternForSkeleton() argument 186 udatpg_open(PromiseFlatCString(aLocale).get(), &status); in GetPatternForSkeleton() 216 bool OSPreferences::GetDateTimeConnectorPattern(const nsACString& aLocale, in GetDateTimeConnectorPattern() argument 221 udatpg_open(PromiseFlatCString(aLocale).get(), &status); in GetDateTimeConnectorPattern() 308 const nsACString& aLocale, in GetDateTimePattern() argument 327 nsAutoCString key(aLocale); in GetDateTimePattern() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/intl/locale/ |
H A D | OSPreferences.cpp | 155 if (aLocale.IsEmpty()) { in GetDateTimePatternForStyle() 160 locale.Assign(aLocale); in GetDateTimePatternForStyle() 274 if (aLocale.IsEmpty()) { in OverrideDateTimePattern() 279 locale.Assign(aLocale); in OverrideDateTimePattern() 306 aLocale, pattern)) { in OverrideDateTimePattern() 319 aLocale, pattern)) { in OverrideDateTimePattern() 349 udatpg_open(PromiseFlatCString(aLocale).get(), &status); in GetPatternForSkeleton() 402 udatpg_open(PromiseFlatCString(aLocale).get(), &status); in GetDateTimeConnectorPattern() 489 const nsACString& aLocale, in GetDateTimePattern() argument 508 const nsACString* locale = &aLocale; in GetDateTimePattern() [all …]
|