Home
last modified time | relevance | path

Searched refs:country (Results 1 – 25 of 161) sorted by relevance

1234567

/external/icu/icu4c/source/tools/tzcode/
Dtzselect.ksh77 country=
165 select country in $countries
167 case $country in
173 case $country in
177 country=$countries
183 -v country="$country" \
220 -v country="$country" \
271 case $country+$region in
272 ?*+?*) echo >&2 " $country$newline $region";;
273 ?*+) echo >&2 " $country";;
/external/svox/pico/compat/src/com/android/tts/compat/
DCompatTtsService.java94 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
95 if (DBG) Log.d(TAG, "onIsLanguageAvailable(" + lang + "," + country + "," + variant + ")"); in onIsLanguageAvailable()
97 return mNativeSynth.isLanguageAvailable(lang, country, variant); in onIsLanguageAvailable()
101 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
102 if (DBG) Log.d(TAG, "onLoadLanguage(" + lang + "," + country + "," + variant + ")"); in onLoadLanguage()
103 int result = onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
105 mNativeSynth.setLanguage(lang, country, variant); in onLoadLanguage()
120 String country = request.getCountry(); in onSynthesizeText() local
122 if (mNativeSynth.setLanguage(lang, country, variant) != TextToSpeech.SUCCESS) { in onSynthesizeText()
123 Log.e(TAG, "setLanguage(" + lang + "," + country + "," + variant + ") failed"); in onSynthesizeText()
DSynthProxy.java94 public int isLanguageAvailable(String language, String country, String variant) { in isLanguageAvailable() argument
95 return native_isLanguageAvailable(mJniData, language, country, variant); in isLanguageAvailable()
108 public int setLanguage(String language, String country, String variant) { in setLanguage() argument
109 return native_setLanguage(mJniData, language, country, variant); in setLanguage()
115 public int loadLanguage(String language, String country, String variant) { in loadLanguage() argument
116 return native_loadLanguage(mJniData, language, country, variant); in loadLanguage()
171 String country, String variant); in native_isLanguageAvailable() argument
173 private native final int native_setLanguage(long jniData, String language, String country, in native_setLanguage() argument
176 private native final int native_loadLanguage(long jniData, String language, String country, in native_loadLanguage() argument
/external/libphonenumber/
Drelease_notes.txt19 - Updated geocoding data for country calling code(s): 504 (en)
20 - New carrier data for country calling code(s): 886 (en), 1284 (en)
21 - Updated carrier data for country calling code(s): 63 (en), 92 (en)
30 This means that for the non-geographical country codes, like +800, the
53 - New geocoding data for country calling code(s):
55 - Updated geocoding data for country calling code(s):
57 - Updated carrier data for country calling code(s):
71 - New geocoding data for country calling code(s): 1463 (en), 358 (sv)
72 - Removed geocoding data for country calling code(s): 358 (se)
73 - Updated geocoding data for country calling code(s): 7 (en, ru)
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
DCodeBean.java19 private String country; field in CodeBean
29 return country; in getCountry()
32 public void setCountry(String country) { in setCountry() argument
33 this.country = country; in setCountry()
/external/python/cpython2/Tools/world/
DREADME1 world -- Print mappings between country names and DNS country codes.
7 world those addresses originate from, based on the top-level domain country
10 xx -- just the country code or top-level domain identifier
15 and a reverse lookup is attempted. This script will search the country names
58 Parse an iso3166-countrycodes file extracting the two letter country
59 code followed by the country name. Note that the three letter country
66 of a Python dictionary, and country names are normalized
73 regular expression; this is matched against all country names and a
76 country code is found.
Dworld122 for code, country in all.items():
123 mo = cre.search(country)
168 country, code = mo.group(1, 2)
170 words = country.split()
190 country = ' '.join(words)
191 print ' "%s": "%s",' % (code, country)
193 print code, country
/external/c-ares/
Dacountry.c556 const struct search_list *country; in find_country_from_cname() local
609 country = list_lookup(cnumber, country_list, in find_country_from_cname()
611 if (!country) in find_country_from_cname()
617 if ((country->short_name[0] != ccode_A2[0]) || in find_country_from_cname()
618 (country->short_name[1] != ccode_A2[1]) || in find_country_from_cname()
619 (country->short_name[2] != ccode_A2[2])) in find_country_from_cname()
621 country->short_name, ccode_A2); in find_country_from_cname()
624 country->long_name, country->short_name, cnumber); in find_country_from_cname()
/external/testng/src/test/java/test/dependent/
DGroupByInstancesSampleTest.java14 private static void log(String method, String country) { in log() argument
16 m_log.add(method + "#" + country); in log()
28 public GroupByInstancesSampleTest(String country) { in GroupByInstancesSampleTest() argument
29 m_country = country; in GroupByInstancesSampleTest()
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
DXResourceBundle.java103 String country = locale.getCountry(); in getResourceSuffix() local
108 suffix += "_" + country; in getResourceSuffix()
110 if (country.equals("JP")) in getResourceSuffix()
111 suffix += "_" + country + "_" + variant; in getResourceSuffix()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleUtility.java27 String country = ""; in getLocaleFromName() local
38 country = name.substring(i1); in getLocaleFromName()
40 country = name.substring(i1, i2); in getLocaleFromName()
45 return new Locale(language, country, variant); in getLocaleFromName()
DLocaleIDs.java51 public static String getISO3Country(String country){ in getISO3Country() argument
53 int offset = findIndex(_countries, country); in getISO3Country()
57 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
DZoneMeta.java454 String country = getRegion(tzid); in getCanonicalCountry() local
455 if (country != null && country.equals(kWorld)) { in getCanonicalCountry()
456 country = null; in getCanonicalCountry()
458 return country; in getCanonicalCountry()
469 String country = getRegion(tzid); in getCanonicalCountry() local
470 if (country != null && country.equals(kWorld)) { in getCanonicalCountry()
477 … Set<String> ids = TimeZone.getAvailableIDs(SystemTimeZoneType.CANONICAL_LOCATION, country, null); in getCanonicalCountry()
493 String primaryZone = primaryZones.getString(country); in getCanonicalCountry()
508 return country; in getCanonicalCountry()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleUtility.java29 String country = ""; in getLocaleFromName() local
40 country = name.substring(i1); in getLocaleFromName()
42 country = name.substring(i1, i2); in getLocaleFromName()
47 return new Locale(language, country, variant); in getLocaleFromName()
DLocaleIDs.java50 public static String getISO3Country(String country){ in getISO3Country() argument
52 int offset = findIndex(_countries, country); in getISO3Country()
56 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
DZoneMeta.java455 String country = getRegion(tzid); in getCanonicalCountry() local
456 if (country != null && country.equals(kWorld)) { in getCanonicalCountry()
457 country = null; in getCanonicalCountry()
459 return country; in getCanonicalCountry()
470 String country = getRegion(tzid); in getCanonicalCountry() local
471 if (country != null && country.equals(kWorld)) { in getCanonicalCountry()
478 … Set<String> ids = TimeZone.getAvailableIDs(SystemTimeZoneType.CANONICAL_LOCATION, country, null); in getCanonicalCountry()
494 String primaryZone = primaryZones.getString(country); in getCanonicalCountry()
509 return country; in getCanonicalCountry()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
DLocaleUtility.java27 String country = ""; in getLocaleFromName() local
38 country = name.substring(i1); in getLocaleFromName()
40 country = name.substring(i1, i2); in getLocaleFromName()
45 return new Locale(language, country, variant); in getLocaleFromName()
/external/svox/pico/compat/include/
DTtsEngine.h126 virtual tts_support_result isLanguageAvailable(const char *lang, const char *country,
139 virtual tts_result loadLanguage(const char *lang, const char *country, const char *variant);
151 virtual tts_result setLanguage(const char *lang, const char *country, const char *variant);
159 virtual tts_result getLanguage(char *language, char *country, char *variant);
/external/svox/pico/compat/jni/
Dtts.h178 const char *country,
194 const char *country,
210 const char *country,
222 char *country,
Dcom_android_tts_compat_SynthProxy.cpp406 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_isLanguageAvailable() argument
419 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_isLanguageAvailable()
426 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_isLanguageAvailable()
434 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_setLanguage() argument
449 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_setLanguage()
456 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_setLanguage()
465 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_loadLanguage() argument
478 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_loadLanguage()
485 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_loadLanguage()
598 char country[bufSize]; in com_android_tts_compat_SynthProxy_getLanguage() local
[all …]
/external/libmojo/base/android/java/src/org/chromium/base/
DLocaleUtils.java28 String country = locale.getCountry(); in getLocale() local
41 return country.isEmpty() ? language : language + "-" + country; in getLocale()
/external/libcups/cups/
Dlanguage.c459 country[16], /* Country code */ in cupsLangGet() local
663 country[0] = '\0'; in cupsLangGet()
688 for (language ++, ptr = country; *language; language ++) in cupsLangGet()
691 else if (ptr < (country + sizeof(country) - 1)) in cupsLangGet()
700 if (!strcmp(language, "zh") && !strcmp(country, "HANS")) in cupsLangGet()
701 strlcpy(country, "CN", sizeof(country)); in cupsLangGet()
702 if (!strcmp(language, "zh") && !strcmp(country, "HANT")) in cupsLangGet()
703 strlcpy(country, "TW", sizeof(country)); in cupsLangGet()
726 country[0] = '\0'; in cupsLangGet()
732 langname, country, charset)); in cupsLangGet()
[all …]
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c899 static int country_match(const char *const cc[], const char *const country) in country_match() argument
903 if (country == NULL) in country_match()
906 if (cc[i][0] == country[0] && cc[i][1] == country[1]) in country_match()
1134 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) in ieee80211_chan_to_freq() argument
1138 if (country_match(us_op_class_cc, country)) { in ieee80211_chan_to_freq()
1144 if (country_match(eu_op_class_cc, country)) { in ieee80211_chan_to_freq()
1150 if (country_match(jp_op_class_cc, country)) { in ieee80211_chan_to_freq()
1156 if (country_match(cn_op_class_cc, country)) { in ieee80211_chan_to_freq()
1544 u8 country_to_global_op_class(const char *country, u8 op_class) in country_to_global_op_class() argument
1550 if (country_match(us_op_class_cc, country)) { in country_to_global_op_class()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DMessages.java359 String country = locale.getCountry(); in getResourceSuffix() local
361 if (country.equals("TW")) in getResourceSuffix()
362 suffix += "_" + country; in getResourceSuffix()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java87 String country = result.getCountry(); in toULocaleNoSpecialVariant() local
92 if (country.length() > 0 || variantNoSuffix.length() > 0) { in toULocaleNoSpecialVariant()
94 id.append(country); in toULocaleNoSpecialVariant()
173 String country = loc.getCountry(); in addLocale() local
181 locales.add(new Locale(language, country, var.toString())); in addLocale()

1234567