Home
last modified time | relevance | path

Searched refs:phonenumbers (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonemetadata.pb.js40 i18n.phonenumbers.NumberFormat = function() {
43 goog.inherits(i18n.phonenumbers.NumberFormat, goog.proto2.Message);
50 i18n.phonenumbers.NumberFormat.descriptor_ = null;
58 i18n.phonenumbers.NumberFormat.prototype.clone;
65 i18n.phonenumbers.NumberFormat.prototype.getPattern = function() {
74 i18n.phonenumbers.NumberFormat.prototype.getPatternOrDefault = function() {
83 i18n.phonenumbers.NumberFormat.prototype.setPattern = function(value) {
91 i18n.phonenumbers.NumberFormat.prototype.hasPattern = function() {
99 i18n.phonenumbers.NumberFormat.prototype.patternCount = function() {
107 i18n.phonenumbers.NumberFormat.prototype.clearPattern = function() {
[all …]
Dphonenumberutil.js53 i18n.phonenumbers.PhoneNumberUtil = function() {
60 goog.addSingletonGetter(i18n.phonenumbers.PhoneNumberUtil);
68 i18n.phonenumbers.Error = {
93 i18n.phonenumbers.PhoneNumberUtil.NANPA_COUNTRY_CODE_ = 1;
103 i18n.phonenumbers.PhoneNumberUtil.MIN_LENGTH_FOR_NSN_ = 2;
114 i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_FOR_NSN_ = 17;
124 i18n.phonenumbers.PhoneNumberUtil.MAX_LENGTH_COUNTRY_CODE_ = 3;
135 i18n.phonenumbers.PhoneNumberUtil.MAX_INPUT_STRING_LENGTH_ = 250;
145 i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_ = 'ZZ';
158 i18n.phonenumbers.PhoneNumberUtil.MOBILE_TOKEN_MAPPINGS_ = {
[all …]
Dphonenumber.pb.js39 i18n.phonenumbers.PhoneNumber = function() {
42 goog.inherits(i18n.phonenumbers.PhoneNumber, goog.proto2.Message);
49 i18n.phonenumbers.PhoneNumber.descriptor_ = null;
57 i18n.phonenumbers.PhoneNumber.prototype.clone;
64 i18n.phonenumbers.PhoneNumber.prototype.getCountryCode = function() {
73 i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault = function() {
82 i18n.phonenumbers.PhoneNumber.prototype.setCountryCode = function(value) {
90 i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode = function() {
98 i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount = function() {
106 i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode = function() {
[all …]
Dasyoutypeformatter.js49 i18n.phonenumbers.AsYouTypeFormatter = function(regionCode) {
122 this.phoneUtil_ = i18n.phonenumbers.PhoneNumberUtil.getInstance();
195 i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_ = ' ';
203 i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_ =
204 new i18n.phonenumbers.PhoneMetadata();
205 i18n.phonenumbers.AsYouTypeFormatter.EMPTY_METADATA_
222 i18n.phonenumbers.AsYouTypeFormatter.ELIGIBLE_FORMAT_PATTERN_ = new RegExp(
223 '^[' + i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION + ']*' + '\\$1'
224 + '[' + i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION + ']*(\\$\\d'
225 + '[' + i18n.phonenumbers.PhoneNumberUtil.VALID_PUNCTUATION + ']*)*$');
[all …]
Dshortnumberinfo.js47 i18n.phonenumbers.ShortNumberInfo = function() {
54 goog.addSingletonGetter(i18n.phonenumbers.ShortNumberInfo);
64 i18n.phonenumbers.ShortNumberInfo.
75 i18n.phonenumbers.ShortNumberInfo.ShortNumberCost = {
92 i18n.phonenumbers.ShortNumberInfo.prototype.getRegionCodesForCountryCode_ =
94 var regionCodes = i18n.phonenumbers.metadata
108 i18n.phonenumbers.ShortNumberInfo.prototype.regionDialingFromMatchesNumber_ =
125 i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumberForRegion =
149 i18n.phonenumbers.ShortNumberInfo.prototype.isPossibleShortNumber =
179 i18n.phonenumbers.ShortNumberInfo.prototype.isValidShortNumberForRegion =
[all …]
Dshortnumberinfo_test.js39 var shortInfo = i18n.phonenumbers.ShortNumberInfo.getInstance();
43 var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance();
45 var RegionCode = i18n.phonenumbers.RegionCode;
48 var possibleNumber = new i18n.phonenumbers.PhoneNumber();
55 var impossibleNumber = new i18n.phonenumbers.PhoneNumber();
62 var impossibleUkNumber = new i18n.phonenumbers.PhoneNumber();
69 var shortNumber1 = new i18n.phonenumbers.PhoneNumber();
75 var shortNumber2 = new i18n.phonenumbers.PhoneNumber();
83 var shortNumber3 = new i18n.phonenumbers.PhoneNumber();
90 var carrierSpecificNumber = new i18n.phonenumbers.PhoneNumber();
[all …]
Dphonenumberutil_test.js44 var phoneUtil = i18n.phonenumbers.PhoneNumberUtil.getInstance();
52 var ALPHA_NUMERIC_NUMBER = new i18n.phonenumbers.PhoneNumber();
58 var AE_UAN = new i18n.phonenumbers.PhoneNumber();
64 var AR_MOBILE = new i18n.phonenumbers.PhoneNumber();
70 var AR_NUMBER = new i18n.phonenumbers.PhoneNumber();
76 var AU_NUMBER = new i18n.phonenumbers.PhoneNumber();
82 var BS_MOBILE = new i18n.phonenumbers.PhoneNumber();
88 var BS_NUMBER = new i18n.phonenumbers.PhoneNumber();
93 var CO_FIXED_LINE = new i18n.phonenumbers.PhoneNumber();
99 var DE_NUMBER = new i18n.phonenumbers.PhoneNumber();
[all …]
Ddemo.js41 var phoneUtil_ = i18n.phonenumbers.PhoneNumberUtil.getInstance();
60 var validationResult = i18n.phonenumbers.PhoneNumberUtil.ValidationResult;
107 var shortInfo = i18n.phonenumbers.ShortNumberInfo.getInstance();
123 var PNF = i18n.phonenumbers.PhoneNumberFormat;
162 var formatter = new i18n.phonenumbers.AsYouTypeFormatter(regionCode);
180 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE:
182 case i18n.phonenumbers.PhoneNumberType.MOBILE:
184 case i18n.phonenumbers.PhoneNumberType.FIXED_LINE_OR_MOBILE:
186 case i18n.phonenumbers.PhoneNumberType.TOLL_FREE:
188 case i18n.phonenumbers.PhoneNumberType.PREMIUM_RATE:
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonemetadata.pb.h55 namespace phonenumbers {
71 template<> ::i18n::phonenumbers::NumberFormat* Arena::CreateMaybeMessage<::i18n::phonenumbers::Numb…
72 template<> ::i18n::phonenumbers::PhoneMetadata* Arena::CreateMaybeMessage<::i18n::phonenumbers::Pho…
73 template<> ::i18n::phonenumbers::PhoneMetadataCollection* Arena::CreateMaybeMessage<::i18n::phonenu…
74 template<> ::i18n::phonenumbers::PhoneNumberDesc* Arena::CreateMaybeMessage<::i18n::phonenumbers::P…
77 namespace phonenumbers {
740 ::i18n::phonenumbers::NumberFormat* mutable_number_format(int index);
741 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
744 const ::i18n::phonenumbers::NumberFormat& _internal_number_format(int index) const;
745 ::i18n::phonenumbers::NumberFormat* _internal_add_number_format();
[all …]
Dphonemetadata.pb.cc18 namespace phonenumbers { namespace
41 void* ptr = &::i18n::phonenumbers::_NumberFormat_default_instance_; in InitDefaultsscc_info_NumberFormat_phonemetadata_2eproto()
42 new (ptr) ::i18n::phonenumbers::NumberFormat(); in InitDefaultsscc_info_NumberFormat_phonemetadata_2eproto()
45 ::i18n::phonenumbers::NumberFormat::InitAsDefaultInstance(); in InitDefaultsscc_info_NumberFormat_phonemetadata_2eproto()
55 void* ptr = &::i18n::phonenumbers::_PhoneMetadata_default_instance_; in InitDefaultsscc_info_PhoneMetadata_phonemetadata_2eproto()
56 new (ptr) ::i18n::phonenumbers::PhoneMetadata(); in InitDefaultsscc_info_PhoneMetadata_phonemetadata_2eproto()
59 ::i18n::phonenumbers::PhoneMetadata::InitAsDefaultInstance(); in InitDefaultsscc_info_PhoneMetadata_phonemetadata_2eproto()
71 void* ptr = &::i18n::phonenumbers::_PhoneMetadataCollection_default_instance_; in InitDefaultsscc_info_PhoneMetadataCollection_phonemetadata_2eproto()
72 new (ptr) ::i18n::phonenumbers::PhoneMetadataCollection(); in InitDefaultsscc_info_PhoneMetadataCollection_phonemetadata_2eproto()
75 ::i18n::phonenumbers::PhoneMetadataCollection::InitAsDefaultInstance(); in InitDefaultsscc_info_PhoneMetadataCollection_phonemetadata_2eproto()
[all …]
/third_party/libphonenumber/cpp/
DBUILD.gn56 "src/phonenumbers/phonenumber.cc",
57 "src/phonenumbers/default_logger.cc",
58 "src/phonenumbers/phonenumbermatch.cc",
59 "src/phonenumbers/phonenumbermatcher.cc",
60 "src/phonenumbers/regexp_cache.cc",
61 "src/phonenumbers/phonemetadata.pb.cc",
62 "src/phonenumbers/string_byte_sink.cc",
63 "src/phonenumbers/asyoutypeformatter.cc",
64 "src/phonenumbers/phonenumberutil.cc",
65 "src/phonenumbers/regexp_adapter_icu.cc",
[all …]
DCMakeLists.txt228 PROTOBUF_OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.cc"
229 "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.h"
230 "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.cc"
231 "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.h"
235 COMMAND ${PROTOC_BIN} --cpp_out=${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/
250 "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/geocoding/geocoding_data.cc"
266 "src/phonenumbers/asyoutypeformatter.cc"
267 "src/phonenumbers/base/strings/string_piece.cc"
268 "src/phonenumbers/default_logger.cc"
269 "src/phonenumbers/logger.cc"
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DTypes.java16 package com.google.i18n.phonenumbers.metadata;
22 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.FIXED_LINE;
23 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.MOBILE;
24 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PAGER;
25 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PERSONAL_NUMBER;
26 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.PREMIUM_RATE;
27 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.SHARED_COST;
28 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.TOLL_FREE;
29 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.UAN;
30 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.VOICEMAIL;
[all …]
/third_party/libphonenumber/cpp/test/
DBUILD.gn64 "//third_party/libphonenumber/cpp/src/phonenumbers/alternate_format.cc",
65 "//third_party/libphonenumber/cpp/src/phonenumbers/asyoutypeformatter.cc",
66 "//third_party/libphonenumber/cpp/src/phonenumbers/base/strings/string_piece.cc",
67 "//third_party/libphonenumber/cpp/src/phonenumbers/default_logger.cc",
68 "//third_party/libphonenumber/cpp/src/phonenumbers/logger.cc",
69 "//third_party/libphonenumber/cpp/src/phonenumbers/phonemetadata.pb.cc",
70 "//third_party/libphonenumber/cpp/src/phonenumbers/phonenumber.cc",
71 "//third_party/libphonenumber/cpp/src/phonenumbers/phonenumber.pb.cc",
72 "//third_party/libphonenumber/cpp/src/phonenumbers/phonenumbermatch.cc",
73 "//third_party/libphonenumber/cpp/src/phonenumbers/phonenumbermatcher.cc",
[all …]
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/
DDefaultMetadataDependenciesProvider.java17 package com.google.i18n.phonenumbers.metadata;
19 import com.google.i18n.phonenumbers.MetadataLoader;
20 import com.google.i18n.phonenumbers.metadata.init.ClassPathResourceMetadataLoader;
21 import com.google.i18n.phonenumbers.metadata.init.MetadataParser;
22 import com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSource;
23 import com.google.i18n.phonenumbers.metadata.source.FormattingMetadataSourceImpl;
24 import com.google.i18n.phonenumbers.metadata.source.MetadataSource;
25 import com.google.i18n.phonenumbers.metadata.source.MetadataSourceImpl;
26 import com.google.i18n.phonenumbers.metadata.source.MultiFileModeFileNameProvider;
27 import com.google.i18n.phonenumbers.metadata.source.PhoneMetadataFileNameProvider;
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/
Dgeocoding_data.pb.h70 namespace phonenumbers {
89 template<> ::i18n::phonenumbers::CountriesInfo* Arena::CreateMaybeMessage<::i18n::phonenumbers::Cou…
90 template<> ::i18n::phonenumbers::CountryCodeInfo* Arena::CreateMaybeMessage<::i18n::phonenumbers::C…
91 template<> ::i18n::phonenumbers::GeocodingInfo* Arena::CreateMaybeMessage<::i18n::phonenumbers::Geo…
92 template<> ::i18n::phonenumbers::LanguageCodeInfo* Arena::CreateMaybeMessage<::i18n::phonenumbers::…
93 template<> ::i18n::phonenumbers::PrefixesInfo* Arena::CreateMaybeMessage<::i18n::phonenumbers::Pref…
96 namespace phonenumbers {
218 ::i18n::phonenumbers::PrefixesInfo* mutable_prefixes_info(int index);
219 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::i18n::phonenumbers::PrefixesInfo >*
222 const ::i18n::phonenumbers::PrefixesInfo& _internal_prefixes_info(int index) const;
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DXmlRangesSchema.java16 package com.google.i18n.phonenumbers.metadata.model;
19 import static com.google.i18n.phonenumbers.metadata.model.MetadataException.checkMetadata;
20 import static com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType.UNKNOWN;
21 import static com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode.NEVER;
23 import com.google.i18n.phonenumbers.metadata.RangeTree;
24 import com.google.i18n.phonenumbers.metadata.i18n.PhoneRegion;
25 import com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtTariff;
26 import com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType;
27 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
28 import com.google.i18n.phonenumbers.metadata.table.Column;
[all …]
DShortcodesTableSchema.java16 package com.google.i18n.phonenumbers.metadata.model;
20 import static com.google.i18n.phonenumbers.metadata.model.ShortcodesTableSchema.ShortcodeType.EMERG…
21 import static com.google.i18n.phonenumbers.metadata.model.ShortcodesTableSchema.ShortcodeType.EXPAN…
28 import com.google.i18n.phonenumbers.metadata.i18n.PhoneRegion;
29 import com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtTariff;
30 import com.google.i18n.phonenumbers.metadata.proto.Enums.Provenance;
31 import com.google.i18n.phonenumbers.metadata.proto.Types.XmlShortcodeType;
32 import com.google.i18n.phonenumbers.metadata.table.Change;
33 import com.google.i18n.phonenumbers.metadata.table.Column;
34 import com.google.i18n.phonenumbers.metadata.table.CsvKeyMarshaller;
[all …]
DRangesTableSchema.java16 package com.google.i18n.phonenumbers.metadata.model;
32 import com.google.i18n.phonenumbers.metadata.LengthsParser;
33 import com.google.i18n.phonenumbers.metadata.RangeSpecification;
34 import com.google.i18n.phonenumbers.metadata.i18n.PhoneRegion;
35 import com.google.i18n.phonenumbers.metadata.i18n.SimpleLanguageTag;
36 import com.google.i18n.phonenumbers.metadata.model.MetadataTableSchema.Regions;
37 import com.google.i18n.phonenumbers.metadata.proto.Enums.Provenance;
38 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
39 import com.google.i18n.phonenumbers.metadata.table.Change;
40 import com.google.i18n.phonenumbers.metadata.table.Column;
[all …]
DCsvData.java16 package com.google.i18n.phonenumbers.metadata.model;
19 import static com.google.i18n.phonenumbers.metadata.model.MetadataException.checkMetadata;
28 import com.google.i18n.phonenumbers.metadata.DigitSequence;
29 import com.google.i18n.phonenumbers.metadata.RangeTree;
30 import com.google.i18n.phonenumbers.metadata.i18n.PhoneRegion;
31 import com.google.i18n.phonenumbers.metadata.model.ExamplesTableSchema.ExampleNumberKey;
32 import com.google.i18n.phonenumbers.metadata.model.MetadataTableSchema.Regions;
33 import com.google.i18n.phonenumbers.metadata.model.NumberingScheme.Comment;
34 import com.google.i18n.phonenumbers.metadata.model.ShortcodesTableSchema.ShortcodeKey;
35 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
[all …]
DExamplesTableSchema.java16 package com.google.i18n.phonenumbers.metadata.model;
18 import static com.google.i18n.phonenumbers.metadata.model.ExamplesTableSchema.ExampleNumberKey.ORDE…
24 import com.google.i18n.phonenumbers.metadata.DigitSequence;
25 import com.google.i18n.phonenumbers.metadata.i18n.PhoneRegion;
26 import com.google.i18n.phonenumbers.metadata.proto.Types.ValidNumberType;
27 import com.google.i18n.phonenumbers.metadata.table.Column;
28 import com.google.i18n.phonenumbers.metadata.table.CsvKeyMarshaller;
29 import com.google.i18n.phonenumbers.metadata.table.CsvSchema;
30 import com.google.i18n.phonenumbers.metadata.table.CsvTable;
31 import com.google.i18n.phonenumbers.metadata.table.Schema;
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DRecipesTableSchema.java16 package com.google.phonenumbers.migrator;
19 import com.google.i18n.phonenumbers.metadata.DigitSequence;
20 import com.google.i18n.phonenumbers.metadata.RangeSpecification;
21 import com.google.i18n.phonenumbers.metadata.model.RangesTableSchema;
22 import com.google.i18n.phonenumbers.metadata.table.Change;
23 import com.google.i18n.phonenumbers.metadata.table.Column;
24 import com.google.i18n.phonenumbers.metadata.table.CsvKeyMarshaller;
25 import com.google.i18n.phonenumbers.metadata.table.CsvSchema;
26 import com.google.i18n.phonenumbers.metadata.table.CsvTable;
27 import com.google.i18n.phonenumbers.metadata.table.RangeKey;
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DCsvTableTest.java16 package com.google.i18n.phonenumbers.metadata.table;
21 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.AREA_CODE_LENGTH;
22 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.COMMENT;
23 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.FIXED_LINE;
24 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.FIXED_LINE_OR_M…
25 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.ExtType.MOBILE;
26 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.FORMAT;
27 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.REGIONS;
28 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.TABLE_COLUMNS;
29 import static com.google.i18n.phonenumbers.metadata.model.RangesTableSchema.TYPE;
[all …]
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/phonenumbers/
DPhoneNumberFormatting.java1 package com.google.phonenumbers.demoapp.phonenumbers;
3 import com.google.i18n.phonenumbers.NumberParseException;
4 import com.google.i18n.phonenumbers.PhoneNumberUtil;
5 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat;
6 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber;
7 import com.google.i18n.phonenumbers.ShortNumberInfo;
8 import com.google.phonenumbers.demoapp.phonenumbers.PhoneNumberInApp.FormattingState;
/third_party/libphonenumber/java/demo/src/main/java/com/google/phonenumbers/demo/render/
DResultRenderer.java19 package com.google.phonenumbers.demo.render;
22 import com.google.i18n.phonenumbers.AsYouTypeFormatter;
23 import com.google.i18n.phonenumbers.PhoneNumberToCarrierMapper;
24 import com.google.i18n.phonenumbers.PhoneNumberToTimeZonesMapper;
25 import com.google.i18n.phonenumbers.PhoneNumberUtil;
26 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat;
27 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber;
28 import com.google.i18n.phonenumbers.ShortNumberInfo;
29 import com.google.i18n.phonenumbers.geocoding.PhoneNumberOfflineGeocoder;
30 import com.google.phonenumbers.demo.helper.WebHelper;
[all …]

12345678910>>...17