/external/valgrind/helgrind/tests/ |
H A D | cond_timedwait_test.c | 9 struct timespec now; local 10 memset(&now, 0, sizeof(now)); 13 pthread_cond_timedwait(&cond, &mutex, &now);
|
/external/llvm/unittests/Support/ |
H A D | TimeValueTest.cpp | 18 sys::TimeValue now = sys::TimeValue::now(); local 20 EXPECT_TRUE(std::abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/external/blktrace/btt/ |
H A D | trace.c | 25 time_t now = time(NULL); local 30 if (verbose && ((now - last_vtrace) > 0)) { 34 last_vtrace = now;
|
H A D | plat.c | 69 double now = TO_SEC(ts); local 76 pp->first_ts = pp->last_ts = now; 79 } else if ((now - pp->first_ts) >= plat_freq) { 85 pp->first_ts = pp->last_ts = now; 89 pp->last_ts = now;
|
/external/ipsec-tools/src/racoon/ |
H A D | throttle.c | 99 time_t now; local 104 now = time(NULL); 111 if (te->penalty < now) { 146 remaining = te->penalty - now; 152 te->penalty = now + new;
|
/external/jmdns/src/javax/jmdns/impl/ |
H A D | DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
|
/external/lldb/test/expression_command/timeout/ |
H A D | wait-a-while.c | 22 struct timeval now; local 23 gettimeofday(&now, NULL); 24 interval = target - now.tv_sec * 1000000 + now.tv_usec;
|
/external/toybox/toys/other/ |
H A D | uptime.c | 27 struct tm * now; local 35 now = localtime(&tmptime); 43 xprintf(" %02d:%02d:%02d up ", now->tm_hour, now->tm_min, now->tm_sec);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 83 Timestamp t = new Timestamp(now, cpath); 84 assertEquals(now, t.getTimestamp()); 85 assertNotSame(now, t.getTimestamp()); 92 new Timestamp(now, cpath).toString();
|
H A D | CodeSignerTest.java | 40 private Date now = new Date(); field in class:CodeSignerTest 42 private Timestamp ts = new Timestamp(now, cpath);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
H A D | CodeSigner_ImplTest.java | 39 private Date now = new Date(); field in class:CodeSigner_ImplTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
H A D | Timestamp_ImplTest.java | 39 private Date now = new Date(); field in class:Timestamp_ImplTest 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | progress.c | 70 time_t now; local 76 now = time(0); 77 if (now == last_update) 79 last_update = now;
|
/external/iptables/iptables/ |
H A D | ip6tables-save.c | 78 time_t now = time(NULL); local 81 IPTABLES_VERSION, ctime(&now)); 114 now = time(NULL); 116 printf("# Completed on %s", ctime(&now));
|
H A D | iptables-save.c | 76 time_t now = time(NULL); local 79 IPTABLES_VERSION, ctime(&now)); 112 now = time(NULL); 114 printf("# Completed on %s", ctime(&now));
|
/external/libpcap/msdos/ |
H A D | bin2c.c | 19 time_t now = time (NULL);
local 31 argv[1], ctime(&now));
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | debug.c | 92 time_t now; local 100 now = (time_t) tv.tv_sec; 102 lt = localtime(&now);
|
/external/v8/src/base/platform/ |
H A D | condition-variable.cc | 93 Time now = Time::FromTimespec(ts); local 96 Time now = Time::NowFromSystemTime(); local 98 Time end_time = now + rel_time; 99 DCHECK_GE(end_time, now); 293 TimeTicks now = TimeTicks::Now(); 294 TimeTicks end = now + rel_time; 297 int64_t msec = (end - now).InMilliseconds(); 303 now = TimeTicks::Now();
|
H A D | semaphore.cc | 55 TimeTicks now = TimeTicks::Now(); local 56 TimeTicks end = now + rel_time; 59 if (now >= end) { 64 ts = (end - now).ToMachTimespec(); 70 now = TimeTicks::Now(); 179 TimeTicks now = TimeTicks::Now(); 180 TimeTicks end = now + rel_time; 182 int64_t msec = (end - now).InMilliseconds(); 189 now = TimeTicks::Now();
|
/external/vboot_reference/firmware/2lib/ |
H A D | 2secdata.c | 55 /* Read this now to make sure crossystem has it even in rec mode. */ 92 uint32_t now; local 98 if (vb2_secdata_get(ctx, param, &now) == VB2_SUCCESS && now == value)
|
/external/vboot_reference/host/lib/ |
H A D | extract_vmlinuz.c | 16 uint64_t now = 0; local 27 now += keyblock->key_block_size; 28 if (now > kpart_size) 31 preamble = (VbKernelPreambleHeader *)(kpart_data + now); 32 now += preamble->preamble_size; 33 if (now > kpart_size) 36 kblob_data = kpart_data + now; 39 if (!kblob_data || (now + kblob_size) > kpart_size)
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | tkip_countermeasures.c | 71 struct os_reltime now; local 92 os_get_reltime(&now); 93 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 102 hapd->michael_mic_failure = now;
|
/external/wpa_supplicant_8/src/ap/ |
H A D | tkip_countermeasures.c | 71 struct os_reltime now; local 92 os_get_reltime(&now); 93 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 102 hapd->michael_mic_failure = now;
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | tkip_countermeasures.c | 71 struct os_reltime now; local 92 os_get_reltime(&now); 93 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 102 hapd->michael_mic_failure = now;
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
H A D | DNSTask.java | 137 * @param now 141 public DNSOutgoing addAnswer(DNSOutgoing out, DNSRecord rec, long now) throws IOException { argument 144 newOut.addAnswer(rec, now); 156 newOut.addAnswer(rec, now);
|