Searched refs:ValidationResult (Results 1 – 9 of 9) sorted by relevance
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 23 import com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 1467 assertEquals(ValidationResult.IS_POSSIBLE, phoneUtil.isPossibleNumberWithReason(US_NUMBER)); in testIsPossibleNumberWithReason() 1469 assertEquals(ValidationResult.IS_POSSIBLE_LOCAL_ONLY, in testIsPossibleNumberWithReason() 1472 assertEquals(ValidationResult.TOO_LONG, phoneUtil.isPossibleNumberWithReason(US_LONG_NUMBER)); in testIsPossibleNumberWithReason() 1477 ValidationResult.INVALID_COUNTRY_CODE, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1481 assertEquals(ValidationResult.TOO_SHORT, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1485 assertEquals(ValidationResult.IS_POSSIBLE, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1488 ValidationResult.TOO_LONG, in testIsPossibleNumberWithReason() 1498 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths() 1501 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths() [all …]
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 517 public enum ValidationResult { enum in PhoneNumberUtil 1506 != ValidationResult.TOO_SHORT) { 2572 ValidationResult result = isPossibleNumberWithReason(number); 2573 return result == ValidationResult.IS_POSSIBLE 2574 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 2590 ValidationResult result = isPossibleNumberForTypeWithReason(number, type); 2591 return result == ValidationResult.IS_POSSIBLE 2592 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 2599 private ValidationResult testNumberLength(CharSequence number, PhoneMetadata metadata) { 2607 private ValidationResult testNumberLength( [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.h | 152 enum ValidationResult { enum 175 static const ValidationResult kMaxValidationResult = TOO_LONG; 531 ValidationResult IsPossibleNumberWithReason(const PhoneNumber& number) const; 565 ValidationResult IsPossibleNumberForTypeWithReason(
|
D | phonenumberutil.cc | 406 PhoneNumberUtil::ValidationResult TestNumberLength( in TestNumberLength() 485 PhoneNumberUtil::ValidationResult TestNumberLength( in TestNumberLength() 2307 ValidationResult validation_result = in ParseHelper() 2390 ValidationResult result = IsPossibleNumberWithReason(number); in IsPossibleNumber() 2396 ValidationResult result = IsPossibleNumberForTypeWithReason(number, type); in IsPossibleNumberForType() 2411 PhoneNumberUtil::ValidationResult PhoneNumberUtil::IsPossibleNumberWithReason( in IsPossibleNumberWithReason() 2416 PhoneNumberUtil::ValidationResult
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil.js | 1111 i18n.phonenumbers.PhoneNumberUtil.ValidationResult = { 2086 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT) { 3423 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE || 3425 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 3449 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE || 3451 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 3542 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH; 3549 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult 3554 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE; 3556 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT; [all …]
|
D | demo.js | 60 var validationResult = i18n.phonenumbers.PhoneNumberUtil.ValidationResult;
|
D | phonenumberutil_test.js | 2007 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2042 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2124 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2145 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2174 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2238 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult;
|
/third_party/node/deps/v8/src/compiler/ |
D | compilation-dependencies.cc | 342 enum class ValidationResult { kFoundCorrect, kFoundIncorrect, kNotFound }; in GetHolderIfValid() enum 343 auto try_load = [&](auto dictionary) -> ValidationResult { in GetHolderIfValid() 347 return ValidationResult::kNotFound; in GetHolderIfValid() 352 return ValidationResult::kFoundIncorrect; in GetHolderIfValid() 364 return ValidationResult::kFoundIncorrect; in GetHolderIfValid() 368 return ValidationResult::kFoundIncorrect; in GetHolderIfValid() 377 return value == *constant_.object() ? ValidationResult::kFoundCorrect in GetHolderIfValid() 378 : ValidationResult::kFoundIncorrect; in GetHolderIfValid() 391 ValidationResult result = in GetHolderIfValid() 396 if (result == ValidationResult::kFoundCorrect) { in GetHolderIfValid() [all …]
|
/third_party/libphonenumber/ |
D | release_notes.txt | 1703 - Added two new enum values to ValidationResult - IS_POSSIBLE_LOCAL_ONLY and
|