Home
last modified time | relevance | path

Searched refs:number1 (Results 1 – 6 of 6) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
Dtest_util.h34 inline bool operator==(const PhoneNumber& number1, const PhoneNumber& number2) {
35 return ExactlySameAs(number1, number2);
38 inline bool operator!=(const PhoneNumber& number1, const PhoneNumber& number2) {
39 return !(number1 == number2);
Dphonenumbermatcher_test.cc560 string number1 = "415-666-7777"; in TEST_F() local
564 string text = StrCat(number1, " - ", number2, " - ", number3, " - ", number4); in TEST_F()
571 AssertMatchProperties(match, text, number1, RegionCode::US()); in TEST_F()
587 string number1 = "415-666-7777"; in TEST_F() local
589 string text = StrCat(number1, " ", number2); in TEST_F()
596 AssertMatchProperties(match, text, number1, RegionCode::US()); in TEST_F()
768 PhoneNumber number1; in TEST_F() local
769 number1.set_country_code(phone_util_.GetCountryCodeForRegion(region)); in TEST_F()
770 number1.set_national_number(6502534561ULL); in TEST_F()
771 PhoneNumberMatch match1(5, "650-253-4561", number1); in TEST_F()
[all …]
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java244 String number1 = "415-666-7777"; in testFourMatchesInARow() local
248 String text = number1 + " - " + number2 + " - " + number3 + " - " + number4; in testFourMatchesInARow()
253 assertMatchProperties(match, text, number1, RegionCode.US); in testFourMatchesInARow()
266 String number1 = "(415) 666-7777"; in testMatchesFoundWithMultipleSpaces() local
268 String text = number1 + " " + number2; in testMatchesFoundWithMultipleSpaces()
273 assertMatchProperties(match, text, number1, RegionCode.US); in testMatchesFoundWithMultipleSpaces()
403 PhoneNumber number1 = new PhoneNumber(); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation() local
404 number1.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
405 number1.setNationalNumber(6502534561L); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
406 PhoneNumberMatch match1 = new PhoneNumberMatch(5, "650-253-4561", number1); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation()
[all …]
DPhoneNumberUtilTest.java1001 PhoneNumber number1 = phoneUtil.parseAndKeepRawInput("+442087654321", RegionCode.GB); in testFormatInOriginalFormat() local
1002 assertEquals("+44 20 8765 4321", phoneUtil.formatInOriginalFormat(number1, RegionCode.GB)); in testFormatInOriginalFormat()
/third_party/mesa3d/src/intel/common/tests/
Dgenxml_test.c54 .number1 = 5, in test_struct()
84 assert(number == test1.number1); in test_struct()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js1378 var number1 = phoneUtil.parseAndKeepRawInput('+442087654321', RegionCode.GB);
1381 phoneUtil.formatInOriginalFormat(number1, RegionCode.GB));