Home
last modified time | relevance | path

Searched refs:ValidationResult (Results 1 - 8 of 8) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java23 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 in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths()
[all...]
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberUtil.java517 public enum ValidationResult { enum in PhoneNumberUtil
1506 != ValidationResult.TOO_SHORT) { in formatNumberForMobileDialing()
2572 ValidationResult result = isPossibleNumberWithReason(number); in isPossibleNumber()
2573 return result == ValidationResult.IS_POSSIBLE in isPossibleNumber()
2574 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; in isPossibleNumber()
2590 ValidationResult result = isPossibleNumberForTypeWithReason(number, type); in isPossibleNumberForType()
2591 return result == ValidationResult.IS_POSSIBLE in isPossibleNumberForType()
2592 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; in isPossibleNumberForType()
2599 private ValidationResult testNumberLength(CharSequence number, PhoneMetadata metadata) { in testNumberLength()
2607 private ValidationResult testNumberLengt
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil.js34 goog.provide('i18n.phonenumbers.PhoneNumberUtil.ValidationResult');
1111 i18n.phonenumbers.PhoneNumberUtil.ValidationResult = {
2086 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT) {
3420 /** @type {!i18n.phonenumbers.PhoneNumberUtil.ValidationResult} */
3423 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ||
3425 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY;
3446 /** @type {!i18n.phonenumbers.PhoneNumberUtil.ValidationResult} */
3449 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE ||
3451 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY;
3462 * @return {i18n.phonenumbers.PhoneNumberUtil.ValidationResult}
[all...]
H A Ddemo.js32 goog.require('i18n.phonenumbers.PhoneNumberUtil.ValidationResult');
60 var validationResult = i18n.phonenumbers.PhoneNumberUtil.ValidationResult;
H A Dphonenumberutil_test.js2007 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/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.h152 enum ValidationResult { enum in i18n::phonenumbers::PhoneNumberUtil
175 static const ValidationResult kMaxValidationResult = TOO_LONG;
531 ValidationResult IsPossibleNumberWithReason(const PhoneNumber& number) const;
565 ValidationResult IsPossibleNumberForTypeWithReason(
H A Dphonenumberutil.cc406 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/node/deps/v8/src/compiler/
H A Dcompilation-dependencies.cc342 enum class ValidationResult { kFoundCorrect, kFoundIncorrect, kNotFound }; in GetHolderIfValid() class
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 in GetHolderIfValid()
[all...]

Completed in 23 milliseconds