/pkg/src/util/log-scripts/ |
H A D | an_first_timestamp.py | 36 import time namespace 40 comb_log_pat = re.compile("(?P<ip>[\d\.]*) - - \[(?P<date>[^:]*):(?P<time>\S*) (?P<tz>[^\]]*)\] \"(?P<op>GET|POST|HEAD|\S*) (?P<uri>\S*) HTTP/(?P<httpver>[^\"]*)\" (?P<response>\d*) (?P<subcode>\d*|-) \"(?P<refer>[^\"]*)\" \"(?P<agent>[^\"]*)\"") 53 d = datetime.datetime(*(time.strptime(mg["date"] + ":" + mg["time"], "%d/%b/%Y:%H:%M:%S")[0:6])) 55 print("{0:d}".format(time.mktime(d.timetuple())))
|
H A D | translate.py | 31 import time namespace 71 d = time.mktime(time.strptime(d[1:], "%d/%b/%Y:%H:%M:%S"))
|
H A D | an2_ip_active.py | 31 import time namespace 109 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6])) 118 dt = datetime.datetime(*(time.strptime(d, "%Y-%m-%d")[0:6])) 140 firstdt = datetime.datetime(*(time.strptime(firstdate, "%Y-%m-%d")[0:6]))
|
H A D | an_filelist.py | 36 import time namespace 83 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6])) 85 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6])) 114 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
|
H A D | an_catalog.py | 58 import time namespace 163 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6])) 165 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6])) 194 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
|
H A D | an_ip_active.py | 36 import time namespace 73 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6])) 75 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6])) 105 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
|
H A D | an_manifest.py | 35 import time namespace 112 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6])) 114 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6])) 144 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
|
H A D | an_search.py | 35 import time namespace 167 after = datetime.datetime(*(time.strptime(arg, "%Y-%b-%d")[0:6])) 169 after = datetime.datetime(*(time.strptime(arg, "%Y-%m-%d")[0:6])) 198 d = datetime.datetime(*(time.strptime(mg["date"], "%d/%b/%Y")[0:6]))
|
/pkg/src/tests/perf/ |
H A D | fmribench.py | 37 import time namespace
|
/pkg/src/tests/api/ |
H A D | t_api_info.py | 36 import time namespace
|
H A D | t_api_refresh.py | 35 import time namespace 98 time.sleep(1) 204 time.sleep(1)
|
H A D | t_api.py | 41 import time namespace 812 # Prepare should succeed this time; so execute afterwards. 883 # Prepare should succeed this time; so execute afterwards.
|
H A D | t_async_rpc.py | 39 import time namespace 64 time.sleep(n) 236 time.sleep(random.randint(0, 1))
|
H A D | t_progress.py | 37 import time namespace 65 time.sleep(0.20) 94 time.sleep(0.20)
|
/pkg/src/modules/actions/ |
H A D | legacy.py | 37 import time namespace 102 time.strftime("%b %d %Y %H:%M")))
|
/pkg/src/tests/cli/ |
H A D | t_pkg_hydrate.py | 34 import time namespace 164 time.sleep(1)
|
H A D | t_util_merge.py | 38 import time namespace 126 time.sleep(1)
|
H A D | t_pkg_freeze.py | 35 import time namespace 256 time.sleep(1)
|
H A D | t_pkg_verify.py | 36 import time namespace 205 ctime = time.time() - 1240
|
H A D | t_pkg_nasty.py | 39 import time namespace 399 time.sleep(0.25)
|
H A D | t_fix.py | 38 import time namespace 207 time.sleep(1) 314 ctime = time.time() - 1000 573 # Run it one more time to ensure that the manifest on disk
|
H A D | t_pkg_history.py | 39 import time namespace 86 time.sleep(1) 104 self.pkg("history -t 'this is not a time-stamp'", exit=1) 106 self.pkg("history -o time,command -l", exit=2) 107 self.pkg("history -o time,time", exit=2) 109 self.pkg("history -o time,command,finish", exit=2) 110 self.pkg("history -o time,reason,finish", exit=2) 358 "outcome", "reason", "snapshot", "start", "time", "user"] 545 long time""" [all...] |
H A D | t_pkgmerge.py | 39 import time namespace 267 time.sleep(1) 276 time.sleep(1) 284 time.sleep(1) 286 # Everything above again, but this time using the debug version 298 time.sleep(1) 302 time.sleep(1) 310 time.sleep(1) 314 time.sleep(1) 316 time [all...] |
/pkg/src/modules/client/ |
H A D | printengine.py | 38 import time namespace 322 time.sleep(0.050) 325 time.sleep(0.050) 329 time.sleep(0.500) 331 time.sleep(0.500) 333 time.sleep(0.500) 335 time.sleep(0.500) 337 time.sleep(0.500)
|
/pkg/src/modules/server/ |
H A D | feed.py | 31 a given time period.""" 39 import time namespace 64 return datetime.datetime(*time.strptime(ts_str, RFC3339_FMT)[0:6]) 86 time. 342 # Get the feed element and attempt to get the time we last
|