/aoo41x/main/sal/osl/unx/ |
H A D | nlsupport.c | 179 if( locale ) in _parse_locale() 194 if( (len > 3 && '_' == locale[3]) || (len == 3 && '_' != locale[2]) ) in _parse_locale() 616 char * locale; in _imp_getProcessLocale() local 625 if( NULL == locale ) in _imp_getProcessLocale() 842 if ( NULL == locale ) in _imp_getProcessLocale() 846 if ( locale ) in _imp_getProcessLocale() 853 if ( NULL == locale ) in _imp_getProcessLocale() 915 if( NULL == locale ) in _imp_getProcessLocale() 918 if( NULL == locale ) in _imp_getProcessLocale() 921 if( NULL == locale ) in _imp_getProcessLocale() [all …]
|
H A D | osxlocale.cxx | 73 int macosx_getLocale(char *locale, sal_uInt32 bufferLen) in macosx_getLocale() argument 86 CFStringGetCString(lang, locale, bufferLen, kCFStringEncodingASCII); in macosx_getLocale() 92 strlcat(locale, "_", bufferLen - strlen(locale)); in macosx_getLocale() 95 …CFStringGetCString(country, locale + strlen(locale), bufferLen - strlen(locale), kCFStringEncoding… in macosx_getLocale() 100 strlcat(locale, ".UTF-8", bufferLen - strlen(locale)); in macosx_getLocale()
|
/aoo41x/main/offapi/com/sun/star/resource/ |
H A D | XStringResourceResolver.idl | 87 the use of the current locale. 94 @param locale 95 The locale the string should be resolved for. 110 and current locale. 126 the use of the current locale. 131 @param locale 132 The locale the entry should be checked for. 154 the use of the current locale. 156 @param locale 171 @returns the used locale [all …]
|
H A D | XStringResourceManager.idl | 80 /** Sets the locale to be used 101 [in] com::sun::star::lang::Locale locale, 107 /** Sets the default locale to be used 111 If this locale is not available a 154 the use of the current locale. 162 @param locale 181 the current locale. 201 s specific locale. 206 @param locale 225 Creates a new locale. [all …]
|
H A D | XLocale.idl | 55 /** creates a locale from language, country, and variant. 79 locale, you probably want to reload your GUI, so that the 92 /** sets the default locale for the whole environment. 96 locale. 139 the ISO language code for the specified locale. 148 the ISO country code for the specified locale. 159 is from the default locale. 186 is from the default locale. 208 is from the default locale. 243 specifies the desired user locale. [all …]
|
H A D | XResourceBundle.idl | 40 /** Resource bundles contain locale-specific objects. 42 <p>When your program needs a locale-specific resource, such as 44 resource bundle that is appropriate for the current user's locale. In 46 the user's locale, which isolates most, if not all, of the 47 locale-specific information in resource bundles. 76 the same items, but the items have been translated for the locale 91 When your program needs a locale-specific object, it loads 120 locale that the caller is interested in is <TT>fr_CH</TT>, and the 139 identify a locale-specific object in the bundle. Here is an 212 the locale for this resource bundle. [all …]
|
/aoo41x/main/scripting/source/stringresource/ |
H A D | stringresource.cxx | 250 const Locale& locale ) in hasEntryForIdAndLocale() argument 673 cmp_locale.Country == locale.Country && in getItemForLocale() 674 cmp_locale.Variant == locale.Variant ) in getItemForLocale() 906 const Locale& locale ) in hasEntryForIdAndLocale() argument 977 StringResourceImpl::newLocale( locale ); in newLocale() 982 StringResourceImpl::removeLocale( locale ); in removeLocale() 2441 const Locale& locale ) in hasEntryForIdAndLocale() argument 2512 StringResourceImpl::newLocale( locale ); in newLocale() 2517 StringResourceImpl::removeLocale( locale ); in removeLocale() 2796 const Locale& locale ) in hasEntryForIdAndLocale() argument [all …]
|
H A D | stringresource.hxx | 109 : m_locale( locale ) in LocaleItem() 211 const ::com::sun::star::lang::Locale& locale ) 217 const ::com::sun::star::lang::Locale& locale ) 242 const ::com::sun::star::lang::Locale& locale ) 248 const ::com::sun::star::lang::Locale& locale ) 364 const ::com::sun::star::lang::Locale& locale ) 370 const ::com::sun::star::lang::Locale& locale ) 395 const ::com::sun::star::lang::Locale& locale ) 401 const ::com::sun::star::lang::Locale& locale ) 478 const ::com::sun::star::lang::Locale& locale ) [all …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/i18n/ |
H A D | _XBreakIterator.java | 83 Locale locale = null; field in _XBreakIterator 93 locale = (Locale)tEnv.getObjRelation("Locale"); in before() 94 if (locale == null) { in before() 164 locale, nCharacterIteratorMode, in _previousCharacters() 189 (UnicodeString, i, locale, wordType); in _nextWord() 249 locale, wordType, true); in _getWordBoundary() 336 locale, WordType.ANY_WORD); in _isEndWord() 363 iPos, locale) ); in _beginOfSentence() 576 locale, charType); in _beginOfCharBlock() 578 locale, charType); in _beginOfCharBlock() [all …]
|
H A D | _XExtendedIndexEntrySupplier.java | 41 Locale locale = new Locale("zh", "CN", ""); in _compareIndexEntry() local 44 short result1 = oObj.compareIndexEntry(val1, "", locale, val1, "", locale); in _compareIndexEntry() 45 short result2 = oObj.compareIndexEntry(val1, "", locale, val2, "", locale); in _compareIndexEntry() 46 short result3 = oObj.compareIndexEntry(val2, "", locale, val1, "", locale); in _compareIndexEntry()
|
/aoo41x/main/sal/osl/os2/ |
H A D | nlsupport.c | 170 if( locale ) in _parse_locale() 172 size_t len = strlen( locale ); in _parse_locale() 187 if( len >= 5 && '_' == locale[2] ) in _parse_locale() 387 char * locale = getenv( "LC_ALL" ); in _imp_getProcessLocale() local 389 if( NULL == locale ) in _imp_getProcessLocale() 390 locale = getenv( "LC_CTYPE" ); in _imp_getProcessLocale() 392 if( NULL == locale ) in _imp_getProcessLocale() 393 locale = getenv( "LANG" ); in _imp_getProcessLocale() 395 if( NULL == locale ) in _imp_getProcessLocale() 396 locale = "C"; in _imp_getProcessLocale() [all …]
|
/aoo41x/main/offapi/com/sun/star/i18n/ |
H A D | XLocaleData.idl | 43 Access locale specific data as it is defined in XML locale data 47 <p> For XML locale data files definitions see <a 57 /** returns the LC_INFO locale information. 69 /** returns all LC_CALENDAR calendars for a locale. 75 /** returns all LC_CURRENCY currencies for a locale. 81 /** returns all LC_FORMAT format elements for a locale. 87 /** returns all LC_COLLATION collators for a locale. 93 /** returns all LC_SEARCH search options for a locale. 99 /** returns all LC_COLLATION collation options for a locale. 111 /** returns all LC_MISC forbidden charatcers for a locale. [all …]
|
H A D | XCollator.idl | 33 /** provides locale-sensitive collation algorithms for string comparison. 39 /** Compare 2 substrings in specific locale and algorithm. 68 /** Compare 2 strings in specific locale and algorithm. 85 locale data. 88 The locale for this collator. 102 /** Load a particular collator algorithm for the locale. 108 The locale for this collator. 122 /** List all collator algorithms for a given locale. 125 The locale for which to list algorithms. 140 The locale for this collator.
|
H A D | XExtendedIndexEntrySupplier.idl | 44 <li>Provide supported language/locale list. 56 Returns locale list for which the IndexEntrySupplier provides service. 62 Returns index algorithm list for specific locale 69 Checks if Phonetic Entry should be used for the locale. 75 Returns phonetic candidate for index entry for the locale. 82 Loads index algorithm for the locale. 115 aLocale and the locale in loadAlgorithm may be different. 140 aLocale and the locale in loadAlgorithm may be different.
|
/aoo41x/main/i18npool/source/localedata/ |
H A D | filewriter.cxx | 33 OFileWriter::OFileWriter(const char *pcFile, const char *locale ) { in OFileWriter() argument 39 strncpy( theLocale, locale, sizeof(theLocale) ); in OFileWriter() 74 const char* locale = aRefLocale.getStr(); in writeRefFunction() local 75 fprintf(m_f, "extern sal_Unicode ** SAL_CALL %s%s(sal_Int16& count);\n", func, locale); in writeRefFunction() 77 fprintf(m_f, "\treturn %s%s(count);\n}\n", func, locale); in writeRefFunction() 92 const char* locale = aRefLocale.getStr(); in writeRefFunction() local 97 fprintf(m_f, "\treturn %s%s(count, from, tmp);\n}\n", func, locale); in writeRefFunction() 111 const char* locale = aRefLocale.getStr(); in writeRefFunction2() local 114 fprintf(m_f, "\treturn %s%s(nStyles, nAttributes);\n}\n", func, locale); in writeRefFunction2() 129 const char* locale = aRefLocale.getStr(); in writeRefFunction3() local [all …]
|
/aoo41x/main/sc/workben/celltrans/ |
H A D | parse.py | 40 def __init__ (self, locale): argument 41 self.locale = locale 51 return func.lower() + "_" + getAscii(pair[1]).lower() + "_" + self.locale 58 chars += "// %s language locale (automatically generated)\n"%getLocaleName(self.locale) 60 … chars += "static const Locale a" + self.locale.capitalize() + "(OUString::createFromAscii(\"" 61 chars += self.locale 89 chars += "static const TransItem p" + self.locale.capitalize() + "[] = {\n" 102 "p"+self.locale.capitalize(), "a"+self.locale.capitalize()) 163 locale = getAscii(buf) 164 localeList.append(LocaleData(locale))
|
/aoo41x/main/configmgr/source/ |
H A D | childaccess.cxx | 237 rtl::OUString locale(getRootAccess()->getLocale()); in setProperty() local 238 if (!Components::allLocales(locale)) { in setProperty() 239 rtl::Reference< ChildAccess > child(getChild(locale)); in setProperty() 244 locale, value, localModifications); in setProperty() 277 rtl::OUString locale(getRootAccess()->getLocale()); in asValue() local 278 if (!Components::allLocales(locale)) { in asValue() 287 child = getChild(locale); in asValue() 288 if (child.is() || locale.getLength() == 0) { in asValue() 291 sal_Int32 i = locale.getLength() - 1; in asValue() 292 while (i > 0 && locale[i] != '-' && locale[i] != '_') { in asValue() [all …]
|
H A D | configurationprovider.cxx | 103 rtl::OUString const & locale): in Service() argument 105 locale_(locale) in Service() 187 rtl::OUString locale; in createInstanceWithArguments() local 227 if (locale.getLength() != 0 || !(value >>= locale) || in createInstanceWithArguments() 228 locale.getLength() == 0) in createInstanceWithArguments() 248 if (locale.getLength() == 0) { in createInstanceWithArguments() 250 locale = locale_; in createInstanceWithArguments() 251 if (locale.getLength() == 0) { in createInstanceWithArguments() 458 rtl::OUString locale; in createInstanceWithArgumentsAndContext() local 484 if (locale.getLength() != 0 || !(value >>= locale) || in createInstanceWithArgumentsAndContext() [all …]
|
/aoo41x/main/extensions/source/oooimprovement/ |
H A D | errormail.cxx | 90 const char * locale = getenv( "LC_ALL" ); in getLocale() local 91 if( NULL == locale ) in getLocale() 92 locale = getenv( "LC_CTYPE" ); in getLocale() 94 if( NULL == locale ) in getLocale() 95 locale = getenv( "LANG" ); in getLocale() 97 if( NULL == locale ) in getLocale() 98 locale = "C"; in getLocale() 99 return locale; in getLocale()
|
/aoo41x/main/shell/source/backends/localebe/ |
H A D | localebackend.cxx | 47 const char *locale = setlocale(category, ""); in ImplGetLocale() local 50 if( (locale == NULL) || ( locale[0] == 'C' && locale[1] == '\0' ) ) in ImplGetLocale() 60 for (cp = locale; *cp; cp++) in ImplGetLocale() 71 aLocaleBuffer.appendAscii(locale, uscore++ - locale); in ImplGetLocale() 77 aLocaleBuffer.appendAscii(locale, cp - locale); in ImplGetLocale()
|
/aoo41x/main/qadevOOo/tests/java/ifc/sheet/ |
H A D | _SpreadsheetDocumentSettings.java | 115 protected Locale locale = new Locale("ru", "RU", ""); field in _SpreadsheetDocumentSettings.ForbiddenChrTest 120 if (rLocale.Country.equals(locale.Country) && in getForbiddenCharacters() 121 rLocale.Language.equals(locale.Language) && in getForbiddenCharacters() 122 rLocale.Variant.equals(locale.Variant)) { in getForbiddenCharacters() 137 if (rLocale.Country.equals(locale.Country) && in hasForbiddenCharacters() 138 rLocale.Language.equals(locale.Language) && in hasForbiddenCharacters() 139 rLocale.Variant.equals(locale.Variant)) { in hasForbiddenCharacters()
|
/aoo41x/main/offapi/com/sun/star/util/ |
H A D | XLocalizedAliases.idl | 56 [in]com::sun::star::lang::Locale locale, 62 void unbindAlias([in]com::sun::star::lang::Locale locale, 68 string lookupAlias([in]com::sun::star::lang::Locale locale, 74 string lookupProgrammatic([in]com::sun::star::lang::Locale locale, 92 void renameAlias([in]com::sun::star::lang::Locale locale, 100 @param locale 101 specifies the locale scope. 106 sequence<AliasProgrammaticPair> listAliases([in]com::sun::star::lang::Locale locale);
|
/aoo41x/main/sysui/desktop/share/ |
H A D | translate.pl | 111 ($locale, $value) = split(' = ', $line); 113 if ( $locale ne $line ) { 115 $locale=~s/en-US/en/; 123 $locale=~s/-/_/; 125 print OUTFILE "$key\[$locale\]=$value\n"; 127 print OUTFILE "\t\[$locale\]$key=$value\n";
|
/aoo41x/main/desktop/source/deployment/misc/ |
H A D | dp_resource.cxx | 185 ::com::sun::star::lang::Locale locale; in toLocale() 189 locale.Language = lang; in toLocale() 197 locale.Country = country; in toLocale() 201 locale.Variant = country; in toLocale() 204 if (locale.Variant.getLength() == 0) in toLocale() 210 locale.Variant = variant; in toLocale() 214 return locale; in toLocale()
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | i18n_im.cxx | 232 char *locale = SetSystemLocale( pLocale ); in SetLocale() local 233 if ( (!IsXWindowCompatibleLocale(locale)) || IsPosixLocale(locale) ) in SetLocale() 236 locale = SetSystemLocale( "en_US" ); in SetLocale() 240 if (! IsXWindowCompatibleLocale(locale)) in SetLocale() 242 locale = SetSystemLocale( "C" ); in SetLocale() 246 if (! IsXWindowCompatibleLocale(locale)) in SetLocale() 255 locale); in SetLocale()
|