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

12345

/external/chromium/chrome/browser/autofill/
H A Daddress_unittest.cc13 // Test that the getters and setters for country code are working.
25 // Test that country codes are properly decoded as country names.
30 // Make sure that nothing breaks when the country code is missing.
31 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY); local
32 EXPECT_EQ(string16(), country); local
35 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
36 EXPECT_EQ(ASCIIToUTF16("United States"), country);
39 country = address.GetInfo(ADDRESS_HOME_COUNTRY);
40 EXPECT_EQ(ASCIIToUTF16("Canada"), country);
50 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY); local
76 EXPECT_EQ(string16(), country); local
[all...]
H A Dautofill_common_test.h34 const char* state, const char* zipcode, const char* country,
41 const char* state, const char* zipcode, const char* country,
H A Dautofill_common_test.cc38 const char* state, const char* zipcode, const char* country,
50 check_and_set(profile, ADDRESS_HOME_COUNTRY, country);
59 const char* state, const char* zipcode, const char* country,
64 company, address1, address2, city, state, zipcode, country,
34 SetProfileInfo(AutofillProfile* profile, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone, const char* fax) argument
55 SetProfileInfoWithGuid(AutofillProfile* profile, const char* guid, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone, const char* fax) argument
H A Dautofill_country.h15 // Stores data associated with a country. Strings are localized to the app
19 // Returns country data corresponding to the two-letter ISO code
28 // Returns the likely country code for |locale|, or "US" as a fallback if no
32 // Returns the country code corresponding to |country|, which should be a
33 // country code or country name localized to |locale|. This function can
35 static const std::string GetCountryCode(const string16& country,
52 // The two-letter ISO-3166 country code.
55 // The country'
[all...]
H A Daddress.h45 // Returns the localized country name corresponding to |country_code_|.
51 // Sets the |country_code_| based on |country|, which should be a localized
52 // country name.
53 void SetCountry(const string16& country);
/external/icu4c/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/svox/pico/compat/src/com/android/tts/compat/
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(int jniData, String language, String country, argument
176 private native final int native_loadLanguage(int jniData, String language, String country, argument
170 native_isLanguageAvailable(int jniData, String language, String country, String variant) argument
[all...]
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...]
/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/svox/pico/compat/include/
H A DTtsEngine.h114 // 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 Dtts.h159 // 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 Dcom_android_tts_compat_SynthProxy.cpp406 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, jint jniData, jstring language, jstring country, jstring variant) argument
433 com_android_tts_compat_SynthProxy_setLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument
464 com_android_tts_compat_SynthProxy_loadLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument
[all...]
/external/svox/pico/src/com/svox/pico/
H A DGetSampleText.java41 String country = i.getExtras().getString("country");
45 if (country.equals("GBR")){
/external/chromium/base/i18n/
H A Drtl.cc23 // Extract language and country, ignore keywords, concatenate using dash.
26 const char* country = locale.getCountry(); local
31 if (country != NULL && *country != '\0') {
33 result += country;
71 const char* country = locale.getCountry(); local
73 !LowerCaseEqualsASCII(country, "es")) {
75 language += country;
/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/icu4c/common/
H A Dulocimp.h59 char *country, int32_t countryCapacity,
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_utils.c98 * @country: Country code
103 int p2p_channel_to_freq(const char *country, int reg_class, int channel) argument
105 if (country[2] == 0x04)
137 * @country: Country code
142 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, argument
202 * input channels sets are assumed to use the same country code. If different
203 * country codes are used, the regulatory class numbers may not be matched
260 if (p2p_freq_to_channel(p2p->cfg->country, freq,
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_utils.c98 * @country: Country code
103 int p2p_channel_to_freq(const char *country, int reg_class, int channel) argument
105 if (country[2] == 0x04)
137 * @country: Country code
142 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, argument
202 * input channels sets are assumed to use the same country code. If different
203 * country codes are used, the regulatory class numbers may not be matched
260 if (p2p_freq_to_channel(p2p->cfg->country, freq,
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_utils.c98 * @country: Country code
103 int p2p_channel_to_freq(const char *country, int reg_class, int channel) argument
105 if (country[2] == 0x04)
137 * @country: Country code
142 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, argument
202 * input channels sets are assumed to use the same country code. If different
203 * country codes are used, the regulatory class numbers may not be matched
260 if (p2p_freq_to_channel(p2p->cfg->country, freq,
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
H A Dfeed.js9 * page according to country, topics and no. of stories selected in the
320 var country = window.localStorage.getItem('country');
321 country = (country == 'noCountry' || !country) ? '' : country;
337 feedUrl = DEFAULT_NEWS_URL + '&cf=all&ned=' + country + '&q=' + topicVal +
338 '&hl=' + country;
344 feedUrl = DEFAULT_NEWS_URL + '&cf=all&ned=' + country
[all...]
H A Doptions.js8 * @fileoverview Includes the country selection, topics selection and
38 * Retrieves and sets last saved country from local storage(if found),
39 * else sets country retrieved from feed.
42 var country = window.localStorage.getItem('country');
44 // If country is not found in localstorage or default value is selected in
46 if ((!country) || country == 'noCountry') {
48 // retrieving the country value out of feed.
55 // Sets country t
[all...]
/external/icu4c/common/unicode/
H A Dlocid.h50 * according to the customs/conventions of the user's native country,
61 * const char* country,
117 * name of the country suitable for displaying to the user. Similarly,
122 * that takes a locale as an argument and displays the name or country in
161 * through these objects by language, country, or variant,
204 /** Useful constant for this country/region. @stable ICU 2.0 */
206 /** Useful constant for this country/region. @stable ICU 2.0 */
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/regio
719 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale
[all...]
/external/chromium/chrome/browser/resources/options/
H A Dautofill_edit_address_overlay.js123 address[8] = $('country').value;
148 $('country').onchange = function(event) {
166 !$('country').value && $('phone-list').items.length <= 1 &&
173 * selected country.
177 var countryCode = $('country').value;
191 * Populates the country <select> list.
198 // Build an array of the country names and their corresponding country
202 // We always want the default country to be at the top of the list, so
207 var country
[all...]
/external/icu4c/i18n/
H A Dzonemeta.h52 * 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 null.
58 * Return the country code if this is a 'single' time zone that can fallback to just
59 * the country, otherwise return empty string. (Note, one must also check the locale data
60 * to see that there is a localization for the country in order to implement
63 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
/external/kernel-headers/original/linux/
H A Duhid.h50 __u32 country; member in struct:uhid_create_req

Completed in 343 milliseconds

12345