Home
last modified time | relevance | path

Searched refs:country_code (Results 1 – 25 of 2720) sorted by relevance

12345678910>>...109

/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/geoplanet/
H A Dcleanup_geoplanet_db.sql43 set country_code = "IM",
48 set country_code = "IM",
53 set country_code = "IM",
60 set country_code = "IM",
65 set country_code = "IM"
73 set country_code = "GG",
78 set country_code = "GG",
86 set country_code = "GG",
91 set country_code = "GG",
96 set country_code = "GG"
[all …]
/dports/devel/p5-Google-Checkout/Google-Checkout-1.1.1/examples/checkout/
H A Dcheckout_example5.pl53 {country_code => 'BE'},
54 {country_code => 'BG'},
55 {country_code => 'CY'},
56 {country_code => 'CZ'},
57 {country_code => 'DK'},
58 {country_code => 'EE'},
59 {country_code => 'FI'},
60 {country_code => 'FR'},
61 {country_code => 'DE'},
62 {country_code => 'GR'},
[all …]
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/account/
H A D__init__.py24 country_code = env.company.country_id.code
25 if country_code:
36 elif country_code in SYSCOHADA_LIST:
39 elif country_code == 'GB':
41 elif country_code == 'DE':
46 module_list.append('l10n_' + country_code.lower())
49 if country_code == 'US':
51 if country_code in ['US', 'CA']:
55 if country_code in SYSCOHADA_LIST + [
60 if country_code == 'MX':
[all …]
/dports/devel/py-google-i18n-address/google-i18n-address-2.5.0/i18naddress/
H A D__init__.py30 country_code = country_code.lower()
61 country_code, argument
79 self.country_code = country_code
118 self.country_code,
192 def _load_country_data(country_code): argument
195 if country_code:
196 country_code = country_code.upper()
238 if country_code in database:
338 country_code,
393 if not country_code:
[all …]
/dports/devel/py-phonenumbers/phonenumbers-8.4.1/tests/
H A Dphonenumbertest.py36 numberA.country_code = 1
43 numberA.country_code = 1
47 numberB.country_code = 1
64 numberA.country_code = 1
68 numberB.country_code = 1
74 numberA.country_code = 1
82 numberB.country_code = 1
92 numberA.country_code = 1
96 numberB.country_code = 1
102 numberA.country_code = 1
[all …]
H A Dcarriertest.py47 AO_MOBILE1 = FrozenPhoneNumber(country_code=244, national_number=917654321)
48 AO_MOBILE2 = FrozenPhoneNumber(country_code=244, national_number=927654321)
49 AO_FIXED1 = FrozenPhoneNumber(country_code=244, national_number=22254321)
50 AO_FIXED2 = FrozenPhoneNumber(country_code=244, national_number=26254321)
51 AO_INVALID_NUMBER = FrozenPhoneNumber(country_code=244, national_number=101234)
52 UK_MOBILE1 = FrozenPhoneNumber(country_code=44, national_number=7387654321)
53 UK_MOBILE2 = FrozenPhoneNumber(country_code=44, national_number=7487654321)
54 UK_FIXED1 = FrozenPhoneNumber(country_code=44, national_number=1123456789)
55 UK_FIXED2 = FrozenPhoneNumber(country_code=44, national_number=2987654321)
56 UK_INVALID_NUMBER = FrozenPhoneNumber(country_code=44, national_number=7301234)
[all …]
H A Dgeocodertest.py49 KO_NUMBER1 = FrozenPhoneNumber(country_code=82, national_number=22123456)
50 KO_NUMBER2 = FrozenPhoneNumber(country_code=82, national_number=322123456)
51 KO_NUMBER3 = FrozenPhoneNumber(country_code=82, national_number=6421234567)
52 KO_INVALID_NUMBER = FrozenPhoneNumber(country_code=82, national_number=1234)
53 KO_MOBILE = FrozenPhoneNumber(country_code=82, national_number=101234567)
54 US_NUMBER1 = FrozenPhoneNumber(country_code=1, national_number=6502530000)
55 US_NUMBER2 = FrozenPhoneNumber(country_code=1, national_number=6509600000)
56 US_NUMBER3 = FrozenPhoneNumber(country_code=1, national_number=2128120000)
57 US_NUMBER4 = FrozenPhoneNumber(country_code=1, national_number=6174240000)
60 BS_NUMBER1 = FrozenPhoneNumber(country_code=1, national_number=2423651234)
[all …]
/dports/japanese/awffull/awffull-3.10.2/src/
H A Dsegment.c112 const char *country_code = NULL; in segment_by_country() local
123 country_code = isinlist(assign_country, hostname); in segment_by_country()
124 if (country_code != NULL) { in segment_by_country()
126 while (*(country_code + i) != '\0' && i < 10) { in segment_by_country()
127 *(domain_buffer + i) = toupper(*(country_code + i)); in segment_by_country()
130 country_code = domain_buffer; in segment_by_country()
144 country_code = NULL; in segment_by_country()
150 country_code = NULL; in segment_by_country()
157 country_code = domain_buffer; in segment_by_country()
162 if (country_code != NULL) { in segment_by_country()
[all …]
/dports/www/awffull/awffull-3.10.2/src/
H A Dsegment.c112 const char *country_code = NULL; in segment_by_country() local
123 country_code = isinlist(assign_country, hostname); in segment_by_country()
124 if (country_code != NULL) { in segment_by_country()
126 while (*(country_code + i) != '\0' && i < 10) { in segment_by_country()
127 *(domain_buffer + i) = toupper(*(country_code + i)); in segment_by_country()
130 country_code = domain_buffer; in segment_by_country()
144 country_code = NULL; in segment_by_country()
150 country_code = NULL; in segment_by_country()
157 country_code = domain_buffer; in segment_by_country()
162 if (country_code != NULL) { in segment_by_country()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/autofill/core/browser/geo/
H A Dphone_number_i18n.cc29 const std::string& country_code, in FormatPhoneNumber() argument
64 country_code.empty() ? PhoneNumberUtil::NATIONAL in FormatValidatedNumber()
148 base::string16* country_code, in ParsePhoneNumber() argument
153 country_code->clear(); in ParsePhoneNumber()
217 *country_code = in ParsePhoneNumber()
324 const std::string country_code = in GetFormattedPhoneNumberForDisplay() local
332 if (IsValidPhoneNumber(phone, country_code)) { in GetFormattedPhoneNumberForDisplay()
334 FormatPhoneNumber(phone, country_code, in GetFormattedPhoneNumberForDisplay()
343 if (IsValidPhoneNumber(phone_number, country_code)) { in FormatPhoneNationallyForDisplay()
352 if (IsValidPhoneNumber(phone_number, country_code)) { in FormatPhoneForDisplay()
[all …]
H A Dautofill_country.cc27 AutofillCountry::AutofillCountry(const std::string& country_code, in AutofillCountry() argument
33 country_code_ = country_data_map->HasCountryCodeAlias(country_code) in AutofillCountry()
34 ? country_data_map->GetCountryCodeForAlias(country_code) in AutofillCountry()
35 : country_code; in AutofillCountry()
66 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry(); in CountryCodeForLocale() local
70 country_code)) { in CountryCodeForLocale()
74 return country_code; in CountryCodeForLocale()
77 AutofillCountry::AutofillCountry(const std::string& country_code, in AutofillCountry() argument
81 : country_code_(country_code), name_(name) {} in AutofillCountry()
88 buffer << Tr{} << "Country code:" << country.country_code(); in operator <<()
H A Dalternative_state_name_map.cc43 const CountryCode& country_code, in GetCanonicalStateName() argument
67 {country_code, normalized_state_name}); in GetCanonicalStateName()
75 const CountryCode& country_code, in GetEntry() argument
82 GetCanonicalStateName(country_code, normalized_state_string_from_profile, in GetEntry()
92 {country_code, canonical_state_name.value()}); in GetEntry()
100 const CountryCode& country_code, in AddEntry() argument
125 GetCanonicalStateName(country_code, normalized_state_value_from_profile, in AddEntry()
132 country_code, *normalized_canonical_state_name}] = state_entry; in AddEntry()
135 country_code, alternative_name}] = *normalized_canonical_state_name; in AddEntry()
139 country_code, in AddEntry()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/autofill/core/browser/geo/
H A Dphone_number_i18n.cc28 const std::string& country_code, in FormatPhoneNumber() argument
63 country_code.empty() ? PhoneNumberUtil::NATIONAL in FormatValidatedNumber()
147 base::string16* country_code, in ParsePhoneNumber() argument
152 country_code->clear(); in ParsePhoneNumber()
216 *country_code = in ParsePhoneNumber()
323 const std::string country_code = in GetFormattedPhoneNumberForDisplay() local
331 if (IsValidPhoneNumber(phone, country_code)) { in GetFormattedPhoneNumberForDisplay()
333 FormatPhoneNumber(phone, country_code, in GetFormattedPhoneNumberForDisplay()
342 if (IsValidPhoneNumber(phone_number, country_code)) { in FormatPhoneNationallyForDisplay()
351 if (IsValidPhoneNumber(phone_number, country_code)) { in FormatPhoneForDisplay()
[all …]
H A Dautofill_country_unittest.cc25 EXPECT_EQ("US", united_states_en.country_code()); in TEST()
31 EXPECT_EQ("US", united_states_es.country_code()); in TEST()
35 EXPECT_EQ("GB", great_britain_uk_alias.country_code()); in TEST()
36 EXPECT_EQ("GB", great_britain_uk_alias.country_code()); in TEST()
40 EXPECT_EQ("CA", canada_en.country_code()); in TEST()
46 EXPECT_EQ("CA", canada_hu.country_code()); in TEST()
74 for (const std::string& country_code : country_codes) { in TEST() local
75 if (base::Contains(expected_failures, country_code)) in TEST()
77 SCOPED_TRACE("Country code '" + country_code + "' should have a name."); in TEST()
78 EXPECT_NE(ASCIIToUTF16(country_code), in TEST()
[all …]
H A Dautofill_country.cc26 AutofillCountry::AutofillCountry(const std::string& country_code, in AutofillCountry() argument
32 country_code_ = country_data_map->HasCountryCodeAlias(country_code) in AutofillCountry()
33 ? country_data_map->GetCountryCodeForAlias(country_code) in AutofillCountry()
34 : country_code; in AutofillCountry()
69 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry(); in CountryCodeForLocale() local
73 country_code)) { in CountryCodeForLocale()
77 return country_code; in CountryCodeForLocale()
80 AutofillCountry::AutofillCountry(const std::string& country_code, in AutofillCountry() argument
84 : country_code_(country_code), in AutofillCountry()
/dports/www/webtrees20/webtrees-2.0.19/webtrees/app/Statistics/Google/
H A DChartDistribution.php160 $country_code = $this->country_to_iso3166[$country];
163 $surn_countries[$country_code] += $count;
165 $surn_countries[$country_code] = $count;
190 $surn_countries[$country_code] += $count;
192 $surn_countries[$country_code] = $count;
218 $surn_countries[$country_code] += $place->tot;
220 $surn_countries[$country_code] = $place->tot;
277 $surn_countries[$country_code]++;
279 $surn_countries[$country_code] = 1;
307 $surn_countries[$country_code] += $place->tot;
[all …]
/dports/net-mgmt/observium/observium/html/includes/
H A Dcache-data.inc.php136 $country_code = $device['location_country']; variable
137 $cache['locations']['entries'][$country_code]['count']++;
138 $cache['locations']['entries'][$country_code]['level'] = 'location_country';
140 …if (isset($config['location_countries_with_counties']) && in_array($country_code, $config['locatio…
142 … $cache['locations']['entries'][$country_code]['entries'][$device['location_county']]['count']++;
143 …$cache['locations']['entries'][$country_code]['entries'][$device['location_county']]['level'] = 'l…
145 …$cache['locations']['entries'][$country_code]['entries'][$device['location_county']]['entries'][$d…
155 … $cache['locations']['entries'][$country_code]['entries'][$device['location_state']]['count']++;
156 …$cache['locations']['entries'][$country_code]['entries'][$device['location_state']]['level'] = 'lo…
170 … $cache['locations']['entries'][$country_code]['entries'][$device['location_state']]['count']++;
[all …]
/dports/www/mirrorselect/mirrorselect-0.9.0/
H A Dmirrors.toml7 country_code = "US"
16 country_code = "FR"
30 country_code = "CA"
40 country_code = "US"
54 country_code = "EC"
64 country_code = "EC"
74 country_code = "EC"
88 country_code = "CN"
98 country_code = "HK"
108 country_code = "JP"
[all …]
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/admin/
H A Dcompany.php69 $mysoc->country_code = $tmparray['code'];
567 if ($mysoc->country_code) {
578 if (!empty($mysoc->country_code))
591 if (!empty($mysoc->country_code))
604 if (!empty($mysoc->country_code))
617 if (!empty($mysoc->country_code))
630 if (!empty($mysoc->country_code))
643 if (!empty($mysoc->country_code))
743 if (empty($mysoc->country_code))
789 if (empty($mysoc->country_code))
[all …]
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/admin/
H A Dcompany.php582 if ($mysoc->country_code) {
592 if (!empty($mysoc->country_code)) {
603 if (!empty($mysoc->country_code)) {
614 if (!empty($mysoc->country_code)) {
625 if (!empty($mysoc->country_code)) {
636 if (!empty($mysoc->country_code)) {
696 if ($mysoc->country_code == 'FR') {
706 if ($mysoc->country_code == 'FR') {
749 if (empty($mysoc->country_code)) {
792 if (empty($mysoc->country_code)) {
[all …]
/dports/devel/py-phonenumbers/phonenumbers-8.4.1/phonenumbers/
H A Dphonenumberutil.py691 country_code = numobj.country_code
996 country_code = numobj.country_code
1064 country_code = numobj.country_code
1255 country_code = numobj.country_code
1434 country_code = numobj.country_code
1478 country_code = numobj.country_code
1998 country_code = numobj.country_code
2026 country_code = numobj.country_code
2355 country_code = numobj.country_code
2861 numobj.country_code = country_code
[all …]
H A Dphonenumber.py57 country_code=None, argument
70 if country_code is None:
71 self.country_code = None
73 self.country_code = int(country_code)
166 self.country_code = None
177 if other.country_code is not None:
178 self.country_code = other.country_code
197 return (self.country_code == other.country_code and
213 (self.country_code,
223 (self.country_code, self.national_number))
[all …]
/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/countries/
H A Dnames.py128 country_code = territory.attrib['type']
130 if country_code in IGNORE_COUNTRIES or country_code.isdigit():
137 for country_code, names in country_names.iteritems():
138 if country_code in LANGUAGE_COUNTRY_OVERRIDES.get(language, {}):
139 … display_names[country_code] = safe_decode(LANGUAGE_COUNTRY_OVERRIDES[language][country_code])
144 if country_code in COUNTRY_USE_SHORT_NAME:
145 display_names[country_code] = names.get('short', default_name)
146 elif country_code in COUNTRY_USE_VARIANT_NAME:
149 display_names[country_code] = default_name
153 def localized_name(self, country_code, language=None): argument
[all …]
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/phone_validation/tools/
H A Dphone_validation.py16 def phone_parse(number, country_code): argument
18 phone_nbr = phonenumbers.parse(number, region=country_code, keep_raw_input=True)
29 …def phone_format(number, country_code, country_phone_code, force_format='INTERNATIONAL', raise_exc… argument
46 phone_nbr = phone_parse(number, country_code)
56 elif force_format == 'INTERNATIONAL' or phone_nbr.country_code != country_phone_code:
64 def phone_parse(number, country_code): argument
67 …def phone_format(number, country_code, country_phone_code, force_format='INTERNATIONAL', raise_exc… argument
78 def phone_sanitize_numbers(numbers, country_code, country_phone_code, force_format='E164'): argument
97 stripped, country_code, country_phone_code,
114 country_code = country.code if country else None
[all …]
/dports/devel/py-twilio/twilio-7.4.0/twilio/rest/api/v2010/account/available_phone_number/
H A D__init__.py118 def get(self, country_code): argument
130 country_code=country_code,
133 def __call__(self, country_code): argument
145 country_code=country_code,
203 def __init__(self, version, account_sid, country_code): argument
242 country_code=self._solution['country_code'],
257 country_code=self._solution['country_code'],
273 country_code=self._solution['country_code'],
289 country_code=self._solution['country_code'],
305 country_code=self._solution['country_code'],
[all …]

12345678910>>...109