Searched defs:country (Results 1 - 25 of 95) sorted by relevance

1234

/external/testng/src/test/java/test/dependent/
H A DGroupByInstancesSampleTest.java14 private static void log(String method, String country) { argument
15 // System.out.println("LOG:" + method + "#" + country + " " + Thread.currentThread().getId());
16 m_log.add(method + "#" + country);
28 public GroupByInstancesSampleTest(String country) { argument
29 m_country = country;
/external/icu/icu4c/source/common/unicode/
H A Dlocid.h57 * according to the customs/conventions of the user's native country,
68 * const char* country,
124 * name of the country suitable for displaying to the user. Similarly,
129 * that takes a locale as an argument and displays the name or country in
168 * through these objects by language, country, or variant,
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/region. @stable ICU 2.0 */
218 /** Useful constant for this country/regio
747 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale
[all...]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
H A DCodeBean.java19 private String country; field in class:CodeBean
29 return country;
32 public void setCountry(String country) { argument
33 this.country = country;
/external/svox/pico/compat/src/com/android/tts/compat/
H A DCompatTtsService.java94 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...]
H A DSynthProxy.java94 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...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DLocaleIDs.java16 * Utilities for mapping between old and new language, country, and other
23 * Returns a list of all 2-letter country codes defined in ISO 3166.
44 * Returns a three-letter abbreviation for the provided country. If the provided
45 * country is empty, returns the empty string. Otherwise, returns
46 * an uppercase ISO 3166 3-letter country code.
48 * three-letter country abbreviation is not available for this locale.
50 public static String getISO3Country(String country){ argument
52 int offset = findIndex(_countries, country);
56 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...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
H A DLocaleIDs.java17 * Utilities for mapping between old and new language, country, and other
23 * Returns a list of all 2-letter country codes defined in ISO 3166.
46 * Returns a three-letter abbreviation for the provided country. If the provided
47 * country is empty, returns the empty string. Otherwise, returns
48 * an uppercase ISO 3166 3-letter country code.
50 * three-letter country abbreviation is not available for this locale.
53 public static String getISO3Country(String country){ argument
56 int offset = findIndex(_countries, country);
60 offset = findIndex(_obsoleteCountries, country);
377 // Avoid initializing country table
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DLocaleIDs.java15 * Utilities for mapping between old and new language, country, and other
21 * Returns a list of all 2-letter country codes defined in ISO 3166.
44 * Returns a three-letter abbreviation for the provided country. If the provided
45 * country is empty, returns the empty string. Otherwise, returns
46 * an uppercase ISO 3166 3-letter country code.
48 * three-letter country abbreviation is not available for this locale.
51 public static String getISO3Country(String country){ argument
53 int offset = findIndex(_countries, country);
57 offset = findIndex(_obsoleteCountries, country);
371 "AN", "BU", "CS", "DD", "DY", "FX", "HV", "NH", "RH", "SU", "TP", "UK", "VD", "YD", "YU", "ZR" /* deprecated country lis
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwnm_sta.h33 char country[2]; /* valid if country_present=1 */ member in struct:neighbor_report
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberMatcher.java152 * country code. */
194 * The region (country) to assume for phone numbers without an international prefix, possibly
216 * @param country the country to assume for phone numbers not written in international format
225 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, argument
236 this.preferredRegion = country;
477 // First skip the country code if the normalized candidate contained it.
494 // information based on the country code in the phone number, rather than the number itself,
495 // as we do not need to distinguish between different countries with the same country
526 // a prefix such as a national number prefix, or the country cod
[all...]
/external/c-ares/
H A Dacountry.c3 * IP-address/hostname to country converter.
12 * The 2 letter country code is in <CC> and the ISO-3166 country
221 * Extract the CNAME and figure out the country-code from it.
263 int country_number; /* ISO-3166 country number */
264 char short_name[3]; /* A2 short country code */
265 const char *long_name; /* normal country name */
548 * Find the country-code and name from the CNAME. E.g.:
556 const struct search_list *country; local
606 TRACE(("Found country
[all...]
/external/kernel-headers/original/uapi/linux/
H A Duhid.h53 __u32 country; member in struct:uhid_create2_req
139 __u32 country; member in struct:uhid_create_req
/external/libcups/cups/
H A Dlanguage.c436 country[16], /* Country code */ local
634 * language string is converted from ll-cc[.charset] (language-country)
640 country[0] = '\0';
662 * Copy the country code...
665 for (language ++, ptr = country; *language; language ++)
668 else if (ptr < (country + sizeof(country) - 1))
694 country[0] = '\0';
699 DEBUG_printf(("4cupsLangGet: langname=\"%s\", country=\"%s\", charset=\"%s\"",
700 langname, country, charse
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DTimeZone.java370 * a fallback based on the country, city, or time zone id will be used.
383 * a fallback based on the country, city, or time zone id will be used.
397 * a fallback based on the country, city, or time zone id will be used.
747 * @param region The ISO 3166 two-letter country code or UN M.49 three-digit area code.
776 * associated with the given country. These IDs may be passed to
779 * @param country a two-letter ISO 3166 country code, or <code>null</code>
780 * to return zones not associated with any country
782 * country. If there are none, return a zero-length array.
785 public static String[] getAvailableIDs(String country) { argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DULocaleTest.java493 /* country code */
503 /* ISO-3 country */
512 /* display country (English) */
525 /* display country (French) */
538 /* display country (Catalan) */
561 /* display country (Greek) */
1031 String country = l.getDisplayCountry();
1034 checkName(name, language, script, country, variant, ULocale.getDefault());
1042 country = l.getDisplayCountry(dl);
1045 if (!checkName(name, language, script, country, varian
1220 checkName(String name, String language, String script, String country, String variant, ULocale dl) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DTimeZone.java427 * a fallback based on the country, city, or time zone id will be used.
441 * a fallback based on the country, city, or time zone id will be used.
456 * a fallback based on the country, city, or time zone id will be used.
817 * @param region The ISO 3166 two-letter country code or UN M.49 three-digit area code.
850 * associated with the given country. These IDs may be passed to
853 * @param country a two-letter ISO 3166 country code, or <code>null</code>
854 * to return zones not associated with any country
856 * country. If there are none, return a zero-length array.
861 public static String[] getAvailableIDs(String country) { argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DULocaleTest.java492 /* country code */
502 /* ISO-3 country */
511 /* display country (English) */
524 /* display country (French) */
537 /* display country (Catalan) */
560 /* display country (Greek) */
1030 String country = l.getDisplayCountry();
1033 checkName(name, language, script, country, variant, ULocale.getDefault());
1041 country = l.getDisplayCountry(dl);
1044 if (!checkName(name, language, script, country, varian
1219 checkName(String name, String language, String script, String country, String variant, ULocale dl) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.c899 static int country_match(const char *const cc[], const char *const country) argument
903 if (country == NULL)
906 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1129 * @country: Country code, if known; otherwise, global operating class is used
1134 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1138 if (country_match(us_op_class_cc, country)) {
1144 if (country_match(eu_op_class_cc, country)) {
1150 if (country_match(jp_op_class_cc, country)) {
1156 if (country_match(cn_op_class_cc, country)) {
1544 country_to_global_op_class(const char *country, u8 op_class) argument
1581 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_build.c85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
91 wpabuf_put_data(buf, country, 3);
99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
105 wpabuf_put_data(buf, country, 3);
151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
160 wpabuf_put_data(buf, country, 3); /* Country String */
370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, argument
377 wpabuf_put_data(buf, country, 3);
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.c899 static int country_match(const char *const cc[], const char *const country) argument
903 if (country == NULL)
906 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1129 * @country: Country code, if known; otherwise, global operating class is used
1134 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1138 if (country_match(us_op_class_cc, country)) {
1144 if (country_match(eu_op_class_cc, country)) {
1150 if (country_match(jp_op_class_cc, country)) {
1156 if (country_match(cn_op_class_cc, country)) {
1544 country_to_global_op_class(const char *country, u8 op_class) argument
1581 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_build.c85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
91 wpabuf_put_data(buf, country, 3);
99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
105 wpabuf_put_data(buf, country, 3);
151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
160 wpabuf_put_data(buf, country, 3); /* Country String */
370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, argument
377 wpabuf_put_data(buf, country, 3);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.c899 static int country_match(const char *const cc[], const char *const country) argument
903 if (country == NULL)
906 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1129 * @country: Country code, if known; otherwise, global operating class is used
1134 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1138 if (country_match(us_op_class_cc, country)) {
1144 if (country_match(eu_op_class_cc, country)) {
1150 if (country_match(jp_op_class_cc, country)) {
1156 if (country_match(cn_op_class_cc, country)) {
1544 country_to_global_op_class(const char *country, u8 op_class) argument
1581 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_build.c85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
91 wpabuf_put_data(buf, country, 3);
99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
105 wpabuf_put_data(buf, country, 3);
151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
160 wpabuf_put_data(buf, country, 3); /* Country String */
370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, argument
377 wpabuf_put_data(buf, country, 3);
/external/icu/icu4c/source/common/
H A Dlocdspnm.cpp575 const char* country = locale.getCountry(); local
579 UBool hasCountry = uprv_strlen(country) > 0;
586 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", script, "_", country, (char *)0);
603 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", country, (char*)0);
624 appendWithSep(resultRemainder, regionDisplayName(country, temp, TRUE));
/external/icu/icu4c/source/i18n/
H A Ddtptngen.cpp529 const char *country = maxLocale.getCountry(); local
530 if (*country == '\0') { country = "001"; }
536 langCountry.append(country, uprv_strlen(country), status);
541 allowedFormats = (int32_t *)uhash_get(localeToAllowedHourFormatsMap, const_cast<char *>(country));

Completed in 4544 milliseconds

1234