Home
last modified time | relevance | path

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

/device/generic/goldfish/ril/
Datchannel.c91 static void setTimespecRelative(struct timespec *p_ts, long long msec) in setTimespecRelative() argument
97 p_ts->tv_sec = tv.tv_sec + (msec / 1000); in setTimespecRelative()
98 p_ts->tv_nsec = (tv.tv_usec + (msec % 1000) * 1000L ) * 1000L; in setTimespecRelative()
100 if (p_ts->tv_nsec >= NS_PER_S) { in setTimespecRelative()
101 p_ts->tv_sec++; in setTimespecRelative()
102 p_ts->tv_nsec -= NS_PER_S; in setTimespecRelative()