Searched refs:backoff (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/google_apis/gaia/
H A Dubertoken_fetcher.cc56 // Calculate an exponential backoff with randomness of less than 1 sec.
57 double backoff = base::RandDouble() + (1 << retry_number_); local
61 base::TimeDelta::FromSecondsD(backoff),
H A Doauth2_token_service.cc284 base::TimeDelta backoff = base::TimeDelta::FromMilliseconds( local
289 backoff,
299 // Returns an exponential backoff in milliseconds including randomness less than
305 // Returns a backoff with randomness < 1000ms
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cc232 for (Backoff backoff; backoff.Do();) {
238 StatInc(cur_thread(), stat_type_, backoff.Contention());
262 for (Backoff backoff; backoff.Do();) {
266 StatInc(cur_thread(), stat_type_, backoff.Contention());
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_service_signin_chromeos.cc21 // The maximum allowed backoff interval when waiting for cryptohome to start.
28 // Calculates the backoff interval that should be used next.
29 // |backoff| The last backoff interval used.
30 uint32 GetNextBackoffInterval(uint32 backoff) { argument
31 if (backoff == 0u)
33 return backoff * 2;
45 // |LoadDataForUser| call with some backoff. If no further retires are allowed,
/external/chromium_org/components/translate/content/browser/
H A Dcontent_translate_driver.cc63 int backoff = attempt * kMaxTranslateLoadCheckAttempts; local
70 base::TimeDelta::FromMilliseconds(backoff));
/external/dnsmasq/src/
H A Dtftp.c155 transfer->backoff = 1;
396 transfer->backoff = 0;
422 transfer->backoff = 100;
432 transfer->timeout += 1 + (1<<transfer->backoff);
442 else if (++transfer->backoff > 5)
H A Ddnsmasq.h589 int backoff; member in struct:tftp_transfer
/external/openfst/src/include/fst/extensions/ngram/
H A Dngram-fst.h159 // State 0 has no parent, thus no backoff.
433 Weight* backoff = reinterpret_cast<Weight*>(data + offset); local
445 backoff[context_arc] = Weight::Zero();
474 backoff[context_arc] = arc.weight;
/external/chromium_org/net/third_party/nss/ssl/
H A Ddtlscon.c833 /* Restart a timer with optional backoff
838 dtls_RestartTimer(sslSocket *ss, PRBool backoff, DTLSTimerCb cb) argument
840 if (backoff) {
919 * (effectively resetting the PMTU backoff value).
H A Dsslimpl.h976 * used for backoff (in ms) */
1981 extern SECStatus dtls_RestartTimer(sslSocket *ss, PRBool backoff,
/external/chromium_org/sync/engine/
H A Dsync_scheduler_unittest.cc100 // Test harness for the SyncScheduler. Test the delays and backoff timers used
913 // backoff.
922 // retry. Expect that this clears the backoff state.
934 // that this clears the backoff state.
946 // Expect this will leave the scheduler in backoff.
959 // updates. Expect this will leave the scheduler in backoff.
985 // Test that no polls or extraneous nudges occur when in backoff.
1001 // This nudge should fail and put us into backoff. Thanks to our mock
1002 // GetDelay() setup above, this will be a long backoff.
1037 // Test that backoff i
1083 const TimeDelta backoff = TimeDelta::FromMilliseconds(10); local
[all...]

Completed in 308 milliseconds