Searched refs:lasttime (Results 1 – 5 of 5) sorted by relevance
/external/cronet/third_party/libevent/sample/ |
D | time-test.c | 30 int lasttime; variable 40 newtime - lasttime); in timeout_cb() 41 lasttime = newtime; in timeout_cb() 64 lasttime = time(NULL); in main()
|
/external/libevent/sample/ |
D | time-test.c | 38 struct timeval lasttime; variable 50 evutil_timersub(&newtime, &lasttime, &difference); in timeout_cb() 56 lasttime = newtime; in timeout_cb() 101 evutil_gettimeofday(&lasttime, NULL); in main()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_spin_lock.c | 34 unsigned long long lasttime; member 84 q->credit += CREDIT_PER_NS(curtime - q->lasttime, q->rate); in bpf_sping_lock_test() 85 q->lasttime = curtime; in bpf_sping_lock_test()
|
/external/ppp/pppd/ |
D | tty.c | 988 struct timeval lasttime; local 1085 gettimeofday(&lasttime, NULL); 1087 putc(lasttime.tv_sec >> 24, recordf); 1088 putc(lasttime.tv_sec >> 16, recordf); 1089 putc(lasttime.tv_sec >> 8, recordf); 1090 putc(lasttime.tv_sec, recordf); 1091 lasttime.tv_usec = 0; 1148 if (!record_write(recordf, 4, NULL, 0, &lasttime)) 1153 if (!record_write(recordf, 2, ibufp, nibuf, &lasttime)) 1175 if (!record_write(recordf, 3, NULL, 0, &lasttime)) [all …]
|
/external/python/cpython2/Lib/plat-mac/ |
D | pimp.py | 162 lasttime = 0 169 if int(time.time()) != lasttime: 171 lasttime = int(time.time())
|