• Home
  • Raw
  • Download

Lines Matching refs:regionCode

1409       .filter(function(regionCode) {  argument
1410 return isNaN(regionCode);
1425 .filter(function(regionCode) { argument
1426 return !isNaN(regionCode);
1537 function(regionCode) { argument
1538 if (!this.isValidRegionCode_(regionCode)) {
1543 this.getMetadataForRegion(regionCode)));
1659 function(regionCode) { argument
1669 return regionCode != null &&
1670 isNaN(regionCode) &&
1671 regionCode.toUpperCase() in i18n.phonenumbers.metadata.countryToMetadata;
1742 var regionCode = this.getRegionCodeForCountryCode(countryCallingCode);
1749 this.getMetadataForRegionOrCallingCode_(countryCallingCode, regionCode);
1794 var regionCode = this.getRegionCodeForCountryCode(countryCallingCode);
1798 this.getMetadataForRegionOrCallingCode_(countryCallingCode, regionCode);
1878 var regionCode = this.getRegionCodeForCountryCode(countryCallingCode);
1882 this.getMetadataForRegionOrCallingCode_(countryCallingCode, regionCode);
1903 function(countryCallingCode, regionCode) { argument
1905 regionCode ?
1907 this.getMetadataForRegion(regionCode);
1976 var regionCode = this.getRegionCodeForCountryCode(countryCallingCode);
1981 if (regionCallingFrom == regionCode) {
1988 if (regionCode == 'CO' &&
1994 } else if (regionCode == 'BR' && isFixedLineOrMobile) {
2029 if ((regionCode ==
2048 ((regionCode == 'MX' || regionCode == 'CL' || regionCode == 'UZ') &&
2153 var regionCode = this.getRegionCodeForCountryCode(countryCallingCode);
2157 this.getMetadataForRegionOrCallingCode_(countryCallingCode, regionCode);
2224 var regionCode =
2229 var nationalPrefix = this.getNddPrefixForRegion(regionCode, true);
2243 number.getRawInputOrDefault(), nationalPrefix, regionCode)) {
2251 var metadata = this.getMetadataForRegion(regionCode);
2328 function(rawInput, nationalPrefix, regionCode) { argument
2342 regionCode));
2490 var regionCode = this.getRegionCodeForCountryCode(countryCode);
2494 this.getMetadataForRegionOrCallingCode_(countryCode, regionCode);
2736 function(regionCode) { argument
2738 return this.getExampleNumberForType(regionCode,
2756 function(regionCode, type) { argument
2759 if (!this.isValidRegionCode_(regionCode)) {
2764 this.getMetadataForRegion(regionCode), type);
2767 return this.parse(desc.getExampleNumber(), regionCode);
2896 var regionCode = this.getRegionCodeForNumber(number);
2899 number.getCountryCodeOrDefault(), regionCode);
2978 function(regionCode) { argument
2980 if (regionCode == null) {
2983 regionCode = regionCode.toUpperCase();
2985 var metadata = this.regionToMetadataMap[regionCode];
2991 i18n.phonenumbers.metadata.countryToMetadata[regionCode];
2998 this.regionToMetadataMap[regionCode] = metadata;
3055 var regionCode = this.getRegionCodeForNumber(number);
3056 return this.isValidNumberForRegion(number, regionCode);
3081 function(number, regionCode) { argument
3087 this.getMetadataForRegionOrCallingCode_(countryCode, regionCode);
3090 regionCode &&
3091 countryCode != this.getCountryCodeForValidRegion_(regionCode))) {
3148 var regionCode;
3152 regionCode = regionCodes[i];
3157 var metadata = this.getMetadataForRegion(regionCode);
3160 return regionCode;
3164 return regionCode;
3220 function(regionCode) { argument
3222 if (!this.isValidRegionCode_(regionCode)) {
3225 return this.getCountryCodeForValidRegion_(regionCode);
3242 function(regionCode) { argument
3245 var metadata = this.getMetadataForRegion(regionCode);
3247 throw new Error('Invalid region code: ' + regionCode);
3273 regionCode, stripNonDigits) { argument
3275 var metadata = this.getMetadataForRegion(regionCode);
3302 regionCode) { argument
3303 return regionCode != null &&
3307 .includes(regionCode.toUpperCase());
3574 var regionCode = this.getRegionCodeForCountryCode(countryCode);
3578 this.getMetadataForRegionOrCallingCode_(countryCode, regionCode);