Home
last modified time | relevance | path

Searched refs:minuend (Results 1 – 1 of 1) sorted by relevance

/system/netd/resolv/
Dres_send.cpp163 static struct timespec evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime() argument
166 x.tv_sec = minuend.tv_sec - subtrahend.tv_sec; in evSubTime()
167 if (minuend.tv_nsec >= subtrahend.tv_nsec) in evSubTime()
168 x.tv_nsec = minuend.tv_nsec - subtrahend.tv_nsec; in evSubTime()
170 x.tv_nsec = BILLION - subtrahend.tv_nsec + minuend.tv_nsec; in evSubTime()