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

123

/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 Daddress.cc183 void Address::SetCountry(const string16& country) { argument
185 country_code_ = AutofillCountry::GetCountryCode(country, app_locale);
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.cc39 // The maximum capacity needed to store a locale up to the country code.
43 // Maps country codes to localized label string identifiers.
288 // A singleton class that encapsulates a map from country codes to country data.
350 // A singleton class that encapsulates mappings from country names to their
351 // corresponding country codes.
356 // Returns the country code corresponding to |country|, which should be a
357 // country code or country nam
439 GetCountryCode(const string16& country, const std::string& locale) argument
622 GetCountryCode(const string16& country, const std::string& locale) argument
[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/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(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...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dconfig.h309 * country - Country code
311 * This is the ISO/IEC alpha2 country code for which we are operating
314 char country[2]; member in struct:wpa_config
/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,
H A Dp2p_build.c87 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
93 wpabuf_put_data(buf, country, 3);
101 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
107 wpabuf_put_data(buf, country, 3);
115 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
124 wpabuf_put_data(buf, country, 3); /* Country String */
/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,
H A Dp2p_build.c87 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
93 wpabuf_put_data(buf, country, 3);
101 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
107 wpabuf_put_data(buf, country, 3);
115 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
124 wpabuf_put_data(buf, country, 3); /* Country String */
/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,
H A Dp2p_build.c87 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, argument
93 wpabuf_put_data(buf, country, 3);
101 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, argument
107 wpabuf_put_data(buf, country, 3);
115 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, argument
124 wpabuf_put_data(buf, country, 3); /* Country String */
/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/chromium/chrome/browser/webdata/
H A Dweb_database_migration_unittest.cc509 " country, phone, fax)"
579 " country, phone, fax)"
829 "zipcode, country, phone, fax, date_modified, guid "
890 "city, state, zipcode, country, date_modified "
965 EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "country"));
1011 EXPECT_TRUE(connection.DoesColumnExist("autofill_profiles", "country"));
1042 "city, state, zipcode, country, date_modified "
1252 // Adds a column for the autofill profile's country code.
1266 // Check that the country value is the one we expect.
1268 connection.GetUniqueStatement("SELECT country FRO
1271 std::string country = s.ColumnString(0); local
[all...]
/external/kernel-headers/original/linux/
H A Duhid.h50 __u32 country; member in struct:uhid_create_req
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DPhoneNumberMatcher.java132 * country code. */
175 * The region (country) to assume for phone numbers without an international prefix, possibly
197 * @param country the country to assume for phone numbers not written in international format
206 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, argument
217 this.preferredRegion = country;
498 // a prefix such as a national number prefix, or the country code itself.
535 // The country-code will have a '-' following it.
594 // First, check how we deduced the country code. If it was written in international format, then
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
H A DWebAutofill.cpp237 const string16& state, const string16& zipCode, const string16& country, const string16& phoneNumber)
252 mAutofillProfile->SetInfo(AutofillFieldType(ADDRESS_HOME_COUNTRY), country); local
235 setProfile(const string16& fullName, const string16& emailAddress, const string16& companyName, const string16& addressLine1, const string16& addressLine2, const string16& city, const string16& state, const string16& zipCode, const string16& country, const string16& phoneNumber) argument
/external/icu4c/i18n/
H A Dlocdspnm.cpp357 const char* country = locale.getCountry(); local
361 UBool hasCountry = uprv_strlen(country) > 0;
368 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", script, "_", country, (char *)0);
385 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", country, (char*)0);
407 appendWithSep(resultRemainder, regionDisplayName(country, temp));
H A Ducal.cpp61 ucal_openCountryTimeZones(const char* country, UErrorCode* ec) { argument
62 return uenum_openFromStringEnumeration(TimeZone::createEnumeration(country), ec);
H A Dzonemeta.cpp407 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) { argument
408 // Get canonical country for the zone
412 country.setToBogus();
413 return country;
446 country.setToBogus();
447 return country;
479 // no single country by default for any error cases
502 country.setToBogus();
504 country.setTo(region, -1);
506 return country;
[all...]
/external/webkit/Source/WebKit/android/jni/
H A DWebSettings.cpp320 string16 country = getStringFieldAsString16(env, autoFillProfile, gFieldIds->mAutoFillProfileCountry); local
323 webAutofill->setProfile(fullName, emailAddress, companyName, addressLine1, addressLine2, city, state, zipCode, country, phoneNumber);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dhostapd.c823 char country[4]; local
837 if (hapd->iconf->country[0] && hapd->iconf->country[1]) {
838 os_memcpy(country, hapd->iconf->country, 3);
839 country[3] = '\0';
840 if (hostapd_set_country(hapd, country) < 0) {
841 wpa_printf(MSG_ERROR, "Failed to set country code");
/external/wpa_supplicant_8/src/ap/
H A Dhostapd.c823 char country[4]; local
837 if (hapd->iconf->country[0] && hapd->iconf->country[1]) {
838 os_memcpy(country, hapd->iconf->country, 3);
839 country[3] = '\0';
840 if (hostapd_set_country(hapd, country) < 0) {
841 wpa_printf(MSG_ERROR, "Failed to set country code");

Completed in 1417 milliseconds

123