/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/ |
H A D | mapping_file_provider.cc | 74 // Returns true if languages contains language. 75 bool HasLanguage(const CountryLanguages* languages, const string& language) { in HasLanguage() argument 76 const char** const start = languages->available_languages; in HasLanguage() 77 const char** const end = start + languages->available_languages_size; in HasLanguage() 127 const CountryLanguages* languages, const string& language, in FindBestMatchingLanguageCode() 134 if (HasLanguage(languages, normalized_locale_str)) { in FindBestMatchingLanguageCode() 140 if (HasLanguage(languages, full_locale)) { in FindBestMatchingLanguageCode() 146 if (HasLanguage(languages, language)) { in FindBestMatchingLanguageCode() 154 if (HasLanguage(languages, lang_with_script)) { in FindBestMatchingLanguageCode() 163 if (HasLanguage(languages, lang_with_regio in FindBestMatchingLanguageCode() 126 FindBestMatchingLanguageCode( const CountryLanguages* languages, const string& language, const string& script, const string& region, string* best_match) const FindBestMatchingLanguageCode() argument [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | LanguageData.java | 16 * This class holds the list of languages. 59 private Record[] languages = field in LanguageData 92 // languages added on 03/13/2008 142 private int maxLanguage = minLanguage + languages.length - 1; 160 return languages[value - minLanguage].tag(); in getTag() 169 return languages[value - minLanguage].label(); in getTagLabel() 178 return languages[value - minLanguage].makeTag(); in makeTag() 186 return languages[value - minLanguage].name(); in getName()
|
/third_party/node/deps/npm/node_modules/negotiator/ |
H A D | index.js | 57 var set = this.languages(available); 61 Negotiator.prototype.languages = function languages(available) { 80 Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages;
|
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/ |
H A D | geocoding_data_test.cc | 40 void TestCountryLanguages(const CountryLanguages* languages) { in TestCountryLanguages() argument 41 EXPECT_GT(languages->available_languages_size, 0); in TestCountryLanguages() 42 for (int i = 0; i < languages->available_languages_size; ++i) { in TestCountryLanguages() 43 string language(languages->available_languages[i]); in TestCountryLanguages() 46 EXPECT_LT(string(languages->available_languages[i - 1]), in TestCountryLanguages()
|
/third_party/python/Lib/ |
H A D | gettext.py | 8 languages. L10N refers to the adaptation of your program, once 467 def find(domain, localedir=None, languages=None, all=False): 471 if languages is None: 472 languages = [] 476 languages = val.split(':') 478 if 'C' not in languages: 479 languages.append('C') 480 # now normalize and expand the languages 482 for lang in languages: 507 def translation(domain, localedir=None, languages [all...] |
/third_party/protobuf/ |
H A D | generate_changelog.py | 13 languages = [ variable 57 for language in languages:
|
/third_party/node/deps/v8/tools/ |
H A D | run-wasm-api-tests.py | 129 languages = (C, CXX) 152 languages = custom_languages 158 for language in languages:
|
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/ |
H A D | policy.js | 103 if (JSON.stringify(negotiatorA.languages()) !== JSON.stringify(negotiatorB.languages())) {
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 716 * @language_count: The number of languages in the specified script 1126 const hb_tag_t *languages) in script_collect_features() 1130 if (!languages) in script_collect_features() 1132 /* All languages. */ in script_collect_features() 1145 for (; *languages; languages++) in script_collect_features() 1148 if (s.find_lang_sys_index (*languages, &language_index)) in script_collect_features() 1162 * @languages: The array of languages to collect features for 1167 * or GPOS table, underneath the specified scripts, languages, an 1124 script_collect_features(hb_collect_features_context_t *c, const OT::Script &s, const hb_tag_t *languages) script_collect_features() argument 1175 hb_ot_layout_collect_features(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *feature_indexes ) hb_ot_layout_collect_features() argument 1224 hb_ot_layout_collect_lookups(hb_face_t *face, hb_tag_t table_tag, const hb_tag_t *scripts, const hb_tag_t *languages, const hb_tag_t *features, hb_set_t *lookup_indexes ) hb_ot_layout_collect_lookups() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/ |
H A D | Test_zh_Hans_SG.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_zh_Hant_HK.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_zh_Hant.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_ar_EG.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_en.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_zh_Hans.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_he_IL.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_es.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_fr.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_it.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_ko.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
H A D | Test_ru.java | 12 package com.ibm.icu.dev.test.duration.languages;
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/languages/ |
H A D | Test_ar_EG.java | 13 package ohos.global.icu.dev.test.duration.languages;
|
H A D | Test_es.java | 13 package ohos.global.icu.dev.test.duration.languages;
|
H A D | Test_en.java | 13 package ohos.global.icu.dev.test.duration.languages;
|
H A D | Test_fr.java | 13 package ohos.global.icu.dev.test.duration.languages;
|