Searched refs:ValidationResult (Results 1 – 10 of 10) sorted by relevance
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 23 import com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 1462 assertEquals(ValidationResult.IS_POSSIBLE, phoneUtil.isPossibleNumberWithReason(US_NUMBER)); in testIsPossibleNumberWithReason() 1464 assertEquals(ValidationResult.IS_POSSIBLE_LOCAL_ONLY, in testIsPossibleNumberWithReason() 1467 assertEquals(ValidationResult.TOO_LONG, phoneUtil.isPossibleNumberWithReason(US_LONG_NUMBER)); in testIsPossibleNumberWithReason() 1472 ValidationResult.INVALID_COUNTRY_CODE, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1476 assertEquals(ValidationResult.TOO_SHORT, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1480 assertEquals(ValidationResult.IS_POSSIBLE, phoneUtil.isPossibleNumberWithReason(number)); in testIsPossibleNumberWithReason() 1483 ValidationResult.TOO_LONG, in testIsPossibleNumberWithReason() 1493 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths() 1496 ValidationResult.TOO_SHORT, in testIsPossibleNumberForTypeWithReason_DifferentTypeLengths() [all …]
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 500 public enum ValidationResult { enum in PhoneNumberUtil 1494 != ValidationResult.TOO_SHORT) { 2558 ValidationResult result = isPossibleNumberWithReason(number); 2559 return result == ValidationResult.IS_POSSIBLE 2560 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 2576 ValidationResult result = isPossibleNumberForTypeWithReason(number, type); 2577 return result == ValidationResult.IS_POSSIBLE 2578 || result == ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 2585 private ValidationResult testNumberLength(CharSequence number, PhoneMetadata metadata) { 2593 private ValidationResult testNumberLength( [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.h | 148 enum ValidationResult { enum 171 static const ValidationResult kMaxValidationResult = TOO_LONG; 527 ValidationResult IsPossibleNumberWithReason(const PhoneNumber& number) const; 561 ValidationResult IsPossibleNumberForTypeWithReason(
|
D | phonenumberutil.cc | 404 PhoneNumberUtil::ValidationResult TestNumberLength( in TestNumberLength() 483 PhoneNumberUtil::ValidationResult TestNumberLength( in TestNumberLength() 2276 ValidationResult validation_result = in ParseHelper() 2359 ValidationResult result = IsPossibleNumberWithReason(number); in IsPossibleNumber() 2365 ValidationResult result = IsPossibleNumberForTypeWithReason(number, type); in IsPossibleNumberForType() 2380 PhoneNumberUtil::ValidationResult PhoneNumberUtil::IsPossibleNumberWithReason( in IsPossibleNumberWithReason() 2385 PhoneNumberUtil::ValidationResult
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil.js | 1037 i18n.phonenumbers.PhoneNumberUtil.ValidationResult = { 2018 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT) { 3355 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE || 3357 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 3381 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE || 3383 i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE_LOCAL_ONLY; 3474 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.INVALID_LENGTH; 3481 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult 3486 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.IS_POSSIBLE; 3488 return i18n.phonenumbers.PhoneNumberUtil.ValidationResult.TOO_SHORT; [all …]
|
D | demo.js | 59 var validationResult = i18n.phonenumbers.PhoneNumberUtil.ValidationResult;
|
D | phonenumberutil_test.js | 2000 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2035 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2117 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2138 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2167 var VR = i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 2231 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/java/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 31 import com.google.i18n.phonenumbers.PhoneNumberUtil.ValidationResult; 287 == ValidationResult.IS_POSSIBLE_LOCAL_ONLY) { in getOutputForSingleNumber()
|
/third_party/libphonenumber/ |
D | release_notes.txt | 1318 - Added two new enum values to ValidationResult - IS_POSSIBLE_LOCAL_ONLY and
|