/external/jmdns/src/javax/jmdns/impl/tasks/resolver/ |
ServiceInfoResolver.java | 64 long now = System.currentTimeMillis(); local 65 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_SRV, DNSRecordClass.CLASS_IN), now); 66 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_TXT, DNSRecordClass.CLASS_IN), now); 68 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_A, DNSRecordClass.CLASS_IN), now); 69 newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_IN), now);
|
ServiceResolver.java | 48 long now = System.currentTimeMillis(); local 50 newOut = this.addAnswer(newOut, new DNSRecord.Pointer(info.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getQualifiedName()), now); 52 // this.getDns().getLocalHost().getName()), now);
|
TypeResolver.java | 50 long now = System.currentTimeMillis(); local 53 newOut = this.addAnswer(newOut, new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()), now);
|
/external/libchrome/base/synchronization/ |
condition_variable_posix.cc | 96 struct timeval now; local 97 gettimeofday(&now, NULL); 98 absolute_time.tv_sec = now.tv_sec; 99 absolute_time.tv_nsec = now.tv_usec * Time::kNanosecondsPerMicrosecond; 101 struct timespec now; local 102 clock_gettime(CLOCK_MONOTONIC, &now); 103 absolute_time.tv_sec = now.tv_sec; 104 absolute_time.tv_nsec = now.tv_nsec; 111 DCHECK_GE(absolute_time.tv_sec, now.tv_sec); // Overflow paranoia
|
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
tm-syscall.c | 67 struct timeval end, now; local 76 now.tv_sec = TEST_DURATION; 77 now.tv_usec = 0; 78 timeradd(&end, &now, &end); 80 for (count = 0; timercmp(&now, &end, <); count++) { 94 gettimeofday(&now, 0);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/ |
helper.c | 94 struct tm *now; local 167 now = localtime(&nw); 168 if (now == NULL) 171 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, 172 now->tm_sec);
|
/external/ltp/tools/pounder21/src/time_tests/ |
inconsistency-check.c | 49 long now, then; local 62 now = then = list[0].tv_sec; 66 while (seconds == -1 || now - then < seconds) { 99 now = list[0].tv_sec;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
debug.c | 92 time_t now; local 100 now = (time_t) tv.tv_sec; 102 lt = localtime(&now);
|
/external/skia/tests/ |
PDFMetadataAttributeTest.cpp | 14 SkTime::DateTime now; local 15 SkTime::GetDateTime(&now); 23 metadata.fCreation.fDateTime = now; 25 metadata.fModified.fDateTime = now;
|
/external/skqp/tests/ |
PDFMetadataAttributeTest.cpp | 14 SkTime::DateTime now; local 15 SkTime::GetDateTime(&now); 23 metadata.fCreation.fDateTime = now; 25 metadata.fModified.fDateTime = now;
|
/external/syslinux/gpxe/src/net/ |
retry.c | 101 unsigned long now = currticks(); local 109 runtime = ( now - timer->start ); 112 timer, now, runtime ); 178 unsigned long now = currticks(); local 182 used = ( now - timer->start );
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
google_auth_provider_test.cc | 33 uint64 NowSeconds() override { return now; } 34 uint64 now = 10000; member in class:tensorflow::__anon40078::FakeEnv 109 env.now += 3000; 114 env.now += 598; // 2 seconds before expiration 183 env.now += 3700; 188 env.now += 598; // 2 seconds before expiration
|
/external/testng/src/test/java/test/tmp/ |
TimeBombTest.java | 15 long now = Calendar.getInstance().getTimeInMillis(); local 17 ppp("IGNORE:" + (now < l));
|
/external/v8/src/base/platform/ |
condition-variable.cc | 100 Time now = Time::FromTimespec(ts); local 103 Time now = Time::NowFromSystemTime(); local 105 Time end_time = now + rel_time; 106 DCHECK_GE(end_time, now); 300 TimeTicks now = TimeTicks::Now(); 301 TimeTicks end = now + rel_time; 304 int64_t msec = (end - now).InMilliseconds(); 310 now = TimeTicks::Now(); [all...] |
semaphore.cc | 54 TimeTicks now = TimeTicks::Now(); local 55 TimeTicks end = now + rel_time; 58 if (now >= end) { 63 ts = (end - now).ToMachTimespec(); 69 now = TimeTicks::Now(); 166 TimeTicks now = TimeTicks::Now(); 167 TimeTicks end = now + rel_time [all...] |
/external/v8/src/ |
counters-inl.h | 22 base::TimeTicks now = Now(); local 23 if (parent) parent->Pause(now); 24 Resume(now); 28 void RuntimeCallTimer::Pause(base::TimeTicks now) { 30 elapsed_ += (now - start_ticks_); 34 void RuntimeCallTimer::Resume(base::TimeTicks now) { 36 start_ticks_ = now; 41 base::TimeTicks now = Now(); [all...] |
/external/webrtc/webrtc/base/ |
rtccertificate_unittests.cc | 93 uint64_t now = NowSeconds(); local 94 EXPECT_FALSE(HasExpiredSeconds(certificate, now)); 97 EXPECT_FALSE(HasExpiredSeconds(certificate, now + 30*60)); 101 uint64_t now = NowSeconds(); local 103 GenerateCertificateWithExpires(now); 104 EXPECT_EQ(now, ExpiresSeconds(certificate)); 109 uint64_t now = NowSeconds(); local 111 GenerateCertificateWithExpires(now + 1); 112 // Now it should not have expired. 113 EXPECT_FALSE(HasExpiredSeconds(certificate, now)); [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
tick_util.cc | 18 return TicksToMilliseconds(TickTime::Now().Ticks()); 22 return TicksToMicroseconds(TickTime::Now().Ticks()); 93 DWORD now = timeGetTime(); local 95 DWORD old = InterlockedExchange(last_time_get_time_ptr, now); 96 if (now < old) { 97 // If now is earlier than old, there may have been a race between 101 if (old > 0xf0000000 && now < 0x0fffffff) { 106 return now + (num_wrap_time_get_time << 32);
|
/external/webrtc/webrtc/video/ |
vie_remb.cc | 115 int64_t now = clock_->TimeInMilliseconds(); local 117 if (now - last_remb_time_ < kRembSendIntervalMs) { 121 last_remb_time_ = now;
|
/external/webrtc/webrtc/voice_engine/ |
monitor_module.cc | 58 int64_t now = TickTime::MillisecondTimestamp(); local 60 return kAverageProcessUpdateTimeMs - (now - _lastProcessTime);
|
/frameworks/base/cmds/incidentd/src/ |
Throttler.cpp | 36 int64_t now = android::elapsedRealtime(); local 37 if (now > mRefractoryPeriodMs + mLastRefractoryMs) { 38 mLastRefractoryMs = now;
|
/frameworks/base/core/java/android/content/ |
SyncContext.java | 55 final long now = SystemClock.elapsedRealtime(); local 56 if (now < mLastHeartbeatSendTime + HEARTBEAT_SEND_INTERVAL_IN_MS) return; 58 mLastHeartbeatSendTime = now;
|
/frameworks/base/core/java/android/os/ |
ConditionVariable.java | 124 long now = System.currentTimeMillis(); local 125 long end = now + timeout; 126 while (!mCondition && now < end) { 128 this.wait(end-now); 132 now = System.currentTimeMillis();
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 40 long now = System.currentTimeMillis(); local 48 Long.toString(now - (5 * 24 * 60 * 60 * 1000)), 49 Long.toString(now - (2 * 24 * 60 * 60 * 1000)), 50 Long.toString(now - (5 * 60 * 60 * 1000)), 51 Long.toString(now - (30 * 60 * 1000)), 52 Long.toString(now - (5 * 60 * 1000)), 53 Long.toString(now)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowViewTest.java | 63 long now = SystemClock.elapsedRealtime(); local 64 MotionEvent ev = MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 0 /* x */, 0 /* y */,
|