Home
last modified time | relevance | path

Searched refs:max_age (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dsessions.py170 def get_session(self, max_age=_default_value): argument
191 def get_session(self, max_age=_default_value): argument
194 max_age=max_age)
217 def get_session(self, max_age=_default_value): argument
220 max_age=max_age)
340 def get_session(self, name=None, max_age=_default_value, factory=None, argument
369 if max_age is _default_value:
370 max_age = self.config['session_max_age']
373 return container.get_session(max_age=max_age)
377 def get_secure_cookie(self, name, max_age=_default_value): argument
[all …]
Dsecurecookie.py51 def deserialize(self, name, value, max_age=None): argument
80 if max_age is not None:
81 if int(parts[1]) < self._get_timestamp() - max_age:
Dauth.py497 max_age = self.store.config['token_max_age']
499 max_age = None
501 session_args.setdefault('max_age', max_age)
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dcookies.py252 max_age = cookie_property(b'max-age', serialize_max_age) variable in Morsel
430 def make_cookie(name, value, max_age=None, path='/', domain=None, argument
442 max_age = 0
446 elif isinstance(max_age, timedelta):
447 max_age = (max_age.days * 60 * 60 * 24) + max_age.seconds
448 expires = max_age
450 expires = max_age
462 if max_age is not None:
463 morsel.max_age = max_age
645 max_age=None, argument
[all …]
Dresponse.py695 def set_cookie(self, name, value='', max_age=None, argument
775 if not max_age and isinstance(expires, timedelta):
776 max_age = expires
779 if not max_age and isinstance(expires, datetime):
780 max_age = expires - datetime.utcnow()
784 cookie = make_cookie(name, value, max_age=max_age, path=path,
927 cache_control.max_age = 0
936 cache_control.max_age = seconds
Dcachecontrol.py202 max_age = value_property('max-age', none=-1) variable in CacheControl
/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c28 int max_age = -1; in wps_er_ssdp_rx() local
86 max_age = atoi(pos2); in wps_er_ssdp_rx()
116 if (max_age < 1) in wps_er_ssdp_rx()
121 location, inet_ntoa(addr.sin_addr), max_age); in wps_er_ssdp_rx()
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age); in wps_er_ssdp_rx()
Dwps_er.h103 const char *location, int max_age);
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_httpheaders.py8 CACHE_CONTROL.update(collection,max_age=1234)
57 assert 'public, max-age=60' == CACHE_CONTROL(max_age=60)
59 CACHE_CONTROL(max_age=CACHE_CONTROL.ONE_DAY)
64 CACHE_CONTROL.apply(headers,max_age=60)
Dtest_fileapp.py47 res = build(max_age=60,s_maxage=30)
51 res = build(private=True, max_age=60, no_transform=True, no_store=True)
/external/autotest/frontend/tko/
Dviews.py31 max_age = request.GET['max_age']
33 graphing_utils.handle_plot_request(id, max_age), mimetype='image/png')
Dgraphing_utils.py823 def handle_plot_request(id, max_age): argument
835 update_time = model.last_updated + datetime.timedelta(minutes=int(max_age))
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Dresponse.rst42 set_cookie(key, value='', max_age=None, path='/', domain=None, secure=None, httponly=False, comment…
55 response.set_cookie('some_key', 'value', max_age=360, path='/',
72 instead of max_age since the former is not supported by Internet Explorer.
73 max_age
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py715 no_store=False, max_age=None, s_maxage=None, argument
717 assert isinstance(max_age, (type(None), int))
725 assert not public and not private and not max_age
730 expires = max_age
736 if max_age is not None:
737 result.append('max-age=%d' % max_age)
Dwsgiwrappers.py387 def set_cookie(self, key, value='', max_age=None, expires=None, path='/', argument
394 ('max_age', max_age), ('path', path), ('domain', domain),
/external/tcpdump/
Dprint-stp.c39 uint8_t max_age[2]; member
118 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_config_bpdu()
267 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
/external/v8/tools/release/
Dauto_roll.py66 max_age=self._options.max_age * DAY_IN_SECONDS)
Dcommon_includes.py635 def GetRecentReleases(self, max_age): argument
644 int(time_now - max_age)).strip()
Dreleases.py298 revisions = self.GetRecentReleases(max_age=7 * DAY_IN_SECONDS)
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_securecookie_test.py34 rv = serializer.deserialize('foo', result, max_age=-86400)
/external/iproute2/include/linux/
Dif_bridge.h58 __u32 max_age; member
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h58 __u32 max_age; member
/external/autotest/site_utils/admin/
Dclean_staged_images.py141 prune_builds(builds_dir, options.max_age, options.max_paladin_age)
/external/chromium-trace/catapult/third_party/WebOb/docs/
Dindex.txt227 ``response.set_cookie(key, value, max_age=None, path='/', domain=None, secure=None, httponly=False,…
229 parameters. The ``max_age`` argument is the length for the cookie
231 `Expires`` key will also be set based on the value of ``max_age``.
234 Delete a cookie from the client. This sets ``max_age`` to 0 and
/external/chromium-trace/catapult/third_party/webapp2/docs/
Dtodo.rst17 - updating session arguments (max_age etc)

12