Home
last modified time | relevance | path

Searched refs:regionCodes (Results 1 – 10 of 10) sorted by relevance

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js94 var regionCodes = i18n.phonenumbers.metadata
96 return regionCodes ? regionCodes : [];
110 var regionCodes = this.getRegionCodesForCountryCode_(
112 return regionDialingFrom != null && regionCodes.includes(regionDialingFrom);
151 var regionCodes = this.getRegionCodesForCountryCode_(
154 for (var i = 0; i < regionCodes.length; i++) {
155 var region = regionCodes[i];
212 var regionCodes = this.getRegionCodesForCountryCode_(
215 regionCodes);
216 if (regionCodes.length > 1 && regionCode != null) {
[all …]
Dphonenumberutil.js3143 getRegionCodeForNumberFromRegionList_ = function(number, regionCodes) { argument
3150 var regionCodesLength = regionCodes.length;
3152 regionCode = regionCodes[i];
3184 var regionCodes =
3186 return regionCodes == null ?
3187 i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_ : regionCodes[0];
3204 var regionCodes =
3206 return regionCodes == null ? [] : regionCodes;
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java103 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode); in getRegionCodesForCountryCode() local
104 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0) in getRegionCodesForCountryCode()
105 : regionCodes); in getRegionCodesForCountryCode()
114 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber() local
115 return regionCodes.contains(regionDialingFrom); in regionDialingFromMatchesNumber()
163 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber() local
165 for (String region : regionCodes) { in isPossibleShortNumber()
213 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber() local
214 String regionCode = getRegionCodeForShortNumberFromRegionList(number, regionCodes); in isValidShortNumber()
215 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()
[all …]
DMultiFileMetadataSourceImpl.java81 List<String> regionCodes = in isNonGeographical() local
83 return (regionCodes.size() == 1 in isNonGeographical()
84 && PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))); in isNonGeographical()
DPhoneNumberUtil.java688 List<String> regionCodes = entry.getValue();
691 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) {
696 supportedRegions.addAll(regionCodes);
2405 List<String> regionCodes) {
2407 for (String regionCode : regionCodes) {
2432 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2433 return regionCodes == null ? UNKNOWN_REGION : regionCodes.get(0);
2442 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2443 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0)
2444 : regionCodes);
/third_party/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java67 List<String> regionCodes = in getCountryNameForNumber() local
69 if (regionCodes.size() == 1) { in getCountryNameForNumber()
70 return getRegionDisplayName(regionCodes.get(0), language); in getCountryNameForNumber()
73 for (String regionCode : regionCodes) { in getCountryNameForNumber()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java191 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local
207 regionCodes.add(newRegion); in loadRegionData()
212 regionCodes.add(r); in loadRegionData()
216 regions = new ArrayList<Region>(regionCodes.size()); in loadRegionData()
219 for ( String id : regionCodes) { in loadRegionData()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DRegion.java185 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local
201 regionCodes.add(newRegion); in loadRegionData()
206 regionCodes.add(r); in loadRegionData()
210 regions = new ArrayList<Region>(regionCodes.size()); in loadRegionData()
213 for ( String id : regionCodes) { in loadRegionData()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataProtoFromXml.java267 List<String> regionCodes = entry.getValue(); in writeMap() local
269 regionCodes.size() + ");\n"); in writeMap()
270 for (String regionCode : regionCodes) { in writeMap()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_supplemental.txt265 //supplementalData/metadata/validity/variable[@type="choice"][@id="\$territory"] ; /regionCodes ; v…