/external/mdnsresponder/mDNSCore/ |
D | mDNS.c | 679 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime() 681 …xt in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(… in SetNextAnnounceProbeTime() 682 …ssProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); in SetNextAnnounceProbeTime() 690 if (m->NextScheduledProbe - m->timenow < 0) in SetNextAnnounceProbeTime() 691 m->NextScheduledProbe = m->timenow; in SetNextAnnounceProbeTime() 719 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) in InitializeLastAPTime() 727 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime() 732 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessively i… in InitializeLastAPTime() 733 m->SuppressProbes = m->timenow; in InitializeLastAPTime() 738 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessively i… in InitializeLastAPTime() [all …]
|
D | uDNS.c | 63 rr->LastAPTime = m->timenow; in SetRecordRetry() 67 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry() 77 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 83 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 151 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL; in mDNS_AddDNSServer() 207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer() 244 q->LastQTime = m->timenow - q->ThisQInterval; in PenalizeDNSServer() 314 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p)) in GetAuthInfoForName_internal() 461 n->retryPortMap = m->timenow; in RecreateNATMappings() 467 m->NextScheduledNATOp = m->timenow; // Need to send packets immediately in RecreateNATMappings() [all …]
|
D | DNSCommon.c | 2150 rr->TimeRcvd = m ? m->timenow : 0; in GetLargeResourceRecord() 2152 …rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call Set… in GetLargeResourceRecord() 2153 rr->LastUsed = m ? m->timenow : 0; in GetLargeResourceRecord() 2685 if (m->timenow) in mDNS_Lock_() 2686 …LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_N… in mDNS_Lock_() 2687 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 2688 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() 2690 else if (m->timenow == 0) in mDNS_Lock_() 2693 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_() 2694 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_() [all …]
|
D | mDNSEmbeddedAPI.h | 1810 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member
|
/external/chromium_org/third_party/webrtc/base/ |
D | cpumonitor.cc | 166 uint32 timenow = Time(); in GetSystemLoad() local 167 int elapsed = static_cast<int>(TimeDiff(timenow, system_.prev_load_time_)); in GetSystemLoad() 278 system_.prev_load_time_ = timenow; in GetSystemLoad() 287 uint32 timenow = Time(); in GetProcessLoad() local 288 int elapsed = static_cast<int>(TimeDiff(timenow, process_.prev_load_time_)); in GetProcessLoad() 362 process_.prev_load_time_ = timenow; in GetProcessLoad()
|
/external/openssl/ssl/ |
D | d1_lib.c | 334 struct timeval timenow; in dtls1_get_timeout() local 343 get_current_time(&timenow); in dtls1_get_timeout() 346 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || in dtls1_get_timeout() 347 (s->d1->next_timeout.tv_sec == timenow.tv_sec && in dtls1_get_timeout() 348 s->d1->next_timeout.tv_usec <= timenow.tv_usec)) in dtls1_get_timeout() 356 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 357 timeleft->tv_usec -= timenow.tv_usec; in dtls1_get_timeout()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | d1_lib.c | 344 OPENSSL_timeval timenow; in dtls1_get_timeout() local 353 get_current_time(&timenow); in dtls1_get_timeout() 356 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || in dtls1_get_timeout() 357 (s->d1->next_timeout.tv_sec == timenow.tv_sec && in dtls1_get_timeout() 358 s->d1->next_timeout.tv_usec <= timenow.tv_usec)) in dtls1_get_timeout() 366 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 367 timeleft->tv_usec -= timenow.tv_usec; in dtls1_get_timeout()
|
/external/ppp/pppd/ |
D | main.c | 1248 static struct timeval timenow; /* Current time */ variable 1268 gettimeofday(&timenow, NULL); 1269 newp->c_time.tv_sec = timenow.tv_sec + secs; 1270 newp->c_time.tv_usec = timenow.tv_usec + usecs; 1322 if (gettimeofday(&timenow, NULL) < 0) in calltimeout() 1324 if (!(p->c_time.tv_sec < timenow.tv_sec in calltimeout() 1325 || (p->c_time.tv_sec == timenow.tv_sec in calltimeout() 1326 && p->c_time.tv_usec <= timenow.tv_usec))) in calltimeout() 1347 gettimeofday(&timenow, NULL); 1348 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec; [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | PlatformCommon.c | 164 …mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_No… in mDNSPlatformWriteLogMsg()
|
D | dnsextd.c | 2846 struct timeval timenow, timeout, EventTS, tablecheck = { 0, 0 }; in Run() local 2867 if (gettimeofday(&timenow, NULL)) { LogErr("Run", "gettimeofday"); return -1; } in Run() 2871 …if (timenow.tv_sec - EventTS.tv_sec >= 5) // if we've been waiting 5 seconds for a "quie… in Run() 2878 if (tablecheck.tv_sec && timenow.tv_sec - tablecheck.tv_sec >= 0) in Run() 2880 if (!tablecheck.tv_sec) tablecheck.tv_sec = timenow.tv_sec + EXPIRATION_INTERVAL; in Run() 2881 timeout.tv_sec = tablecheck.tv_sec - timenow.tv_sec; in Run()
|
D | uds_daemon.c | 2744 if ((m->timenow - question->StopTime) >= 0) in queryrecord_result_callback()
|
/external/openssl/crypto/bio/ |
D | bss_dgram.c | 273 struct timeval timenow, timeleft; in dgram_adjust_rcv_timeout() local 298 get_current_time(&timenow); in dgram_adjust_rcv_timeout() 302 timeleft.tv_sec -= timenow.tv_sec; in dgram_adjust_rcv_timeout() 303 timeleft.tv_usec -= timenow.tv_usec; in dgram_adjust_rcv_timeout()
|
/external/mdnsresponder/mDNSPosix/ |
D | NetMonitor.c | 306 entry->LastQuery = m->timenow; in SendUnicastQuery() 332 if (entry->NumQueries && m->timenow - entry->LastQuery < mDNSPlatformOneSecond) return; in AnalyseHost()
|