/external/icu/icu4c/source/tools/tzcode/ |
H A D | tzselect.ksh | 77 country= 151 country = cc_list[i] 152 if (cc_name[country]) { 153 country = cc_name[country] 155 print country 161 # If there's more than one country, ask the user which one. 164 echo >&2 'Please select a country.' 165 select country in $countries 167 case $country i [all...] |
/external/svox/pico/compat/src/com/android/tts/compat/ |
H A D | SynthProxy.java | 94 public int isLanguageAvailable(String language, String country, String variant) { argument 95 return native_isLanguageAvailable(mJniData, language, country, variant); 108 public int setLanguage(String language, String country, String variant) { argument 109 return native_setLanguage(mJniData, language, country, variant); 115 public int loadLanguage(String language, String country, String variant) { argument 116 return native_loadLanguage(mJniData, language, country, variant); 134 * Returns the currently set language, country and variant information. 171 String country, String variant); 173 private native final int native_setLanguage(long jniData, String language, String country, argument 176 private native final int native_loadLanguage(long jniData, String language, String country, argument 170 native_isLanguageAvailable(long jniData, String language, String country, String variant) argument [all...] |
H A D | CompatTtsService.java | 94 protected int onIsLanguageAvailable(String lang, String country, String variant) { argument 95 if (DBG) Log.d(TAG, "onIsLanguageAvailable(" + lang + "," + country + "," + variant + ")"); 97 return mNativeSynth.isLanguageAvailable(lang, country, variant); 101 protected int onLoadLanguage(String lang, String country, String variant) { argument 102 if (DBG) Log.d(TAG, "onLoadLanguage(" + lang + "," + country + "," + variant + ")"); 103 int result = onIsLanguageAvailable(lang, country, variant); 105 mNativeSynth.setLanguage(lang, country, variant); 120 String country = request.getCountry(); 122 if (mNativeSynth.setLanguage(lang, country, variant) != TextToSpeech.SUCCESS) { 123 Log.e(TAG, "setLanguage(" + lang + "," + country [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/res/ |
H A D | XResourceBundle.java | 103 String country = locale.getCountry(); 108 suffix += "_" + country; 110 if (country.equals("JP")) 111 suffix += "_" + country + "_" + variant;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | LocaleUtility.java | 25 String country = ""; 36 country = name.substring(i1); 38 country = name.substring(i1, i2); 43 return new Locale(language, country, variant);
|
H A D | LocaleIDs.java | 13 * Utilities for mapping between old and new language, country, and other 19 * Returns a list of all 2-letter country codes defined in ISO 3166. 42 * Returns a three-letter abbreviation for the provided country. If the provided 43 * country is empty, returns the empty string. Otherwise, returns 44 * an uppercase ISO 3166 3-letter country code. 46 * three-letter country abbreviation is not available for this locale. 49 public static String getISO3Country(String country){ argument 51 int offset = findIndex(_countries, country); 55 offset = findIndex(_obsoleteCountries, country); 369 "AN", "BU", "CS", "DD", "DY", "FX", "HV", "NH", "RH", "SU", "TP", "UK", "VD", "YD", "YU", "ZR" /* deprecated country lis [all...] |
H A D | ZoneMeta.java | 32 * for a given country (as defined by the Olson database), and 448 * Return the canonical country code for this tzid. If we have none, or if the time zone 449 * is not associated with a country or unknown, return null. 452 String country = getRegion(tzid); 453 if (country != null && country.equals(kWorld)) { 454 country = null; 456 return country; 460 * Return the canonical country code for this tzid. If we have none, or if the time zone 461 * is not associated with a country o [all...] |
/external/svox/pico/compat/include/ |
H A D | TtsEngine.h | 114 // Returns the level of support for the language, country and variant. 115 // @return TTS_LANG_COUNTRY_VAR_AVAILABLE if the language, country and variant are supported, 117 // TTS_LANG_COUNTRY_AVAILABLE if the language and country are supported and the 122 // the specified country and variant 126 virtual tts_support_result isLanguageAvailable(const char *lang, const char *country, 131 // language value is issued. Language and country values are coded according to the ISO three 136 // @param country pointer to the ISO three letter code for the country 139 virtual tts_result loadLanguage(const char *lang, const char *country, const char *variant); 141 // Load the resources associated with the specified language, country an [all...] |
/external/svox/pico/compat/jni/ |
H A D | tts.h | 159 // Returns the level of support for the language, country and variant. 160 // @return TTS_LANG_COUNTRY_VAR_AVAILABLE if the language, country and variant are supported, 162 // TTS_LANG_COUNTRY_AVAILABLE if the language and country are supported and the 167 // the specified country and variant 174 const char *country, 179 // language value is issued. Language and country values are coded according to the ISO three 184 // @param country pointer to the ISO three letter code for the country 190 const char *country, 193 // Load the resources associated with the specified language, country an [all...] |
H A D | com_android_tts_compat_SynthProxy.cpp | 406 jstring language, jstring country, jstring variant) 419 const char *countryNativeString = env->GetStringUTFChars(country, 0); 426 env->ReleaseStringUTFChars(country, countryNativeString); 434 jstring language, jstring country, jstring variant) 449 const char *countryNativeString = env->GetStringUTFChars(country, 0); 456 env->ReleaseStringUTFChars(country, countryNativeString); 465 jstring language, jstring country, jstring variant) 478 const char *countryNativeString = env->GetStringUTFChars(country, 0); 485 env->ReleaseStringUTFChars(country, countryNativeString); 598 char country[bufSiz local 405 com_android_tts_compat_SynthProxy_isLanguageAvailable(JNIEnv *env, jobject thiz, jlong jniData, jstring language, jstring country, jstring variant) argument 433 com_android_tts_compat_SynthProxy_setLanguage(JNIEnv *env, jobject thiz, jlong jniData, jstring language, jstring country, jstring variant) argument 464 com_android_tts_compat_SynthProxy_loadLanguage(JNIEnv *env, jobject thiz, jlong jniData, jstring language, jstring country, jstring variant) argument [all...] |
/external/svox/pico/src/com/svox/pico/ |
H A D | GetSampleText.java | 41 String country = i.getExtras().getString("country"); 45 if (country.equals("GBR")){
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
H A D | Messages.java | 359 String country = locale.getCountry(); 361 if (country.equals("TW")) 362 suffix += "_" + country;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
H A D | ICULocaleServiceProvider.java | 85 String country = result.getCountry(); 90 if (country.length() > 0 || variantNoSuffix.length() > 0) { 92 id.append(country); 143 // ICU's available locales do not contain language+country 171 String country = loc.getCountry(); 179 locales.add(new Locale(language, country, var.toString()));
|
/external/icu/icu4c/source/common/unicode/ |
H A D | locid.h | 55 * according to the customs/conventions of the user's native country, 66 * const char* country, 122 * name of the country suitable for displaying to the user. Similarly, 127 * that takes a locale as an argument and displays the name or country in 166 * through these objects by language, country, or variant, 208 /** Useful constant for this country/region. @stable ICU 2.0 */ 210 /** Useful constant for this country/region. @stable ICU 2.0 */ 212 /** Useful constant for this country/region. @stable ICU 2.0 */ 214 /** Useful constant for this country/region. @stable ICU 2.0 */ 216 /** Useful constant for this country/regio 747 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/external/icu/icu4c/source/common/ |
H A D | ulocimp.h | 59 char *country, int32_t countryCapacity,
|
/external/icu/icu4c/source/i18n/ |
H A D | zonemeta.h | 52 * Return the canonical country code for this tzid. If we have none, or if the time zone 53 * is not associated with a country, return bogus string. 55 * @param country [output] Country code 56 * @param isPrimary [output] TRUE if the zone is the primary zone for the country 57 * @return A reference to the result country 59 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary = NULL);
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
H A D | LocaleNameTest.java | 51 String country = forLocale.getCountry(); 53 if (country.length() != 0) { 55 icuid.append(country); 58 if (country.length() == 0) { 169 // ULocale#forLocale preserves country always
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wnm_sta.h | 33 char country[2]; /* valid if country_present=1 */ member in struct:neighbor_report
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.c | 587 static int country_match(const char *const cc[], const char *const country) argument 591 if (country == NULL) 594 if (cc[i][0] == country[0] && cc[i][1] == country[1]) 817 * @country: Country code, if known; otherwise, global operating class is used 822 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument 826 if (country_match(us_op_class_cc, country)) { 832 if (country_match(eu_op_class_cc, country)) { 838 if (country_match(jp_op_class_cc, country)) { 844 if (country_match(cn_op_class_cc, country)) { [all...] |
/external/wpa_supplicant_8/src/common/ |
H A D | ieee802_11_common.c | 587 static int country_match(const char *const cc[], const char *const country) argument 591 if (country == NULL) 594 if (cc[i][0] == country[0] && cc[i][1] == country[1]) 817 * @country: Country code, if known; otherwise, global operating class is used 822 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument 826 if (country_match(us_op_class_cc, country)) { 832 if (country_match(eu_op_class_cc, country)) { 838 if (country_match(jp_op_class_cc, country)) { 844 if (country_match(cn_op_class_cc, country)) { [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.c | 587 static int country_match(const char *const cc[], const char *const country) argument 591 if (country == NULL) 594 if (cc[i][0] == country[0] && cc[i][1] == country[1]) 817 * @country: Country code, if known; otherwise, global operating class is used 822 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument 826 if (country_match(us_op_class_cc, country)) { 832 if (country_match(eu_op_class_cc, country)) { 838 if (country_match(jp_op_class_cc, country)) { 844 if (country_match(cn_op_class_cc, country)) { [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | uhid.h | 53 __u32 country; member in struct:uhid_create2_req 139 __u32 country; member in struct:uhid_create_req
|
/external/apache-xml/src/main/java/org/apache/xpath/res/ |
H A D | XPATHErrorResources.java | 991 String country = locale.getCountry(); 993 if (country.equals("TW")) 994 suffix += "_" + country;
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
H A D | TestBagFormatter.java | 154 String country = locales[i].getCountry(); 156 if (country.equals("")) continue; 159 + "\t" + country
|
/external/svox/pico/tts/ |
H A D | com_svox_picottsengine.cpp | 1110 * @country - string with ISO 3 letter country code . 1111 * @variant - string with language variant for that language and country pair. 1114 tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant) argument 1124 * @country - string with ISO 3 letter country code. 1125 * @variant - string with language variant for that language and country pair. 1128 tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant ) argument 1130 //ALOGI("TtsEngine::setLanguage %s %s %s", lang, country, variant); 1142 then we look for a match on the country 1206 isLanguageAvailable(const char *lang, const char *country, const char *variant) argument 1270 getLanguage(char *language, char *country, char *variant) argument [all...] |