Home
last modified time | relevance | path

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

12

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc494 pruned_number->set_country_code(number.country_code()); in CopyCoreFieldsOnly()
855 int country_calling_code = it->country_code(); in PhoneNumberUtil()
1102 int country_calling_code = number.country_code(); in Format()
1143 int country_calling_code = number.country_code(); in FormatByPattern()
1200 int country_calling_code = number.country_code(); in FormatNationalNumberWithCarrierCode()
1252 int country_calling_code = number.country_code(); in FormatNumberForMobileDialing()
1363 int country_code = number.country_code(); in FormatOutOfCountryCallingNumber() local
1366 if (!HasValidCountryCallingCode(country_code)) { in FormatOutOfCountryCallingNumber()
1370 if (country_code == kNanpaCountryCode) { in FormatOutOfCountryCallingNumber()
1375 formatted_number->insert(0, StrCat(country_code, " ")); in FormatOutOfCountryCallingNumber()
[all …]
Dphonenumbermatcher.cc125 string country_code = SimpleItoa(number.country_code()); in AllNumberGroupsRemainGrouped() local
126 from_index = normalized_candidate.find(country_code) + country_code.size(); in AllNumberGroupsRemainGrouped()
147 util.GetRegionCodeForCountryCode(number.country_code(), &region); in AllNumberGroupsRemainGrouped()
378 std::make_pair(it->country_code(), &*it)); in AlternateFormats()
711 phone_number.country_code()); in CheckNumberGroupingIsValid()
787 number.country_code(), &phone_number_region); in IsNationalPrefixPresentIfRequired()
900 if (normalized_country_code == SimpleItoa(number.country_code())) { in ContainsMoreThanOneSlashInNationalNumber()
Dshortnumberinfo.cc99 phone_util_.GetRegionCodesForCountryCallingCode(number.country_code(), in RegionDialingFromMatchesNumber()
126 phone_util_.GetRegionCodesForCountryCallingCode(number.country_code(), in IsPossibleShortNumber()
169 phone_util_.GetRegionCodesForCountryCallingCode(number.country_code(), in IsValidShortNumber()
228 phone_util_.GetRegionCodesForCountryCallingCode(number.country_code(), in GetExpectedCost()
365 phone_util_.GetRegionCodesForCountryCallingCode(number.country_code(), in IsCarrierSpecific()
Dphonenumber.cc26 first_number.country_code() != second_number.country_code()) { in ExactlySameAs()
Dasyoutypeformatter.cc602 return (current_metadata_->country_code() == 1) && in IsNanpaNumberWithNationalPrefix()
681 int country_code = in AttemptToExtractCountryCode() local
683 if (country_code == 0) { in AttemptToExtractCountryCode()
688 phone_util_.GetRegionCodeForCountryCode(country_code, &new_region_code); in AttemptToExtractCountryCode()
691 phone_util_.GetMetadataForNonGeographicalRegion(country_code); in AttemptToExtractCountryCode()
695 StrAppend(&prefix_before_national_number_, country_code); in AttemptToExtractCountryCode()
Dphonenumber.pb.h317 ::PROTOBUF_NAMESPACE_ID::int32 country_code() const;
411 inline ::PROTOBUF_NAMESPACE_ID::int32 PhoneNumber::country_code() const { in country_code() function
Dphonenumberutil.h487 void GetRegionCodeForCountryCode(int country_code, string* region_code) const;
/third_party/libphonenumber/resources/
Dphonenumber.proto31 required int32 country_code = 1; field
86 // The source from which the country_code is derived. This is not set in the
95 // The country_code is derived based on a phone number with a leading "+",
99 // The country_code is derived based on a phone number with a leading IDD,
103 // The country_code is derived based on a phone number without a leading
108 // The country_code is derived NOT based on the phone number itself, but
117 // The source from which the country_code is derived.
135 // country_code: 1
139 // country_code: 33
143 // country_code: 86
[all …]
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc455 string country_code; in WriteCountryLanguages() local
456 if (!IntToStr(it->first, &country_code)) { in WriteCountryLanguages()
459 const string country_var = "country_" + country_code; in WriteCountryLanguages()
477 countries.push_back(country_code); in WriteCountryLanguages()
596 int32 country_code; in WriteSource() local
598 if (!StrToInt(country_code_str, &country_code)) { in WriteSource()
611 country_languages[country_code].insert(it->name()); in WriteSource()
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Dphonenumber_offline_geocoder.cc169 number.country_code())) { in GetDescriptionForNumber()
183 number.country_code())) { in GetDescriptionForNumber()
192 const int country_calling_code = number.country_code(); in GetAreaDescription()
Darea_code_map.cc51 safe_strto64(SimpleItoa(number.country_code()) + national_number, in Lookup()
/third_party/ffmpeg/libavcodec/
Dhevc_sei.c241 int country_code, provider_code; in decode_nal_sei_user_data_registered_itu_t_t35() local
247 country_code = get_bits(gb, 8); in decode_nal_sei_user_data_registered_itu_t_t35()
248 if (country_code == 0xFF) { in decode_nal_sei_user_data_registered_itu_t_t35()
256 if (country_code != 0xB5) { // usa_country_code in decode_nal_sei_user_data_registered_itu_t_t35()
259 country_code); in decode_nal_sei_user_data_registered_itu_t_t35()
Dh264_sei.c186 int country_code, provider_code; in decode_registered_user_data() local
192 country_code = get_bits(gb, 8); // itu_t_t35_country_code in decode_registered_user_data()
193 if (country_code == 0xFF) { in decode_registered_user_data()
201 if (country_code != 0xB5) { // usa_country_code in decode_registered_user_data()
204 country_code); in decode_registered_user_data()
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
Darea_code_map_test.cc119 PhoneNumber MakePhoneNumber(int32 country_code, uint64 national_number) { in MakePhoneNumber() argument
121 number.set_country_code(country_code); in MakePhoneNumber()
Dphonenumber_offline_geocoder_test.cc33 PhoneNumber MakeNumber(int32 country_code, uint64 national_number) { in MakeNumber() argument
35 n.set_country_code(country_code); in MakeNumber()
/third_party/flutter/engine/flutter/runtime/
Druntime_controller.h75 std::string country_code; member
92 std::string country_code; member
Dace_runtime_controller.cc175 country_code(country_code_), in Locale()
Druntime_controller.cc371 country_code(country_code_), in Locale()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dtest_util.cc28 << "country_code: " << number.country_code() << std::endl in operator <<()
Dphonenumberutil_test.cc63 int country_code) const { in GetMetadataForNonGeographicalRegion()
64 return phone_util_.GetMetadataForNonGeographicalRegion(country_code); in GetMetadataForNonGeographicalRegion()
268 EXPECT_EQ(1, metadata->country_code()); in TEST_F()
293 EXPECT_EQ(49, metadata->country_code()); in TEST_F()
319 EXPECT_EQ(54, metadata->country_code()); in TEST_F()
337 EXPECT_EQ(800, metadata->country_code()); in TEST_F()
466 EXPECT_EQ(1, test_number.country_code()); in TEST_F()
3108 EXPECT_EQ(expected_country_code, number.country_code()); in TEST_F()
3118 EXPECT_EQ(expected_country_code, number.country_code()); in TEST_F()
3129 EXPECT_EQ(expected_country_code, number.country_code()); in TEST_F()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dh264parser.c415 if (a->country_code != b->country_code) in check_sei_user_data_registered()
418 if ((a->country_code == 0xff) && in check_sei_user_data_registered()
Dh265parser.c962 if (a->country_code != b->country_code) in check_sei_user_data_registered()
965 if ((a->country_code == 0xff) && in check_sei_user_data_registered()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-descriptor.c1407 copy->country_code = g_strdup (source->country_code); in _gst_mpegts_dvb_parental_rating_item_copy()
1415 g_free (item->country_code); in _gst_mpegts_dvb_parental_rating_item_free()
1455 item->country_code = convert_lang_code (data); in gst_mpegts_descriptor_parse_dvb_parental_rating()
1458 if (g_strcmp0 (item->country_code, "BRA") == 0) { in gst_mpegts_descriptor_parse_dvb_parental_rating()
Dgst-dvb-descriptor.h687 gchar *country_code; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgsth264parser.c1057 READ_UINT8 (nr, rud->country_code, 8); in gst_h264_parser_parse_registered_user_data()
1060 if (rud->country_code == 0xFF) { in gst_h264_parser_parse_registered_user_data()
2783 WRITE_UINT8 (nw, rud->country_code, 8); in gst_h264_write_sei_registered_user_data()
2784 if (rud->country_code == 0xff) in gst_h264_write_sei_registered_user_data()
2971 if (rud->country_code == 0xff) { in gst_h264_create_sei_memory_internal()

12