Searched defs:timenow (Results 1 - 8 of 8) sorted by relevance

/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/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/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/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 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;
/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 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

Completed in 1456 milliseconds