Searched refs:expiration (Results 1 - 25 of 78) sorted by relevance

1234

/external/chromium_org/google_apis/gaia/
H A Doauth2_token_service_test_util.cc18 std::string GetValidTokenResponse(std::string token, int expiration) { argument
19 return base::StringPrintf(kValidTokenResponse, token.c_str(), expiration);
H A Doauth2_token_service_test_util.h13 std::string GetValidTokenResponse(std::string token, int expiration);
/external/chromium_org/net/dns/
H A Dhost_cache.cc104 const base::TimeTicks& expiration,
108 DCHECK(now >= expiration);
109 UMA_HISTOGRAM_CUSTOM_TIMES("DNS.CacheExpiredOnGet", now - expiration,
113 if (expiration > now) {
114 UMA_HISTOGRAM_CUSTOM_TIMES("DNS.CacheEvicted", expiration - now,
117 UMA_HISTOGRAM_CUSTOM_TIMES("DNS.CacheExpired", now - expiration,
101 Handle( const Key& key, const Entry& entry, const base::TimeTicks& expiration, const base::TimeTicks& now, bool on_get) const argument
H A Dmdns_cache.cc128 // expiration. This allows clients to eagrely call CleanupRecords with
134 base::Time expiration = GetEffectiveExpiration(i->second); local
135 if (now >= expiration) {
140 if (next_expiration == base::Time() || expiration < next_expiration) {
141 next_expiration = expiration;
/external/chromium/net/base/
H A Dhost_cache.cc16 base::TimeTicks expiration)
17 : error(error), addrlist(addrlist), expiration(expiration) {
61 base::TimeTicks expiration = now +
67 Entry* ptr = new Entry(error, addrlist, expiration);
79 entry->expiration = expiration;
117 return entry->expiration > now;
14 Entry(int error, const AddressList& addrlist, base::TimeTicks expiration) argument
H A Dhost_cache.h26 Entry(int error, const AddressList& addrlist, base::TimeTicks expiration);
33 base::TimeTicks expiration; member in struct:net::HostCache::Entry
/external/chromium_org/chrome/browser/signin/
H A Dfake_profile_oauth2_token_service.cc60 const base::Time& expiration) {
65 expiration);
81 const base::Time& expiration) {
86 expiration);
94 const base::Time& expiration) {
102 it->request->InformConsumer(error, access_token, expiration);
57 IssueTokenForScope( const ScopeSet& scope, const std::string& access_token, const base::Time& expiration) argument
79 IssueTokenForAllPendingRequests( const std::string& access_token, const base::Time& expiration) argument
89 CompleteRequests( bool all_scopes, const ScopeSet& scope, const GoogleServiceAuthError& error, const std::string& access_token, const base::Time& expiration) argument
H A Dfake_profile_oauth2_token_service.h92 const base::Time& expiration);
98 const base::Time& expiration);
135 const base::Time& expiration);
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprint_job_handler.cc53 base::Time expiration; member in struct:PrintJobHandler::LocalPrintJobExtended
58 LocalPrintJobDraft(const std::string& ticket, const base::Time& expiration) argument
60 expiration(expiration) {}
64 base::Time expiration; member in struct:PrintJobHandler::LocalPrintJobDraft
196 static_cast<int>((draft->second.expiration - Time::Now()).InSeconds());
271 job->second.expiration =
293 // TODO(maksymb): Use base::Time for expiration
296 base::Time expiration = jobs.at(id).expiration; local
[all...]
/external/qemu/
H A Dshaper.c55 int64_t expiration; member in struct:QueuedPacketRec_
77 packet->expiration = 0;
99 QueuedPacket packets; /* list of queued packets, ordered by expiration date */
142 if (packet->expiration > now)
153 shaper->block_until = shaper->packets->expiration;
233 packet->expiration = shaper->block_until;
241 if (node == NULL || node->expiration > packet->expiration )
249 qemu_mod_timer( shaper->timer, packet->expiration );
290 int64_t expiration; member in struct:SessionRec_
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextensions_quota_service.cc98 if ((*i)->expiration().is_null()) // A brand new bucket.
116 if (event_time > bucket->expiration())
124 if (event_time > bucket->expiration()) {
133 if (bucket->has_tokens() || event_time > bucket->expiration() +
143 bucket->Reset(config(), bucket->expiration());
/external/chromium_org/extensions/browser/
H A Dquota_service.cc128 if ((*i)->expiration().is_null()) // A brand new bucket.
151 if (event_time > bucket->expiration())
159 if (event_time > bucket->expiration()) {
169 event_time > bucket->expiration() + config().refill_interval) {
178 bucket->Reset(config(), bucket->expiration());
/external/chromium_org/net/base/
H A Dexpiring_cache.h24 const ExpirationType& expiration,
30 // Cache implementation where all entries have an explicit expiration policy. As
38 // ExpirationCompare, then the expression |comp(current, expiration)| shall
39 // return true iff |current| is still valid within |expiration|.
42 // monotonically increasing clock, for the expiration type. Because it's always
44 // sorted before |expiration|:
55 // Alternatively, there may be some more complex expiration criteria, at which
60 // const ComplexExpiration& expiration) const;
104 const ExpirationType& expiration() const { return it_->second.second; } function in class:net::ExpiringCache::Iterator
143 const ExpirationType& expiration) {
22 Handle(const KeyType& key, const ValueType& value, const ExpirationType& expiration, const ExpirationType& now, bool onGet) const argument
140 Put(const KeyType& key, const ValueType& value, const ExpirationType& now, const ExpirationType& expiration) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dpmksa_cache_auth.c97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
116 sec = pmksa->pmksa->expiration - now.sec;
192 /* Add the new entry; order by expiration time */
196 if (pos->expiration > entry->expiration)
257 entry->expiration = now.sec;
259 entry->expiration += session_timeout;
261 entry->expiration += dot11RSNAConfigPMKLifetime;
299 entry->expiration = old_entry->expiration;
[all...]
H A Dpmksa_cache_auth.h22 os_time_t expiration; member in struct:rsn_pmksa_cache_entry
/external/wpa_supplicant_8/src/ap/
H A Dpmksa_cache_auth.c97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
116 sec = pmksa->pmksa->expiration - now.sec;
192 /* Add the new entry; order by expiration time */
196 if (pos->expiration > entry->expiration)
257 entry->expiration = now.sec;
259 entry->expiration += session_timeout;
261 entry->expiration += dot11RSNAConfigPMKLifetime;
299 entry->expiration = old_entry->expiration;
[all...]
H A Dpmksa_cache_auth.h22 os_time_t expiration; member in struct:rsn_pmksa_cache_entry
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dpmksa_cache_auth.c97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
116 sec = pmksa->pmksa->expiration - now.sec;
192 /* Add the new entry; order by expiration time */
196 if (pos->expiration > entry->expiration)
257 entry->expiration = now.sec;
259 entry->expiration += session_timeout;
261 entry->expiration += dot11RSNAConfigPMKLifetime;
299 entry->expiration = old_entry->expiration;
[all...]
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Dgaia_web_auth_flow.cc125 std::string expiration; local
136 expiration = it->second;
150 delegate_->OnGaiaFlowCompleted(access_token, expiration);
H A Dgaia_web_auth_flow.h58 const std::string& expiration) = 0;
/external/chromium_org/net/cert/
H A Dmulti_threaded_cert_verifier.h112 // ensure that expiration is measured both by the 'general' case (now + cache
117 CacheValidityPeriod(const base::Time& now, const base::Time& expiration);
124 // Returns true iff |now| is within the validity period of |expiration|.
126 const CacheValidityPeriod& expiration) const;
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpmksa_cache.c59 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
90 sec = pmksa->pmksa->expiration - now.sec;
141 entry->expiration = now.sec + pmksa->sm->dot11RSNAConfigPMKLifetime;
214 /* Add the new entry; order by expiration time */
218 if (pos->expiration > entry->expiration)
341 /* TODO: reorder entries based on expiration time? */
342 new_entry->expiration = old_entry->expiration;
473 "Index / AA / PMKID / expiration (i
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpmksa_cache.c59 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
90 sec = pmksa->pmksa->expiration - now.sec;
141 entry->expiration = now.sec + pmksa->sm->dot11RSNAConfigPMKLifetime;
214 /* Add the new entry; order by expiration time */
218 if (pos->expiration > entry->expiration)
341 /* TODO: reorder entries based on expiration time? */
342 new_entry->expiration = old_entry->expiration;
473 "Index / AA / PMKID / expiration (i
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dpmksa_cache.c59 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
90 sec = pmksa->pmksa->expiration - now.sec;
141 entry->expiration = now.sec + pmksa->sm->dot11RSNAConfigPMKLifetime;
214 /* Add the new entry; order by expiration time */
218 if (pos->expiration > entry->expiration)
341 /* TODO: reorder entries based on expiration time? */
342 new_entry->expiration = old_entry->expiration;
473 "Index / AA / PMKID / expiration (i
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DGenericMapMaker.java70 * See {@link MapMaker#expiration}.
74 abstract GenericMapMaker<K0, V0> expiration(long duration, TimeUnit unit); method in class:GenericMapMaker

Completed in 1303 milliseconds

1234