Searched defs:now (Results 1 - 25 of 338) sorted by relevance

1234567891011>>

/external/valgrind/helgrind/tests/
H A Dcond_timedwait_test.c9 struct timespec now; local
10 memset(&now, 0, sizeof(now));
13 pthread_cond_timedwait(&cond, &mutex, &now);
/external/llvm/unittests/Support/
H A DTimeValueTest.cpp18 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 Dtrace.c25 time_t now = time(NULL); local
30 if (verbose && ((now - last_vtrace) > 0)) {
34 last_vtrace = now;
H A Dplat.c69 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 Dthrottle.c99 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 DDNSListener.java22 * @param now
27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
/external/lldb/test/expression_command/timeout/
H A Dwait-a-while.c22 struct timeval now; local
23 gettimeofday(&now, NULL);
24 interval = target - now.tv_sec * 1000000 + now.tv_usec;
/external/toybox/toys/other/
H A Duptime.c27 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 DTimestampTest.java39 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 DCodeSignerTest.java40 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 DCodeSigner_ImplTest.java39 private Date now = new Date(); field in class:CodeSigner_ImplTest
41 private Timestamp ts = new Timestamp(now, cpath);
H A DTimestamp_ImplTest.java39 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 Dprogress.c70 time_t now; local
76 now = time(0);
77 if (now == last_update)
79 last_update = now;
/external/iptables/iptables/
H A Dip6tables-save.c78 time_t now = time(NULL); local
81 IPTABLES_VERSION, ctime(&now));
114 now = time(NULL);
116 printf("# Completed on %s", ctime(&now));
H A Diptables-save.c76 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 Dbin2c.c19 time_t now = time (NULL); local
31 argv[1], ctime(&now));
/external/ppp/pppd/plugins/rp-pppoe/
H A Ddebug.c92 time_t now; local
100 now = (time_t) tv.tv_sec;
102 lt = localtime(&now);
/external/v8/src/base/platform/
H A Dcondition-variable.cc93 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 Dsemaphore.cc55 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 D2secdata.c55 /* 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 Dextract_vmlinuz.c16 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 Dtkip_countermeasures.c71 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 Dtkip_countermeasures.c71 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 Dtkip_countermeasures.c71 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 DDNSTask.java137 * @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);

Completed in 708 milliseconds

1234567891011>>