Searched refs:country (Results 1 - 25 of 166) sorted by relevance

1234567

/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/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/tools/tzcode/
H A Dtzselect.ksh77 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/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/
H A DResTable_configTest.java17 resTable_config.country[0] = 'u';
18 resTable_config.country[1] = 'k';
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
H A DXResourceBundle.java103 String country = locale.getCountry();
108 suffix += "_" + country;
110 if (country.equals("JP"))
111 suffix += "_" + country + "_" + variant;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DLocaleUtility.java29 String country = "";
40 country = name.substring(i1);
42 country = name.substring(i1, i2);
47 return new Locale(language, country, variant);
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...]
H A DZoneMeta.java35 * for a given country (as defined by the Olson database), and
451 * Return the canonical country code for this tzid. If we have none, or if the time zone
452 * is not associated with a country or unknown, return null.
455 String country = getRegion(tzid);
456 if (country != null && country.equals(kWorld)) {
457 country = null;
459 return country;
463 * Return the canonical country code for this tzid. If we have none, or if the time zone
464 * is not associated with a country o
[all...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
H A DLocaleUtility.java27 String country = "";
38 country = name.substring(i1);
40 country = name.substring(i1, i2);
45 return new Locale(language, country, variant);
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 DLocaleUtility.java27 String country = "";
38 country = name.substring(i1);
40 country = name.substring(i1, i2);
45 return new Locale(language, country, variant);
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...]
H A DZoneMeta.java34 * for a given country (as defined by the Olson database), and
450 * Return the canonical country code for this tzid. If we have none, or if the time zone
451 * is not associated with a country or unknown, return null.
454 String country = getRegion(tzid);
455 if (country != null && country.equals(kWorld)) {
456 country = null;
458 return country;
462 * Return the canonical country code for this tzid. If we have none, or if the time zone
463 * is not associated with a country o
[all...]
/external/libmojo/base/android/java/src/org/chromium/base/
H A DLocaleUtils.java104 * and XX is a country code. This works for API level lower than 21.
119 String country = tag[1];
120 if (country.length() != 2 && country.length() != 3) {
123 return new Locale(language, country);
128 * and XX is a country code.
148 * @return a well-formed IETF BCP 47 language tag with language and country code that
153 String country = locale.getCountry();
154 if (language.equals("no") && country.equals("NO") && locale.getVariant().equals("NY")) {
157 return country
[all...]
/external/python/cpython2/Tools/world/
H A Dworld3 """world -- Print mappings between country names and DNS country codes.
10 world those addresses originate from, based on the top-level domain country
13 xx -- just the country code or top-level domain identifier
18 reverse lookup is attempted. This script will search the country names and
39 authoritative source of country code mappings is:
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 name
[all...]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
H A Dsdca_estimator_test.py114 'country':
125 country = feature_column_lib.sparse_column_with_hash_bucket(
126 'country', hash_bucket_size=5)
129 feature_columns=[price, country],
147 'country':
155 country = feature_column_lib.sparse_column_with_hash_bucket(
156 'country', hash_bucket_size=5)
158 country, 'price')
178 'country':
188 country
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DMessages.java359 String country = locale.getCountry();
361 if (country.equals("TW"))
362 suffix += "_" + country;
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
H A DResTable_config.java576 /** Returns a packed 2-byte country code. */
578 public final byte[] country; field in class:ResTable_config
580 /** Returns {@link #country} as an unpacked string representation. */
632 return new ResTable_config(size, mcc, mnc, language, country,
639 public ResTable_config(int size, int mcc, int mnc, byte[] language, byte[] country, argument
649 this.country = country;
675 this.country = new byte[2];
794 Preconditions.checkState(value.length == 2, "Language or country value must be 2 bytes.");
831 packLanguageOrRegion(region, (byte) '0', this.country);
1989 str(byte[] country) argument
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
H A DICULocaleServiceProvider.java87 String country = result.getCountry();
92 if (country.length() > 0 || variantNoSuffix.length() > 0) {
94 id.append(country);
145 // ICU's available locales do not contain language+country
173 String country = loc.getCountry();
181 locales.add(new Locale(language, country, var.toString()));
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
H A Dsvm_test.py176 'country':
184 country = feature_column.sparse_column_with_hash_bucket(
185 'country', hash_bucket_size=5)
186 svm_classifier = svm.SVM(feature_columns=[price, country],
229 'country':
242 country = feature_column.sparse_column_with_hash_bucket(
243 'country', hash_bucket_size=5)
245 [sq_footage_bucket, country], hash_bucket_size=10)
247 feature_columns=[price, sq_footage_bucket, country, sq_footage_country],
/external/icu/icu4c/source/common/unicode/
H A Dlocid.h58 * according to the customs/conventions of the user's native country,
69 * const char* country,
125 * name of the country suitable for displaying to the user. Similarly,
130 * that takes a locale as an argument and displays the name or country in
169 * through these objects by language, country, or variant,
211 /** Useful constant for this country/region. @stable ICU 2.0 */
213 /** Useful constant for this country/region. @stable ICU 2.0 */
215 /** Useful constant for this country/region. @stable ICU 2.0 */
217 /** Useful constant for this country/region. @stable ICU 2.0 */
219 /** Useful constant for this country/regio
748 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.c905 static int country_match(const char *const cc[], const char *const country) argument
909 if (country == NULL)
912 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1135 * @country: Country code, if known; otherwise, global operating class is used
1140 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1144 if (country_match(us_op_class_cc, country)) {
1150 if (country_match(eu_op_class_cc, country)) {
1156 if (country_match(jp_op_class_cc, country)) {
1162 if (country_match(cn_op_class_cc, country)) {
1584 country_to_global_op_class(const char *country, u8 op_class) argument
1621 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.c905 static int country_match(const char *const cc[], const char *const country) argument
909 if (country == NULL)
912 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1135 * @country: Country code, if known; otherwise, global operating class is used
1140 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1144 if (country_match(us_op_class_cc, country)) {
1150 if (country_match(eu_op_class_cc, country)) {
1156 if (country_match(jp_op_class_cc, country)) {
1162 if (country_match(cn_op_class_cc, country)) {
1584 country_to_global_op_class(const char *country, u8 op_class) argument
1621 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.c905 static int country_match(const char *const cc[], const char *const country) argument
909 if (country == NULL)
912 if (cc[i][0] == country[0] && cc[i][1] == country[1])
1135 * @country: Country code, if known; otherwise, global operating class is used
1140 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
1144 if (country_match(us_op_class_cc, country)) {
1150 if (country_match(eu_op_class_cc, country)) {
1156 if (country_match(jp_op_class_cc, country)) {
1162 if (country_match(cn_op_class_cc, country)) {
1584 country_to_global_op_class(const char *country, u8 op_class) argument
1621 get_oper_class(const char *country, u8 op_class) argument
[all...]
/external/icu/icu4c/source/common/
H A Dulocimp.h61 char *country, int32_t countryCapacity,

Completed in 730 milliseconds

1234567