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

/external/boringssl/src/ssl/
H A Dd1_lib.c185 struct timeval timenow; local
186 get_current_time(ssl, &timenow);
189 if (ssl->d1->next_timeout.tv_sec < timenow.tv_sec ||
190 (ssl->d1->next_timeout.tv_sec == timenow.tv_sec &&
191 ssl->d1->next_timeout.tv_usec <= timenow.tv_usec)) {
198 out->tv_sec -= timenow.tv_sec;
199 out->tv_usec -= timenow.tv_usec;
/external/ppp/pppd/
H A Dmain.c1315 static struct timeval timenow; /* Current time */ variable in typeref:struct:timeval
1335 gettimeofday(&timenow, NULL);
1336 newp->c_time.tv_sec = timenow.tv_sec + secs;
1337 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1389 if (gettimeofday(&timenow, NULL) < 0)
1391 if (!(p->c_time.tv_sec < timenow.tv_sec
1392 || (p->c_time.tv_sec == timenow.tv_sec
1393 && p->c_time.tv_usec <= timenow.tv_usec)))
1414 gettimeofday(&timenow, NULL);
1415 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 750 milliseconds