Lines Matching refs:tv

259 extern int __settimeofday64 (const struct __timeval64 *tv,
262 extern int __gettimeofday64 (struct __timeval64 *restrict tv,
357 valid_timeval_to_timespec64 (const struct timeval tv) in valid_timeval_to_timespec64() argument
361 ts64.tv_sec = tv.tv_sec; in valid_timeval_to_timespec64()
362 ts64.tv_nsec = tv.tv_usec * 1000; in valid_timeval_to_timespec64()
369 valid_timeval_to_timeval64 (const struct timeval tv) in valid_timeval_to_timeval64() argument
373 tv64.tv_sec = tv.tv_sec; in valid_timeval_to_timeval64()
374 tv64.tv_usec = tv.tv_usec; in valid_timeval_to_timeval64()
384 struct timeval tv; in valid_timeval64_to_timeval() local
386 tv.tv_sec = (time_t) tv64.tv_sec; in valid_timeval64_to_timeval()
387 tv.tv_usec = (suseconds_t) tv64.tv_usec; in valid_timeval64_to_timeval()
389 return tv; in valid_timeval64_to_timeval()
434 struct timeval tv; in valid_timespec64_to_timeval() local
436 tv.tv_sec = (time_t) ts64.tv_sec; in valid_timespec64_to_timeval()
437 tv.tv_usec = ts64.tv_nsec / 1000; in valid_timespec64_to_timeval()
439 return tv; in valid_timespec64_to_timeval()
464 valid_timeval32_to_timeval64 (const struct __timeval32 tv) in valid_timeval32_to_timeval64() argument
466 return (struct __timeval64) { tv.tv_sec, tv.tv_usec }; in valid_timeval32_to_timeval64()
476 valid_timeval32_to_timeval (const struct __timeval32 tv) in valid_timeval32_to_timeval() argument
478 return (struct timeval) { tv.tv_sec, tv.tv_usec }; in valid_timeval32_to_timeval()
482 valid_timeval_to_timeval32 (const struct timeval tv) in valid_timeval_to_timeval32() argument
484 return (struct __timeval32) { tv.tv_sec, tv.tv_usec }; in valid_timeval_to_timeval32()
488 valid_timeval32_to_timespec (const struct __timeval32 tv) in valid_timeval32_to_timespec() argument
490 return (struct timespec) { tv.tv_sec, tv.tv_usec * 1000 }; in valid_timeval32_to_timespec()