Home
last modified time | relevance | path

Searched refs:RFC3966 (Results 1 - 9 of 9) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.h81 // "+41446681800". RFC3966 is as per INTERNATIONAL format, but with all spaces
89 RFC3966 enumerator
92 static const PhoneNumberFormat kMaxNumberFormat = RFC3966;
684 // phone number extension. It can also be provided in RFC3966 format.
H A Dphonenumbermatcher.cc757 phone_util_.Format(number, PhoneNumberUtil::RFC3966, &rfc3966_format); in GetNationalNumberGroups()
782 PhoneNumberUtil::RFC3966, in GetNationalNumberGroupsForPattern()
H A Dphonenumberutil.cc180 case PhoneNumberUtil::RFC3966: in PrefixNumberWithCountryCallingCode()
664 // following the syntax defined in RFC3966.
773 // parameter, following the syntax defined in RFC3966.
777 // following the syntax defined in RFC3966.
1782 if (number_format == RFC3966) { in FormatNsnUsingPatternWithCarrier()
1850 if (number_format == RFC3966) { in MaybeAppendFormattedExtension()
2161 // national_number if it is written in RFC3966; otherwise extract a possible
2207 // paragraph 5.3 of the RFC3966 spec. in BuildNationalNumberForParsing()
2216 // RFC3966. in BuildNationalNumberForParsing()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberMatcher.java543 String rfc3966Format = util.format(number, PhoneNumberFormat.RFC3966); in getNationalNumberGroups()
565 formattingPattern, PhoneNumberFormat.RFC3966).split("-"); in getNationalNumberGroups()
H A DPhoneNumberUtil.java310 // syntax defined in RFC3966.
320 // defined in RFC3966.
456 * RFC3966 is as per INTERNATIONAL format, but with all spaces and other separating symbols
467 RFC3966 enum constant
1922 case RFC3966: in prefixNumberWithCountryCallingCode()
2015 if (numberFormat == PhoneNumberFormat.RFC3966) { in formatNsnUsingPattern()
2194 if (numberFormat == PhoneNumberFormat.RFC3966) { in maybeAppendFormattedExtension()
3116 * as +, ( and -, as well as a phone number extension. It can also be provided in RFC3966
3363 * RFC3966.
3389 * Returns whether the value of phoneContext follows the syntax defined in RFC3966
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil.js763 * parameter, following the syntax defined in RFC3966.
810 * following the syntax defined in RFC3966.
1037 * '+41446681800'. RFC3966 is as per INTERNATIONAL format, but with all spaces
1050 RFC3966: 3
2636 case i18n.phonenumbers.PhoneNumberFormat.RFC3966:
2779 if (numberFormat == i18n.phonenumbers.PhoneNumberFormat.RFC3966) {
2899 if (numberFormat == i18n.phonenumbers.PhoneNumberFormat.RFC3966) {
4147 * extension. It can also be provided in RFC3966 format.
4388 * following the syntax defined in RFC3966.
4426 * RFC3966
[all...]
H A Dphonenumberutil_test.js670 'tel:+1-900-253-0000', phoneUtil.format(US_PREMIUM, PNF.RFC3966));
705 assertEquals('tel:+49-30-1234', phoneUtil.format(deNumber, PNF.RFC3966));
1310 phoneUtil.formatByPattern(US_NUMBER, PNF.RFC3966, [newNumFormat]));
1373 'tel:+64-3-331-6005;ext=1234', phoneUtil.format(nzNumber, PNF.RFC3966));
2777 // Test parsing RFC3966 format with a phone context.
2786 // Test parsing RFC3966 format with optional user-defined parameters. The
2790 // Test parsing RFC3966 with an ISDN subaddress.
2795 // Test parsing RFC3966 with "tel:" missing.
3366 // Test parsing RFC3966 format with a phone context.
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumberutil_test.cc546 phone_util_.Format(test_number, PhoneNumberUtil::RFC3966, &formatted_number); in TEST_F()
614 phone_util_.Format(test_number, PhoneNumberUtil::RFC3966, &formatted_number); in TEST_F()
1322 phone_util_.FormatByPattern(test_number, PhoneNumberUtil::RFC3966, in TEST_F()
1413 phone_util_.Format(nz_number, PhoneNumberUtil::RFC3966, &formatted_number); in TEST_F()
3587 // Test parsing RFC3966 format with a phone context. in TEST_F()
3604 // Test parsing RFC3966 format with optional user-defined parameters. The in TEST_F()
3610 // Test parsing RFC3966 with an ISDN subaddress. in TEST_F()
4085 // RFC3966 phone-context is a website. in TEST_F()
4148 // Test parsing RFC3966 format with a phone context. in TEST_F()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java501 assertEquals("tel:+1-900-253-0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.RFC3966)); in testFormatUSNumber()
527 assertEquals("tel:+49-30-1234", phoneUtil.format(deNumber, PhoneNumberFormat.RFC3966)); in testFormatDENumber()
936 phoneUtil.formatByPattern(usNumber2, PhoneNumberFormat.RFC3966, newNumberFormats)); in testFormatByPattern()
998 phoneUtil.format(nzNumber, PhoneNumberFormat.RFC3966)); in testFormatNumberWithExtension()
2093 // Test parsing RFC3966 format with a phone context. in testParseNationalNumber()
2099 // Test parsing RFC3966 format with optional user-defined parameters. The parameters will appear in testParseNationalNumber()
2103 // Test parsing RFC3966 with an ISDN subaddress. in testParseNationalNumber()
2107 // Test parsing RFC3966 with "tel:" missing. in testParseNationalNumber()
2571 // Test parsing RFC3966 format with a phone context. in testParseNumbersWithPlusWithNoRegion()

Completed in 34 milliseconds