Home
last modified time | relevance | path

Searched refs:maxTries (Results 1 - 5 of 5) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberMatcher.java202 private long maxTries; field in PhoneNumberMatcher
228 * @param maxTries the maximum number of invalid numbers to try before giving up on the text.
233 long maxTries) { in PhoneNumberMatcher()
238 if (maxTries < 0) { in PhoneNumberMatcher()
245 this.maxTries = maxTries; in PhoneNumberMatcher()
257 while ((maxTries > 0) && matcher.find(index)) { in find()
272 maxTries--; in find()
358 while (groupMatcher.find() && maxTries > 0) { in extractInnerMatch()
368 maxTries in extractInnerMatch()
232 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, long maxTries) PhoneNumberMatcher() argument
[all...]
H A DPhoneNumberUtil.java3199 * @param maxTries the maximum number of invalid numbers to try before giving up on the text.
3205 final long maxTries) { in findNumbers()
3211 PhoneNumberUtil.this, text, defaultRegion, leniency, maxTries); in findNumbers()
3203 findNumbers( final CharSequence text, final String defaultRegion, final Leniency leniency, final long maxTries) findNumbers() argument
/third_party/vk-gl-cts/framework/delibs/deutil/
H A DdeTimer.c123 const int maxTries = 100; in deTimer_disable() local
128 for (tryNdx = 0; tryNdx < maxTries; tryNdx++) in deTimer_disable()
148 DE_ASSERT(tryNdx < maxTries); in deTimer_disable()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiObjectManagementTests.cpp3119 const deUint32 maxTries = cmdLineIterCount != 0 ? cmdLineIterCount : getOomIterLimit<Object>(); in allocCallbackFailTest() local
3120 const deUint32 finalLimit = std::max(maxTries, 10000u); in allocCallbackFailTest()
3184 // if we reached maxTries but didn't create object, try doing it with huge limit in allocCallbackFailTest()
3185 if (numPassingAllocs >= maxTries) in allocCallbackFailTest()
3200 << TestLog::Message << "Maximum iteration count (" << maxTries << ") reached without object construction passing. " in allocCallbackFailTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiObjectManagementTests.cpp3119 const deUint32 maxTries = cmdLineIterCount != 0 ? cmdLineIterCount : getOomIterLimit<Object>(); in allocCallbackFailTest() local
3120 const deUint32 finalLimit = std::max(maxTries, 10000u); in allocCallbackFailTest()
3184 // if we reached maxTries but didn't create object, try doing it with huge limit in allocCallbackFailTest()
3185 if (numPassingAllocs >= maxTries) in allocCallbackFailTest()
3200 << TestLog::Message << "Maximum iteration count (" << maxTries << ") reached without object construction passing. " in allocCallbackFailTest()

Completed in 23 milliseconds