Home
last modified time | relevance | path

Searched refs:ZZ (Results 1 - 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/fs/fs-bench/
H A Dboxmuler.c12 int ZZ; in box_muler() local
22 ZZ = min + (ave + (z * (ave / 4))); in box_muler()
23 if (ZZ >= min && ZZ < max) { in box_muler()
24 return (ZZ); in box_muler()
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dregion_code.h29 return ZZ(); in GetUnknown()
32 static const char* ZZ() { in ZZ() function in i18n::phonenumbers::RegionCode
33 return "ZZ"; in ZZ()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c477 int ZZ; in gen_random_file_size() local
487 ZZ = min + (ave + (z * (ave / 4))); in gen_random_file_size()
488 if (ZZ >= min && ZZ < max) { in gen_random_file_size()
489 return (ZZ); in gen_random_file_size()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java154 assertTrue(phoneUtil.getRegionCodeForCountryCode(callingCode) != RegionCode.ZZ); in testGetSupportedCallingCodes()
186 assertEquals(0, phoneUtil.getSupportedTypesForRegion(RegionCode.ZZ).size()); in testGetSupportedTypesForRegion()
1261 assertFalse(phoneUtil.isValidNumberForRegion(INTERNATIONAL_TOLL_FREE, RegionCode.ZZ)); in testIsValidForRegion()
1266 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()
1270 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()
1333 assertEquals(0, phoneUtil.getCountryCodeForRegion(RegionCode.ZZ)); in testGetCountryCodeForRegion()
1350 assertEquals(null, phoneUtil.getNddPrefixForRegion(RegionCode.ZZ, false)); in testGetNationalDiallingPrefixForRegion()
1360 assertFalse(phoneUtil.isNANPACountry(RegionCode.ZZ)); in testIsNANPACountry()
2420 phoneUtil.parse(someNumber, RegionCode.ZZ); in testFailedParseOnInvalidNumbers()
2491 phoneUtil.parse(emptyNumber, RegionCode.ZZ); in testFailedParseOnInvalidNumbers()
[all...]
H A DRegionCode.java63 static final String ZZ = "ZZ"; field in RegionCode
H A DPhoneNumberMatcherTest.java182 // RegionCode.ZZ is allowed only if the number starts with a '+' - then the country code can be in testFindNumbersWithPlusWithNoRegion()
184 doTestFindInContext("+64 3 331 6005", RegionCode.ZZ); in testFindNumbersWithPlusWithNoRegion()
805 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("1 456 764 156", RegionCode.ZZ); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion()
817 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("", RegionCode.ZZ); in testEmptyIteration()
830 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testSingleIteration()
856 phoneUtil.findNumbers("+14156667777 foobar +14156667777 ", RegionCode.ZZ); in testDoubleIteration()
889 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); in testRemovalNotSupported()
H A DAsYouTypeFormatterTest.java30 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidRegion()
52 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testInvalidPlusSign()
72 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(RegionCode.ZZ); in testTooLongNumberMatchingMultipleLeadingDigits()
H A DShortNumberInfoTest.java137 shortInfo.getExpectedCostForRegion(parse("911", RegionCode.US), RegionCode.ZZ)); in testGetExpectedCost()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dregioncodefortesting.js71 ZZ: 'ZZ'
H A Dphonenumberutil_test.js477 phoneUtil.getRegionCodeForCountryCode(callingCode) == RegionCode.ZZ);
505 types = phoneUtil.getSupportedTypesForRegion(RegionCode.ZZ);
1759 phoneUtil.isValidNumberForRegion(INTERNATIONAL_TOLL_FREE, RegionCode.ZZ));
1766 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ));
1772 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ));
1850 assertEquals(0, phoneUtil.getCountryCodeForRegion(RegionCode.ZZ));
1867 assertNull(phoneUtil.getNddPrefixForRegion(RegionCode.ZZ, false));
1877 assertFalse(phoneUtil.isNANPACountry(RegionCode.ZZ));
3212 phoneUtil.parse(someNumber, RegionCode.ZZ);
3284 phoneUtil.parse(emptyNumber, RegionCode.ZZ);
[all...]
H A Dasyoutypeformatter_test.js38 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);
61 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);
82 var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.ZZ);
H A Dshortnumberinfo_test.js198 phoneUtil.parse('911', RegionCode.US), RegionCode.ZZ));
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dtest_util.h202 return "ZZ"; in GetUnknown()
205 static const char* ZZ() { in ZZ() function in i18n::phonenumbers::RegionCode
H A Dphonenumberutil_test.cc123 phone_util_.Parse(number_to_parse, RegionCode::ZZ(), &actual_number)); in AssertThrowsForInvalidPhoneContext()
196 EXPECT_NE(RegionCode::ZZ(), region_code); in TEST_F()
227 phone_util_.GetSupportedTypesForRegion(RegionCode::ZZ(), &types); in TEST_F()
1697 EXPECT_EQ(RegionCode::ZZ(), region_code); in TEST_F()
1711 RegionCode::ZZ())); in TEST_F()
1718 RegionCode::ZZ())); in TEST_F()
1729 RegionCode::ZZ())); in TEST_F()
1799 EXPECT_EQ(RegionCode::ZZ(), region_code); in TEST_F()
4088 RegionCode::ZZ(), &test_number)); in TEST_F()
4094 RegionCode::ZZ(), in TEST_F()
[all...]
H A Dphonenumbermatcher_test.cc500 // RegionCode::ZZ() is allowed only if the number starts with a '+' - then the in TEST_F()
502 DoTestFindInContext("+64 3 331 6005", RegionCode::ZZ()); in TEST_F()
1058 // Fail on non-international prefix if region code is ZZ. in TEST_F()
1061 RegionCode::ZZ(), PhoneNumberMatcher::VALID)); in TEST_F()
1170 phone_util_.Parse("+14156667777", RegionCode::ZZ(), &number); in TEST_F()
H A Dshortnumberinfo_test.cc211 ParseNumberForTesting("911", RegionCode::US()), RegionCode::ZZ())); in TEST_F()
/third_party/python/Lib/test/
H A Dtest_typing.py6565 ZZ = pickle.dumps(EmpD, proto) variable in TypedDictTests.test_pickle.by
6566 EmpDnew = pickle.loads(ZZ)
6576 ZZ = pickle.dumps(Point2DGeneric, proto)
6577 Point2DGenericNew = pickle.loads(ZZ)
H A Dtest_descr.py3165 class ZZ(complex): class
3171 zz = ZZ(1.0000003)

Completed in 43 milliseconds