/external/chromium_org/remoting/jingle_glue/ |
chromium_socket_factory_unittest.cc | 45 int attempts = 0; local 47 while (last_packet_.empty() && attempts++ < kMaxAttempts) {
|
/libcore/luni/src/main/java/java/io/ |
PipedInputStream.java | 225 int attempts = 3; local 231 if ((attempts-- <= 0) && lastWriter != null && !lastWriter.isAlive()) { 303 int attempts = 3; local 309 if ((attempts-- <= 0) && lastWriter != null && !lastWriter.isAlive()) {
|
/external/chromium_org/chrome/browser/chromeos/geolocation/ |
simple_geolocation_unittest.cc | 90 size_t attempts() const { return attempts_; } function in class:chromeos::TestGeolocationAPIURLFetcherCallback 123 size_t attempts() const { return url_callback_->attempts(); } function in class:chromeos::GeolocationAPIFetcherFactory 186 EXPECT_EQ(1U, url_factory.attempts()); 207 EXPECT_EQ(4U, url_factory.attempts()); 237 EXPECT_GE(url_factory.attempts(), 2U); 238 if (url_factory.attempts() > expected_retries + 1) { 240 << "SimpleGeolocationTest::InvalidResponse: Too many attempts (" 241 << url_factory.attempts() << "), no more then " << expected_retries + 1 244 if (url_factory.attempts() < expected_retries - 1) [all...] |
/external/chromium_org/chrome/browser/chromeos/timezone/ |
timezone_unittest.cc | 128 size_t attempts() const { return attempts_; } function in class:chromeos::TestTimeZoneAPIURLFetcherCallback 161 size_t attempts() const { return url_callback_->attempts(); } function in class:chromeos::TimeZoneAPIFetcherFactory 222 EXPECT_EQ(1U, url_factory.attempts()); 245 EXPECT_EQ(4U, url_factory.attempts()); 277 EXPECT_GE(url_factory.attempts(), 2U); 278 if (url_factory.attempts() > expected_retries + 1) { 279 LOG(WARNING) << "TimeZoneTest::InvalidResponse: Too many attempts (" 280 << url_factory.attempts() << "), no more then " 283 if (url_factory.attempts() < expected_retries - 1) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-alloc.cc | 39 static int attempts = 0; local 41 if (++attempts < 3) return AllocationResult::Retry();
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
tempname.c | 222 unsigned int attempts = TMP_MAX; local 224 unsigned int attempts = ATTEMPTS_MIN; local 249 for (count = 0; count < attempts; value += 7777, ++count)
|
/external/chromium_org/net/dns/ |
dns_config_service.h | 112 // Maximum number of attempts, see res_state.retry. 113 int attempts; member in struct:net::DnsConfig 140 // Attempts to read the configuration. Will run |callback| when succeeded. 160 // Immediately attempts to read the current configuration.
|
/external/chromium_org/third_party/skia/experimental/Networking/ |
SkSockets.cpp | 97 int attempts = 0; local 108 ++attempts; 146 // h.done, h.bytes, fSockfd, attempts); 149 attempts = 0; 184 int attempts = 0; local 199 attempts++; 229 // h.done, h.bytes, i, attempts); 232 attempts = 0;
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_test.py | 32 attempts=3, 50 self._attempts = attempts 54 assert self._attempts > 0, 'Test attempts must be greater than 0' 97 def attempts(self): member in class:PageTest 101 @attempts.setter 102 def attempts(self, count): member in class:PageTest 103 assert self._attempts > 0, 'Test attempts must be greater than 0'
|
/external/skia/experimental/Networking/ |
SkSockets.cpp | 97 int attempts = 0; local 108 ++attempts; 146 // h.done, h.bytes, fSockfd, attempts); 149 attempts = 0; 184 int attempts = 0; local 199 attempts++; 229 // h.done, h.bytes, i, attempts); 232 attempts = 0;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardAbsKeyInputView.java | 111 // to avoid accidental lockout, only count attempts that are long enough to be a 114 int attempts = KeyguardUpdateMonitor.getInstance(mContext).getFailedUnlockAttempts(); local 115 if (0 == (attempts % LockPatternUtils.FAILED_ATTEMPTS_BEFORE_TIMEOUT)) {
|
KeyguardPatternView.java | 226 int attempts = mKeyguardUpdateMonitor.getFailedUnlockAttempts(); local 228 0 == (attempts % LockPatternUtils.FAILED_ATTEMPTS_BEFORE_TIMEOUT)) {
|
/system/extras/tests/sdcard/ |
sysutil.cpp | 97 int attempts = 0; local 101 while (size > 0 && !error && !eof && attempts < kMaxAttempts) 124 ++attempts; 163 int attempts = 0; local 165 while (size > 0 && !error && attempts < kMaxAttempts) 182 ++attempts; 449 int attempts = 0; local 451 while (size > 0 && !error && attempts < kMaxAttempts) 468 ++attempts; 480 attempts = 0 524 int attempts; local [all...] |
/external/chromium_org/sandbox/win/src/ |
sandbox_nt_util.cc | 32 int attempts = 0; local 33 for (; attempts < 41; attempts++) { 47 if (attempts == 30) { 50 } else if (attempts == 40) { 60 if (attempts == 41)
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 31 * Maximum number of retransmit attempts before the entry is removed from 47 * The number of failed retry attempts after which the RADIUS server will be 113 * attempts - Number of transmission attempts 115 int attempts; member in struct:radius_msg_list 340 if (entry->attempts == 0) 348 if (entry->attempts == 0) 356 /* retransmit; remove entry if too many attempts */ 357 entry->attempts++; 374 if (entry->attempts >= RADIUS_CLIENT_MAX_RETRIES) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 296 int attempts = 1; local 318 attempts++; 329 } while (b == null && attempts < NUMBER_OF_RESIZE_ATTEMPTS); 333 && attempts >= NUMBER_OF_RESIZE_ATTEMPTS) { 334 Log.v(TAG, "getResizedImageData: gave up after too many attempts to resize"); 340 attempts = 1; // reset count for second loop 406 Log.v(TAG, "attempt=" + attempts 414 attempts++; 416 } while (resultTooBig && attempts < NUMBER_OF_RESIZE_ATTEMPTS);
|
/external/mksh/src/ |
main.c | 785 volatile uint8_t attempts = 13; local 858 if (wastty && Flag(FIGNOREEOF) && --attempts > 0) { [all...] |
/system/core/toolbox/ |
newfs_msdos.c | 264 u_int extra_res, alignment=0, set_res, set_spf, set_spc, tempx, attempts=0; local 603 attempts++; 604 } while(opt_A && alignment != 0 && attempts < 2); [all...] |
/system/netd/server/ |
RouteController.cpp | 854 unsigned attempts = 0; local [all...] |
/frameworks/base/core/jni/ |
android_media_AudioSystem.cpp | 889 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; local 893 if (attempts-- < 0) { 1116 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; local [all...] |
/hardware/libhardware/modules/audio_remote_submix/ |
audio_hw.cpp | 75 #define READ_ATTEMPT_SLEEP_MS 5 // 5ms between two read attempts when pipe is empty 994 int attempts = 0; local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 108 private TextView attempts; field in class:RadioInfo 277 attempts = (TextView) findViewById(R.id.attempts); 674 attempts.setText(s); [all...] |
/external/yaffs2/yaffs2/ |
yaffs_guts.c | 399 int attempts = 0; local 452 attempts++; 471 if (attempts > 1) { 473 (TSTR("**>> yaffs write required %d attempts" TENDSTR), 474 attempts)); 475 dev->nRetriedWrites += (attempts - 1); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
Renderer11.cpp | 3082 int attempts = ArraySize(extraFlags); local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/ |
Renderer9.cpp | 3424 int attempts = ArraySize(extraFlags); local [all...] |