Home
last modified time | relevance | path

Searched refs:expiration (Results 1 – 25 of 65) sorted by relevance

123

/external/python/google-api-python-client/tests/
Dtest_channel.py17 expiration=0,
33 ch.expiration = 1
55 self.assertEqual(0, ch.expiration)
62 expiration=datetime.datetime(1965, 1, 1))
63 self.assertEqual(0, ch.expiration)
68 expiration=datetime.datetime(1970, 1, 1, second=5))
69 self.assertEqual(5000, ch.expiration)
76 expiration=datetime.datetime(1970, 1, 1, second=5, microsecond=1000),
78 self.assertEqual(5001, ch.expiration)
104 expiration=0,
/external/python/oauth2client/tests/
Dtest_file.py63 expiration=None): argument
67 token_expiry = expiration or datetime.datetime.utcnow()
117 expiration = (datetime.datetime.utcnow() -
119 credentials = self._create_test_credentials(expiration=expiration)
140 expiration = (datetime.datetime.utcnow() +
142 credentials = self._create_test_credentials(expiration=expiration)
169 expiration = (datetime.datetime.utcnow() +
171 credentials = self._create_test_credentials(expiration=expiration)
184 expiration = (datetime.datetime.utcnow() +
186 credentials = self._create_test_credentials(expiration=expiration)
/external/python/google-api-python-client/googleapiclient/
Dchannel.py167 def __init__(self, type, id, token, address, expiration=None, argument
196 self.expiration = expiration
222 if self.expiration:
223 result['expiration'] = self.expiration
273 def new_webhook_channel(url, token=None, expiration=None, params=None): argument
291 if expiration:
292 delta = expiration - EPOCH
299 token, url, expiration=expiration_ms,
/external/v8/infra/testing/
Dbuilders.pyl495 'expiration': 14400,
644 'expiration': 14400,
661 'expiration': 14400,
673 'expiration': 14400,
852 'expiration': 14400,
1025 'expiration': 21600,
1069 'expiration': 21600,
1118 'expiration': 21600,
1253 'expiration': 14400,
1267 'expiration': 14400,
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
DRoboCookieManager.java191 Date expiration = null; in parseCookies() local
197 expiration = getExpiration(field); in parseCookies()
209 if (expiration == null || expiration.compareTo(new Date()) >= 0) { in parseCookies()
210 cookies.add(new Cookie(hostname, isSecure, cookie, expiration)); in parseCookies()
260 public Cookie(String hostname, boolean isSecure, String cookie, Date expiration) { in Cookie() argument
263 mExpiration = expiration; in Cookie()
/external/wpa_supplicant_8/src/ap/
Dpmksa_cache_auth.c115 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
134 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
232 if (pos->expiration > entry->expiration) in pmksa_cache_link_entry()
343 entry->expiration = now.sec; in pmksa_cache_auth_create_entry()
345 entry->expiration += session_timeout; in pmksa_cache_auth_create_entry()
347 entry->expiration += dot11RSNAConfigPMKLifetime; in pmksa_cache_auth_create_entry()
406 entry->expiration = old_entry->expiration; in pmksa_cache_add_okc()
654 (int) (entry->expiration - now.sec), in pmksa_cache_auth_list()
719 (int) (entry->expiration - now.sec)); in pmksa_cache_auth_list_mesh()
Dctrl_iface_ap.c899 int akmp = 0, expiration = 0; in hostapd_ctrl_iface_pmksa_add() local
932 if (sscanf(pos, "%d %d", &expiration, &akmp) != 2) in hostapd_ctrl_iface_pmksa_add()
936 pmkid, expiration, akmp); in hostapd_ctrl_iface_pmksa_add()
956 int expiration; in hostapd_ctrl_iface_pmksa_create_entry() local
987 if (sscanf(pos, "%d", &expiration) != 1) in hostapd_ctrl_iface_pmksa_create_entry()
990 return wpa_auth_pmksa_create_entry(aa, spa, pmk, pmkid, expiration); in hostapd_ctrl_iface_pmksa_create_entry()
Dpmksa_cache_auth.h22 os_time_t expiration; member
/external/epid-sdk/doc/html/
Dresize.js47 function writeCookie(cookie, val, expiration) argument
50 if (expiration == null) {
53 expiration = date.toGMTString();
55 …document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=…
/external/python/oauth2client/oauth2client/
Dcrypt.py185 expiration = payload_dict.get('exp')
186 if expiration is None:
191 if expiration >= now + MAX_TOKEN_LIFETIME_SECS:
201 latest = expiration + CLOCK_SKEW_SECS
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.c62 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
93 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
159 entry->expiration = now.sec + pmksa->sm->dot11RSNAConfigPMKLifetime; in pmksa_cache_add()
251 if (pos->expiration > entry->expiration) in pmksa_cache_add_entry()
373 os_time_t old_expiration = old_entry->expiration; in pmksa_cache_clone_entry()
385 new_entry->expiration = old_expiration; in pmksa_cache_clone_entry()
573 (int) (entry->expiration - now.sec), in pmksa_cache_list()
Dpmksa_cache.h20 os_time_t expiration; member
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-reference.js14 var expiration = date.toGMTString();
18 writeCookie(API_LEVEL_ENABLED_COOKIE, 1, null, expiration);
22 writeCookie(API_LEVEL_ENABLED_COOKIE, 0, null, expiration);
66 var expiration = date.toGMTString();
67 writeCookie(API_LEVEL_COOKIE, selectedLevel, null, expiration);
Ddoclava-developer-docs.js120 function writeCookie(cookie, val, section, expiration) { argument
123 if (expiration == null) {
126 expiration = date.toGMTString();
128 …document.cookie = cookie_namespace + section + cookie + "=" + val + "; expires=" + expiration+"; p…
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/teststructs/
Dproject4.go129 expiration time.Time member
135 func (p Poison) Expiration() time.Time { return p.expiration }
140 func (p *Poison) SetExpiration(x time.Time) { p.expiration = x }
/external/python/oauth2client/tests/contrib/
Dtest_multiprocess_file_storage.py50 def _create_test_credentials(expiration=None): argument
54 token_expiry = expiration or (
307 expiration=(
Dtest_multistore_file.py93 expiration=None): argument
97 token_expiry = expiration or datetime.datetime.utcnow()
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc189 gpr_timespec expiration = gpr_time_add(now, token_lifetime); in encoded_jwt_claim() local
194 expiration = gpr_time_add(now, grpc_max_auth_token_lifetime()); in encoded_jwt_claim()
197 int64_ttoa(expiration.tv_sec, expiration_str); in encoded_jwt_claim()
/external/autotest/site_utils/
Djob_directories.py37 expiration = job_time + datetime.timedelta(days=age_limit)
38 return datetime.datetime.now() >= expiration
/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/
Dcache.ll63 ; default values for pruning interval and cache expiration are used,
65 ; cache file is older than default cache expiration value.
74 ; default value for cache expiration is used,
76 ; cache file is older than default cache expiration value.
/external/grpc-grpc/test/core/security/
Djson_token_test.cc263 gpr_timespec expiration = gpr_time_0(GPR_CLOCK_REALTIME); in check_jwt_claim() local
317 expiration.tv_sec = strtol(exp->value, nullptr, 10); in check_jwt_claim()
323 parsed_lifetime = gpr_time_sub(expiration, issue_time); in check_jwt_claim()
/external/ltp/testcases/open_posix_testsuite/functional/timers/
Dplan.txt73 - Set timer expiration to: 0, a large number, all the dates that were
83 expiration time.)
84 - Test out all the various events that can be sent for a timer expiration.
/external/perfetto/ui/
Ddeploy99 expiration: "1d"
/external/libcups/cups/
Dtls-darwin.c768 time_t expiration; /* Expiration date */ in httpCredentialsGetExpiration() local
774 expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); in httpCredentialsGetExpiration()
778 return (expiration); in httpCredentialsGetExpiration()
811 time_t expiration; /* Expiration date of cert */ in httpCredentialsString() local
822 expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); in httpCredentialsString()
826 …%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", name, httpGetDateString(expiration), md5_digest[0],… in httpCredentialsString()
/external/llvm/include/llvm-c/
Dlto.h711 unsigned expiration);

123