Searched refs:timenow (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
H A Dcpumonitor.cc166 uint32 timenow = Time(); local
167 int elapsed = static_cast<int>(TimeDiff(timenow, system_.prev_load_time_));
278 system_.prev_load_time_ = timenow;
287 uint32 timenow = Time(); local
288 int elapsed = static_cast<int>(TimeDiff(timenow, process_.prev_load_time_));
362 process_.prev_load_time_ = timenow;
/external/mdnsresponder/mDNSCore/
H A DmDNS.c679 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10)
681 LogMsg("SetNextAnnounceProbeTime: ProbeCount %d Next in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(m, rr));
682 LogMsg("SetNextAnnounceProbeTime: m->SuppressProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow);
690 if (m->NextScheduledProbe - m->timenow < 0)
691 m->NextScheduledProbe = m->timenow;
719 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0)
727 m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(DefaultProbeIntervalForTypeUnique/2));
732 if (m->SuppressProbes - m->timenow <
10615 mDNSs32 timenow; local
[all...]
H A DuDNS.c63 rr->LastAPTime = m->timenow;
67 mDNSs32 remaining = rr->expire - m->timenow;
77 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr));
83 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr));
151 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL;
207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME);
244 q->LastQTime = m->timenow - q->ThisQInterval;
314 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p))
461 n->retryPortMap = m->timenow;
467 m->NextScheduledNATOp = m->timenow; // Nee
[all...]
H A DDNSCommon.c2150 rr->TimeRcvd = m ? m->timenow : 0;
2152 rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call SetNextCacheCheckTimeForRecord()
2153 rr->LastUsed = m ? m->timenow : 0;
2681 // If this is an initial entry into the mDNSCore code, set m->timenow
2682 // else, if this is a re-entrant entry into the mDNSCore code, m->timenow should already be set
2685 if (m->timenow)
2686 LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_NoLock(m));
2687 m->timenow = mDNS_TimeNow_NoLock(m);
2688 if (m->timenow
[all...]
H A DmDNSEmbeddedAPI.h991 // if m->timenow < ExpiryTime then we have an active mapping, and we'll renew halfway to expiry
992 // if m->timenow >= ExpiryTime then our mapping has expired, and we're trying to create one
1810 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member in struct:mDNS_struct
2535 // Code that's protected by the main mDNS lock should just use the m->timenow value
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_lib.c344 OPENSSL_timeval timenow; local
353 get_current_time(&timenow);
356 if (s->d1->next_timeout.tv_sec < timenow.tv_sec ||
357 (s->d1->next_timeout.tv_sec == timenow.tv_sec &&
358 s->d1->next_timeout.tv_usec <= timenow.tv_usec))
366 timeleft->tv_sec -= timenow.tv_sec;
367 timeleft->tv_usec -= timenow.tv_usec;
/external/openssl/ssl/
H A Dd1_lib.c334 struct timeval timenow; local
343 get_current_time(&timenow);
346 if (s->d1->next_timeout.tv_sec < timenow.tv_sec ||
347 (s->d1->next_timeout.tv_sec == timenow.tv_sec &&
348 s->d1->next_timeout.tv_usec <= timenow.tv_usec))
356 timeleft->tv_sec -= timenow.tv_sec;
357 timeleft->tv_usec -= timenow.tv_usec;
/external/ppp/pppd/
H A Dmain.c1248 static struct timeval timenow; /* Current time */ variable in typeref:struct:timeval
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)
1324 if (!(p->c_time.tv_sec < timenow.tv_sec
1325 || (p->c_time.tv_sec == timenow.tv_sec
1326 && p->c_time.tv_usec <= timenow.tv_usec)))
1347 gettimeofday(&timenow, NULL);
1348 tvp->tv_sec = callout->c_time.tv_sec - timenow
[all...]
/external/mdnsresponder/mDNSShared/
H A DPlatformCommon.c164 mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_NoLock(&mDNSStorage) : 0;
H A Ddnsextd.c2846 struct timeval timenow, timeout, EventTS, tablecheck = { 0, 0 }; local
2867 if (gettimeofday(&timenow, NULL)) { LogErr("Run", "gettimeofday"); return -1; }
2871 if (timenow.tv_sec - EventTS.tv_sec >= 5) // if we've been waiting 5 seconds for a "quiet" period to send
2878 if (tablecheck.tv_sec && timenow.tv_sec - tablecheck.tv_sec >= 0)
2880 if (!tablecheck.tv_sec) tablecheck.tv_sec = timenow.tv_sec + EXPIRATION_INTERVAL;
2881 timeout.tv_sec = tablecheck.tv_sec - timenow.tv_sec;
H A Duds_daemon.c2744 if ((m->timenow - question->StopTime) >= 0)
4539 LogMsgNoIdent("m->timenow %08X %11d", now, now);
/external/openssl/crypto/bio/
H A Dbss_dgram.c273 struct timeval timenow, timeleft; local
298 get_current_time(&timenow);
302 timeleft.tv_sec -= timenow.tv_sec;
303 timeleft.tv_usec -= timenow.tv_usec;
/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c306 entry->LastQuery = m->timenow;
332 if (entry->NumQueries && m->timenow - entry->LastQuery < mDNSPlatformOneSecond) return;

Completed in 841 milliseconds