Home
last modified time | relevance | path

Searched refs:TOO_SHORT (Results 1 - 13 of 13) sorted by relevance

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/
H A DDigitSequenceMatcherTest.java23 import static com.google.i18n.phonenumbers.metadata.finitestatematcher.DigitSequenceMatcher.Result.TOO_SHORT;
61 assertNotMatches(ranges("x"), TOO_SHORT, ""); in testSingleDigitMatching()
72 assertNotMatches(dfa, TOO_SHORT, "1"); in testOptional()
85 assertNotMatches(dfa, TOO_SHORT, "0", "2"); in testOr()
101 assertNotMatches(dfa, TOO_SHORT, "112 123", "797 12345", "807 123456"); in testRealRegexShort()
165 assertNotMatches(dfa, TOO_SHORT, "364 2 123", "674 4 1234", "883 7 12345"); in testRealRegexLong()
/third_party/node/deps/simdutf/
H A Dsimdutf.cpp4220 if (next_pos > len) { return result(error_code::TOO_SHORT, pos); }
4221 if ((data[pos + 1] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
4227 if (next_pos > len) { return result(error_code::TOO_SHORT, pos); }
4228 if ((data[pos + 1] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
4229 if ((data[pos + 2] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
4238 if (next_pos > len) { return result(error_code::TOO_SHORT, pos); }
4239 if ((data[pos + 1] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
4240 if ((data[pos + 2] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
4241 if ((data[pos + 3] & 0b11000000) != 0b10000000) { return result(error_code::TOO_SHORT, pos); }
11588 if(pos + 1 >= len) { return result(error_code::TOO_SHORT, po in convert_with_errors()
[all...]
H A Dsimdutf.h534 TOO_SHORT, // The leading byte must be followed by N-1 continuation bytes, where N is the UTF-8 character length enumerator
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/
H A DDigitSequenceMatcher.java45 TOO_SHORT, enum constant
129 return Result.TOO_SHORT; in match()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Ddemo.js90 case validationResult.TOO_SHORT:
91 output.append('TOO_SHORT');
H A Dphonenumberutil_test.js2029 assertEquals(VR.TOO_SHORT, phoneUtil.isPossibleNumberWithReason(number));
2052 VR.TOO_SHORT,
2055 VR.TOO_SHORT,
2068 VR.TOO_SHORT,
2072 VR.TOO_SHORT,
2084 VR.TOO_SHORT,
2087 VR.TOO_SHORT,
2140 VR.TOO_SHORT,
2197 VR.TOO_SHORT,
2201 VR.TOO_SHORT,
[all...]
H A Dphonenumberutil.js1123 TOO_SHORT: 2,
2086 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT) {
3556 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT;
3709 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT) {
4358 if (validationResult != validationResults.TOO_SHORT &&
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java1481 assertEquals(ValidationResult.TOO_SHORT, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason()
1498 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1501 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1514 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1518 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1530 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1533 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
1580 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_LocalOnly()
1624 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
1627 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_NumberTypeNotSupportedForRegion()
[all...]
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumberutil_test.cc2004 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2040 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2043 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2060 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2065 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2068 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2071 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2074 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2122 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
2168 EXPECT_EQ(PhoneNumberUtil::TOO_SHORT, in TEST_F()
[all...]
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberUtil.java529 TOO_SHORT, enum constant
1506 != ValidationResult.TOO_SHORT) { in formatNumberForMobileDialing()
2669 return ValidationResult.TOO_SHORT; in testNumberLength()
2792 if (isPossibleNumberWithReason(numberCopy) == ValidationResult.TOO_SHORT in truncateTooLongNumber()
3338 if (validationResult != ValidationResult.TOO_SHORT in parseHelper()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.h163 TOO_SHORT, enumerator
H A Dphonenumberutil.cc471 return PhoneNumberUtil::TOO_SHORT; in TestNumberLength()
1331 TestNumberLength(national_number, *region_metadata) != TOO_SHORT) { in FormatNumberForMobileDialing()
2309 if (validation_result != TOO_SHORT && in ParseHelper()
2450 if (IsPossibleNumberWithReason(number_copy) == TOO_SHORT || in TruncateTooLongNumber()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DCompilerRegressionTest.java216 numbers.put(target.canTerminate() ? Result.MATCHED : Result.TOO_SHORT, sequenceIn(path)); in visit()

Completed in 53 milliseconds