Home
last modified time | relevance | path

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

12345

/external/chromium/chrome/browser/autofill/
Daddress_unittest.cc31 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY); in TEST() local
32 EXPECT_EQ(string16(), country); in TEST()
35 country = address.GetInfo(ADDRESS_HOME_COUNTRY); in TEST()
36 EXPECT_EQ(ASCIIToUTF16("United States"), country); in TEST()
39 country = address.GetInfo(ADDRESS_HOME_COUNTRY); in TEST()
40 EXPECT_EQ(ASCIIToUTF16("Canada"), country); in TEST()
50 string16 country = address.GetInfo(ADDRESS_HOME_COUNTRY); in TEST() local
52 EXPECT_EQ(ASCIIToUTF16("United States"), country); in TEST()
56 country = address.GetInfo(ADDRESS_HOME_COUNTRY); in TEST()
58 EXPECT_EQ(ASCIIToUTF16("United States"), country); in TEST()
[all …]
Dautofill_common_test.cc38 const char* state, const char* zipcode, const char* country, in SetProfileInfo() argument
50 check_and_set(profile, ADDRESS_HOME_COUNTRY, country); in SetProfileInfo()
59 const char* state, const char* zipcode, const char* country, in SetProfileInfoWithGuid() argument
64 company, address1, address2, city, state, zipcode, country, in SetProfileInfoWithGuid()
Dautofill_common_test.h34 const char* state, const char* zipcode, const char* country,
41 const char* state, const char* zipcode, const char* country,
Dautofill_country.cc358 const std::string GetCountryCode(const string16& country,
439 const std::string CountryNames::GetCountryCode(const string16& country, in GetCountryCode() argument
442 std::string country_utf8 = UTF16ToUTF8(StringToUpperASCII(country)); in GetCountryCode()
449 std::string country_code = GetCountryCodeForLocalizedName(country, locale); in GetCountryCode()
454 return GetCountryCodeForLocalizedName(country, "en_US"); in GetCountryCode()
622 const std::string AutofillCountry::GetCountryCode(const string16& country, in GetCountryCode() argument
624 return CountryNames::GetInstance()->GetCountryCode(country, locale); in GetCountryCode()
/external/icu4c/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/
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(int jniData, String language, String country, in native_setLanguage() argument
176 private native final int native_loadLanguage(int jniData, String language, String country, in native_loadLanguage() argument
DCompatTtsService.java100 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
101 if (DBG) Log.d(TAG, "onIsLanguageAvailable(" + lang + "," + country + "," + variant + ")"); in onIsLanguageAvailable()
103 return mNativeSynth.isLanguageAvailable(lang, country, variant); in onIsLanguageAvailable()
107 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
108 if (DBG) Log.d(TAG, "onLoadLanguage(" + lang + "," + country + "," + variant + ")"); in onLoadLanguage()
109 int result = onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
111 mNativeSynth.setLanguage(lang, country, variant); in onLoadLanguage()
126 String country = request.getCountry(); in onSynthesizeText() local
128 if (mNativeSynth.setLanguage(lang, country, variant) != TextToSpeech.SUCCESS) { in onSynthesizeText()
129 Log.e(TAG, "setLanguage(" + lang + "," + country + "," + variant + ") failed"); in onSynthesizeText()
/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/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.h174 const char *country,
190 const char *country,
206 const char *country,
218 char *country,
Dcom_android_tts_compat_SynthProxy.cpp405 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_isLanguageAvailable() argument
418 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_isLanguageAvailable()
425 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_isLanguageAvailable()
433 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_setLanguage() argument
448 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_setLanguage()
455 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_setLanguage()
464 jstring language, jstring country, jstring variant) in com_android_tts_compat_SynthProxy_loadLanguage() argument
477 const char *countryNativeString = env->GetStringUTFChars(country, 0); in com_android_tts_compat_SynthProxy_loadLanguage()
484 env->ReleaseStringUTFChars(country, countryNativeString); in com_android_tts_compat_SynthProxy_loadLanguage()
597 char country[bufSize]; in com_android_tts_compat_SynthProxy_getLanguage() local
[all …]
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
Dfeed.js320 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 +
Doptions.js42 var country = window.localStorage.getItem('country');
46 if ((!country) || country == 'noCountry') {
79 $('countryList').value = country;
233 var country = $('countryList').value;
267 window.localStorage.setItem('country', country);
/external/chromium/base/i18n/
Drtl.cc26 const char* country = locale.getCountry(); in GetLocaleString() local
31 if (country != NULL && *country != '\0') { in GetLocaleString()
33 result += country; in GetLocaleString()
71 const char* country = locale.getCountry(); in ICULocaleName() local
73 !LowerCaseEqualsASCII(country, "es")) { in ICULocaleName()
75 language += country; in ICULocaleName()
/external/wpa_supplicant_8/src/p2p/
Dp2p_go_neg.c49 os_memcpy(dev->country, pos, 3); in p2p_peer_channels_check()
51 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check()
54 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check()
166 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req()
172 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_go_neg_req()
174 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_req()
295 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
301 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
304 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
310 p2p_buf_add_channel_list(buf, p2p->cfg->country, &res); in p2p_build_go_neg_resp()
[all …]
Dp2p_utils.c103 int p2p_channel_to_freq(const char *country, int reg_class, int channel) in p2p_channel_to_freq() argument
105 if (country[2] == 0x04) in p2p_channel_to_freq()
142 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, in p2p_freq_to_channel() argument
277 if (p2p_freq_to_channel(p2p->cfg->country, freq, in p2p_supported_freq()
Dp2p_invitation.c67 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req()
72 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req()
135 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp()
140 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp()
241 if (p2p_freq_to_channel(p2p->cfg->country, op_freq, in p2p_process_invitation_req()
329 op_freq = p2p_channel_to_freq(p2p->cfg->country, in p2p_process_invitation_req()
336 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_process_invitation_req()
365 freq = p2p_channel_to_freq(p2p->cfg->country, in p2p_process_invitation_req()
Dp2p_build.c87 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel() argument
93 wpabuf_put_data(buf, country, 3); in p2p_buf_add_listen_channel()
101 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel() argument
107 wpabuf_put_data(buf, country, 3); in p2p_buf_add_operating_channel()
115 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list() argument
124 wpabuf_put_data(buf, country, 3); /* Country String */ in p2p_buf_add_channel_list()
/external/libphonenumber/java/
Drelease_notes.txt8 - New geocoding data for country calling code(s): 32 (en, fr, nl)
9 - Updated geocoding data for country calling code(s): 27 (en), 86 (en, zh)
15 - New geocoding data for country calling code(s): 241 (en)
21 - New geocoding data for country calling code(s): 359 (bg, en)
36 - Updated geocoding data for country calling code(s): 30 (el, en)
46 - Updated geocoding data for country calling code(s): 98 (en), 1 (en)
60 national format, if the formatting rules for that country dictate that a space is appropriate.
67 - New alternate formatting data for country calling code(s): 43
69 - New geocoding data for country calling code(s): 62 (en, id), 98 (fa)
75 - New geocoding data for country calling code(s): 7 (ru), 98 (en)
[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/chromium/chrome/browser/resources/options/
Dautofill_edit_address_overlay.js207 var country = { variable
211 countries.push(country);
233 var country = new Option(countries[i].name, countries[i].countryCode);
234 countryList.appendChild(country)
/external/svox/pico/tts/
Dcom_svox_picottsengine.cpp1114 tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant) in loadLanguage() argument
1128 tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant ) in setLanguage() argument
1168 if (country != NULL) in setLanguage()
1174 && (strcmp(country, picoSupportedCountryIso3[i]) == 0)) in setLanguage()
1186 lang, country); in setLanguage()
1206 tts_support_result TtsEngine::isLanguageAvailable(const char *lang, const char *country, in isLanguageAvailable() argument
1235 if ((country == NULL) || (strlen(country) == 0)) { in isLanguageAvailable()
1243 && (strcmp(country, picoSupportedCountryIso3[i]) == 0)) { in isLanguageAvailable()
1270 tts_result TtsEngine::getLanguage(char *language, char *country, char *variant) in getLanguage() argument
1274 strcpy(country, "\0"); in getLanguage()
[all …]
/external/svox/pico/src/com/svox/pico/
DGetSampleText.java41 String country = i.getExtras().getString("country"); in onCreate() local
45 if (country.equals("GBR")){ in onCreate()
/external/icu4c/common/unicode/
Dlocid.h265 const char * country = 0,
726 char country[ULOC_COUNTRY_CAPACITY]; variable
754 return country; in getCountry()
/external/icu4c/i18n/
Dzonemeta.cpp408 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) { in getSingleCountry() argument
413 country.setToBogus(); in getSingleCountry()
414 return country; in getSingleCountry()
447 country.setToBogus(); in getSingleCountry()
448 return country; in getSingleCountry()
505 country.setToBogus(); in getSingleCountry()
507 country.setTo(region, -1); in getSingleCountry()
509 return country; in getSingleCountry()

12345