Home
last modified time | relevance | path

Searched refs:carrierCode (Results 1 – 5 of 5) sorted by relevance

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Ddemo.js48 var carrierCode = $('carrierCode').value;
145 if (carrierCode.length > 0) {
148 phoneUtil_.formatNationalNumberWithCarrierCode(number, carrierCode));
Dphonenumberutil.js1863 formatNationalNumberWithCarrierCode = function(number, carrierCode) { argument
1889 i18n.phonenumbers.PhoneNumberFormat.NATIONAL, carrierCode);
3918 carrierCode) { argument
3964 if (carrierCode != null &&
3966 carrierCode.append(prefixMatcher[1]);
3982 if (carrierCode != null && numOfGroups > 0) {
3983 carrierCode.append(prefixMatcher[1]);
4277 var carrierCode = new goog.string.StringBuffer();
4282 potentialNationalNumber, regionMetadata, carrierCode);
4294 if (keepRawInput && carrierCode.toString().length > 0) {
[all …]
Dphonenumberutil_test.js2490 var carrierCode = new goog.string.StringBuffer();
2492 numberToStrip, metadata, carrierCode));
2493 assertEquals('81', carrierCode.toString());
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1386 public String formatNationalNumberWithCarrierCode(PhoneNumber number, CharSequence carrierCode) {
1402 PhoneNumberFormat.NATIONAL, carrierCode));
1930 CharSequence carrierCode) {
1941 : formatNsnUsingPattern(number, formattingPattern, numberFormat, carrierCode);
1972 CharSequence carrierCode) {
1978 && carrierCode != null && carrierCode.length() > 0
1982 carrierCodeFormattingRule = carrierCodeFormattingRule.replace(CC_STRING, carrierCode);
2988 StringBuilder number, PhoneMetadata metadata, StringBuilder carrierCode) {
3014 if (carrierCode != null && numOfGroups > 0 && prefixMatcher.group(numOfGroups) != null) {
3015 carrierCode.append(prefixMatcher.group(1));
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1868 StringBuilder carrierCode = new StringBuilder(); in testMaybeStripNationalPrefix() local
1871 numberToStrip, metadata.build(), carrierCode)); in testMaybeStripNationalPrefix()
1872 assertEquals("81", carrierCode.toString()); in testMaybeStripNationalPrefix()