/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 26 import time namespace 156 now = time.time() 158 then = time.time() 169 now = time.time() 171 then = time.time() 177 now = time.time( [all...] |
test_old_mailbox.py | 6 import time namespace 45 t = int(time.time() % 1000000)
|
test_ossaudiodev.py | 11 import time namespace 74 # Compute expected running time of sound sample (in seconds). 80 t1 = time.time() 83 t2 = time.time() 88 "elapsed time > 10% off of expected time")
|
test_strftime.py | 2 Unittest for time.strftime 9 import time namespace 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() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 25 import time namespace 37 Time = datetime.time 42 return Date(*time.localtime(ticks)[:3]) 45 return Time(*time.localtime(ticks)[3:6]) 48 return Timestamp(*time.localtime(ticks)[:6])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dircache.py | 9 import os, time, sys, tempfile namespace 51 # time it examined a directory. 52 time.sleep(1)
|
test_epoll.py | 26 import time namespace 156 now = time.time() 158 then = time.time() 169 now = time.time() 171 then = time.time() 177 now = time.time( [all...] |
test_old_mailbox.py | 6 import time namespace 45 t = int(time.time() % 1000000)
|
test_ossaudiodev.py | 11 import time namespace 74 # Compute expected running time of sound sample (in seconds). 80 t1 = time.time() 83 t2 = time.time() 88 "elapsed time > 10% off of expected time")
|
test_strftime.py | 2 Unittest for time.strftime 9 import time namespace 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() [all...] |
/system/security/keystore/tests/ |
auth_token_table_test.cpp | 96 // Tests obviously run so fast that a real-time clock with a one-second granularity rarely changes 97 // output during a test run. This test clock "ticks" one second every time it's called. 99 static time_t time = 0; local 100 return time++; 277 // monotonic_clock "ticks" one second each time it's called, which is once per request, so the
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
mce.h | 14 *** Any manual change here will be lost the next time this script will 32 __u64 time; member in struct:mce
|
/build/tools/releasetools/ |
test_common.py | 18 import time namespace 98 time.sleep(5) # Make sure the atime/mtime will change measurably. 121 time.sleep(5) # Make sure the atime/mtime will change measurably. 167 time.sleep(5) # Make sure the atime/mtime will change measurably.
|
/cts/apps/CameraITS/pymodules/its/ |
objects.py | 21 import time namespace 82 exp_time: The exposure time, in nanoseconds, to populate the request
|
/cts/suite/audio_quality/test_description/processing/ |
calc_delay.py | 50 print "***Caluclating delay, may take some time***" 69 time = index / samplingRate variable
|
/cts/tests/tests/os/src/android/os/cts/ |
ConditionVariableTest.java | 45 long time = System.currentTimeMillis(); local 47 assertTrue(System.currentTimeMillis() - time < TOLERANCE_MS); 51 time = System.currentTimeMillis(); 53 assertTrue(System.currentTimeMillis() - time >= BLOCK_TIME); 56 time = System.currentTimeMillis(); 71 long timeDelta = System.currentTimeMillis() - time; 75 time = System.currentTimeMillis();
|
/development/ndk/platforms/android-21/arch-x86/include/asm/ |
mce.h | 14 *** Any manual change here will be lost the next time this script will 32 __u64 time; member in struct:mce
|
/development/ndk/platforms/android-21/arch-x86_64/include/asm/ |
mce.h | 14 *** Any manual change here will be lost the next time this script will 32 __u64 time; member in struct:mce
|
/external/boringssl/src/ssl/ |
d1_lib.c | 67 #include <sys/time.h> 165 /* Set timeout to current time */ 168 /* Add duration to current time */ 184 /* Get current time */ 188 /* If timer already expired, set remaining time to 0 */ 196 /* Calculate time left until timer expires */ 205 /* If remaining time is less than 15 ms, set it to 0 to prevent issues 217 /* Get time left until timeout, return false if no timer running */ 299 struct _timeb time; local 300 _ftime(&time); [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
digest.py | 25 caution (or better yet, report security holes). At this time, this 38 import time, random namespace 86 content = "%s:%s" % (time.time(), random.random()) 91 content = "%s:%s" % (time.time(), random.random())
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
profile.py | 16 import time namespace 77 stats.sort_stats('time', 'calls') 119 ``('time', 'calls')``. 168 start_time = time.time() 173 end_time = time.time() 180 stats.sort_stats(*ops.get('sort_stats', ('time', 'calls'))) 193 f.write('Date: %s\n' % time.strftime('%c')) 196 f.write('Wall time: %0.2f seconds\n [all...] |
watchthreads.py | 7 import time namespace 102 <td>Time processing request</td> 206 now = time.time() 338 time.sleep(pause) 343 time.sleep(10)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
fileapp.py | 8 files. At this time it has cache helpers and understands the 12 import os, time, mimetypes, zipfile, tarfile namespace 85 self.last_modified = time.time() 90 LAST_MODIFIED.update(self.headers, time=self.last_modified) 203 LAST_MODIFIED.update(self.headers, time=self.last_modified) 321 self.last_modified = time.time() 352 time.mktime(info.date_time + (0,0,0)))
|
progress.py | 34 import time namespace 97 This is the amount of time (in seconds) that a upload 105 upload being currently monitored, or finished but whose time 119 This is the time (in seconds) when the request was started 120 as obtained from ``time.time()``. One would want to format 125 This is the time (in seconds) when the request was finished, 144 environ[REQUEST_STARTED] = time.time() 149 environ[REQUEST_FINISHED] = time.time( [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
test_fileapp.py | 4 import time namespace 21 # case letters changes when locale.setlocale() is called for the first time 43 assert mktime_tz(parsedate_tz(res.header('expires'))) < time.time() 46 assert mktime_tz(parsedate_tz(res.header('expires'))) < time.time() 50 assert expires > time.time()+58 and expires < time.time()+6 [all...] |