/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_time.py | 2 import time 10 self.t = time.time() 13 time.altzone 14 time.daylight 15 time.timezone 16 time.tzname 19 time.clock() 22 self.assertTrue(time.ctime(self.t) 23 == time.asctime(time.localtime(self.t))) 24 self.assertTrue(long(time.mktime(time.localtime(self.t))) [all …]
|
D | time_hashlib.py | 4 import sys, time 16 start = time.time() 19 end = time.time() 24 start = time.time() 27 end = time.time() 32 start = time.time() 35 end = time.time()
|
D | test_strptime.py | 4 import time 28 self.time_tuple = time.localtime() 37 strftime_output = time.strftime(directive, self.time_tuple).lower() 63 strftime_output = time.strftime("%p", self.time_tuple).lower() 73 timezone = time.strftime("%Z", self.time_tuple).lower() 88 strftime_output = time.strftime("%c", magic_date) 89 self.assertTrue(strftime_output == time.strftime(self.LT_ins.LC_date_time, 92 strftime_output = time.strftime("%x", magic_date) 93 self.assertTrue(strftime_output == time.strftime(self.LT_ins.LC_date, 96 strftime_output = time.strftime("%X", magic_date) [all …]
|
D | test_zipfile64.py | 21 import time 54 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 58 if next_time <= time.time(): 59 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 71 if next_time <= time.time(): 72 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
|
D | test_epoll.py | 26 import time 155 now = time.time() 157 then = time.time() 168 now = time.time() 170 then = time.time() 176 now = time.time() 178 then = time.time() 190 now = time.time() 192 then = time.time() 209 now = time.time() [all …]
|
D | test_structseq.py | 4 import time 9 t = time.gmtime() 30 t = time.gmtime() 32 t = time.gmtime(0) 38 t1 = time.gmtime() 44 t1 = time.gmtime() 51 t1 = time.gmtime() 57 t1 = time.gmtime() 61 t1 = time.gmtime() 71 t = time.gmtime() [all …]
|
D | test_timeout.py | 9 import time 121 _t1 = time.time() 123 _t2 = time.time() 138 _t1 = time.time() 140 _t2 = time.time() 155 _t1 = time.time() 157 _t2 = time.time() 172 _t1 = time.time() 174 _t2 = time.time()
|
D | test_strftime.py | 9 import time 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 48 else: self.tz = time.tzname[0] 67 now = time.time() 85 print "strftime test for", time.ctime(now) 119 result = time.strftime(e[0], now) 137 ('%c', fixasctime(time.asctime(now)), 'near-asctime() format'), [all …]
|
D | test_signal.py | 10 import sys, os, time, errno 98 time.sleep(1) # Give the signal time to be delivered. 111 time.sleep(1) # Give the signal time to be delivered. 131 time.sleep(1) 239 before_time = time.time() 242 time.sleep(self.TIMEOUT_FULL) 243 mid_time = time.time() 246 after_time = time.time() 253 before_time = time.time() 257 after_time = time.time() [all …]
|
D | fork_wait.py | 15 import os, sys, time, unittest 33 time.sleep(SHORTSLEEP) 44 time.sleep(2 * SHORTSLEEP) 53 time.sleep(LONGSLEEP) 68 time.sleep(LONGSLEEP) 79 time.sleep(2*SHORTSLEEP) # Wait for threads to die
|
D | test_bsddb3.py | 8 import time 45 next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL 49 now = time.time()
|
/device/google/cuttlefish/guest/hals/hwcomposer/common/ |
D | stats_keeper.h | 33 CompositionData(cvd::time::MonotonicTimePoint time_point, int num_prepares, in CompositionData() 35 cvd::time::Nanoseconds prepare_time, in CompositionData() 36 cvd::time::Nanoseconds set_calls_time) in CompositionData() 44 cvd::time::MonotonicTimePoint time_point() const { return time_point_; } in time_point() 52 cvd::time::Nanoseconds prepare_time() const { return prepare_time_; } in prepare_time() 54 cvd::time::Nanoseconds set_calls_time() const { return set_calls_time_; } in set_calls_time() 57 cvd::time::MonotonicTimePoint time_point_; 61 cvd::time::Nanoseconds prepare_time_; 62 cvd::time::Nanoseconds set_calls_time_; 66 cvd::time::MonotonicTimePoint prepare_start; [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
D | throughput.py | 15 import sys, time 72 t1 = time.time() 74 t2 = time.time() 76 t3 = time.time() 82 t4 = time.time() 84 t5 = time.time()
|
D | unicast.py | 5 import sys, time 12 data = repr(time.time()) + '\n' 14 time.sleep(2)
|
D | broadcast.py | 5 import sys, time 13 data = repr(time.time()) + '\n' 15 time.sleep(2)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | Range.py | 67 import time, __builtin__ 77 t1 = time.time() 80 t2 = time.time() 83 t3 = time.time() 86 t4 = time.time()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
D | script.py | 10 import os, time, sys, getopt 39 script.write('Script started on %s\n' % time.ctime(time.time())) 41 script.write('Script done on %s\n' % time.ctime(time.time()))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
D | clockres.py | 10 import time 16 wallclock = time.time 37 print 'time.clock: %10.3fus' % (clockres(time.clock) * 1e6) 38 print 'time.time: %10.3fus' % (clockres(time.time) * 1e6)
|
D | systimes.py | 34 import time, sys 86 start = time.clock() 87 time.sleep(0.1) 88 stop = time.clock() 104 return (time.clock(), 0.0) 107 return (time.clock(), 0.0) 110 return (time.time(), 0.0) 200 time.sleep(1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | sumtree.py | 1 import time 5 t1 = time.time() 10 t2 = time.time()
|
D | cmptree.py | 6 import time 29 t1 = time.time() 35 t2 = time.time() 142 t1 = time.time() 147 t2 = time.time() 177 t1 = time.time() 194 t2 = time.time()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | sched.py | 46 def enterabs(self, time, priority, action, argument): argument 53 event = Event(time, priority, action, argument) 63 time = self.timefunc() + delay 64 return self.enterabs(time, priority, action, argument) 108 time, priority, action, argument = checked_event = q[0] 110 if now < time: 111 delayfunc(time - now)
|
D | _strptime.py | 13 import time 111 time_tuple = time.struct_time((1999,3,17,hour,44,55,2,76,0)) 112 am_pm.append(time.strftime("%p", time_tuple).lower()) 123 time_tuple = time.struct_time((1999,3,17,22,44,55,2,76,0)) 125 date_time[0] = time.strftime("%c", time_tuple).lower() 126 date_time[1] = time.strftime("%x", time_tuple).lower() 127 date_time[2] = time.strftime("%X", time_tuple).lower() 150 time_tuple = time.struct_time((1999,1,3,1,1,1,6,3,0)) 151 if '00' in time.strftime(directive, time_tuple): 165 time.tzset() [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | timer.cpp | 22 struct timespec time = { 0, 0 }; in now() local 23 clock_gettime(CLOCK_MONOTONIC, &time); in now() 24 return static_cast<uint64_t>(time.tv_sec) * 1000u + in now() 25 static_cast<uint64_t>(time.tv_nsec / 1000000u); in now()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | utils.py | 25 import time 143 timeval = time.time() 145 now = time.localtime(timeval) 148 if time.daylight and now[-1]: 149 offset = time.altzone 151 offset = time.timezone 161 now = time.gmtime(timeval) 185 timeval = time.time() 186 utcdate = time.strftime('%Y%m%d%H%M%S', time.gmtime(timeval))
|