Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c96 evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime() argument
99 x.tv_sec = minuend.tv_sec - subtrahend.tv_sec; in evSubTime()
100 if (minuend.tv_nsec >= subtrahend.tv_nsec) in evSubTime()
101 x.tv_nsec = minuend.tv_nsec - subtrahend.tv_nsec; in evSubTime()
103 x.tv_nsec = BILLION - subtrahend.tv_nsec + minuend.tv_nsec; in evSubTime()