Home
last modified time | relevance | path

Searched refs:TOO_LONG (Results 1 - 14 of 14) sorted by relevance

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/
H A DDigitSequenceMatcherTest.java22 import static com.google.i18n.phonenumbers.metadata.finitestatematcher.DigitSequenceMatcher.Result.TOO_LONG;
58 assertNotMatches(ranges("0"), TOO_LONG, "00"); in testSingleDigitMatching()
62 assertNotMatches(ranges("x"), TOO_LONG, "00"); in testSingleDigitMatching()
66 assertNotMatches(ranges("[2-6]"), TOO_LONG, "26"); in testSingleDigitMatching()
74 assertNotMatches(dfa, TOO_LONG, "1233"); in testOptional()
86 assertNotMatches(dfa, TOO_LONG, "011", "233"); in testOr()
102 assertNotMatches(dfa, TOO_LONG, "112 12345678", "797 123456789"); in testRealRegexShort()
166 assertNotMatches(dfa, TOO_LONG, "364 2 1234567", "674 4 12345678"); in testRealRegexLong()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/
H A DDigitSequenceMatcher.java50 TOO_LONG; enum constant
127 return !in.hasNext() ? Result.MATCHED : Result.TOO_LONG; in match()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DNumberParseException.java54 TOO_LONG, enum constant
H A DPhoneNumberUtil.java539 TOO_LONG, enum constant
2671 return ValidationResult.TOO_LONG; in testNumberLength()
2918 || testNumberLength(fullNumber, defaultRegionMetadata) == ValidationResult.TOO_LONG) { in maybeExtractCountryCode()
3252 throw new NumberParseException(NumberParseException.ErrorType.TOO_LONG, in parseHelper()
3353 throw new NumberParseException(NumberParseException.ErrorType.TOO_LONG, in parseHelper()
/third_party/node/deps/simdutf/
H A Dsimdutf.cpp4250 if ((byte & 0b11000000) == 0b10000000) { return result(error_code::TOO_LONG, pos); }
4265 return result(error_code::TOO_LONG, 0);
11641 if ((leading_byte & 0b11000000) == 0b10000000) { return result(error_code::TOO_LONG, pos); } in convert_with_errors()
11691 return result(error_code::TOO_LONG, 0-how_far_back); in rewind_and_convert_with_errors()
11920 if ((leading_byte & 0b11000000) == 0b10000000) { return result(error_code::TOO_LONG, pos); } in convert_with_errors()
11967 return result(error_code::TOO_LONG, 0-how_far_back); in rewind_and_convert_with_errors()
12223 return result(error_code::TOO_LONG, pos); in convert_with_errors()
12263 return result(error_code::TOO_LONG, 0-how_far_back); in rewind_and_convert_with_errors()
15228 constexpr const uint8_t TOO_LONG = 1<<1; // 0_______ 10______
15249 TOO_LONG, TOO_LON
[all...]
H A Dsimdutf.h536 TOO_LONG, // We either have too many consecutive continuation bytes or the string starts with a continuation byte. enumerator
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.h146 TOO_LONG_NSN, // TOO_LONG in the java version.
172 TOO_LONG, enumerator
175 static const ValidationResult kMaxValidationResult = TOO_LONG;
H A Dphonenumberutil.cc473 return PhoneNumberUtil::TOO_LONG; in TestNumberLength()
3070 TOO_LONG) { in MaybeExtractCountryCode()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java1472 assertEquals(ValidationResult.TOO_LONG, phoneUtil.isPossibleNumberWithReason(US_LONG_NUMBER)); in testIsPossibleNumberWithReason()
1488 ValidationResult.TOO_LONG, in testIsPossibleNumberWithReason()
1558 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1564 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1679 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
1690 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
1698 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
1701 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
1704 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
1713 ValidationResult.TOO_LONG, in testIsPossibleNumberForTypeWithReason_FixedLineOrMobile()
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil_test.js2017 VR.TOO_LONG, phoneUtil.isPossibleNumberWithReason(US_LONG_NUMBER));
2037 VR.TOO_LONG,
2113 VR.TOO_LONG,
2119 VR.TOO_LONG,
2262 VR.TOO_LONG,
2274 VR.TOO_LONG,
2283 VR.TOO_LONG,
2286 VR.TOO_LONG,
2289 VR.TOO_LONG,
2299 VR.TOO_LONG,
[all...]
H A Ddemo.js93 case validationResult.TOO_LONG:
94 output.append('TOO_LONG');
H A Dphonenumberutil.js84 TOO_LONG: 'The string supplied is too long to be a phone number'
1134 TOO_LONG: 3
3558 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG;
3870 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_LONG) {
4256 throw new Error(i18n.phonenumbers.Error.TOO_LONG);
4377 throw new Error(i18n.phonenumbers.Error.TOO_LONG);
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumberutil_test.cc2009 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2029 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2098 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2237 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2240 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2243 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2248 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2251 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2254 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
2262 EXPECT_EQ(PhoneNumberUtil::TOO_LONG, in TEST_F()
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DCompilerRegressionTest.java234 Result expected = target.equals(RangeTree.getTerminal()) ? Result.TOO_LONG : Result.INVALID; in visit()

Completed in 59 milliseconds