/libuv/test/ |
H A D | runner-unix.c | 299 assert(tv.tv_sec > timebase.tv_sec || in process_wait() 300 (tv.tv_sec == timebase.tv_sec && tv.tv_usec >= timebase.tv_usec)); in process_wait() 303 (tv.tv_sec - timebase.tv_sec) * 1000 + in process_wait() 311 tv.tv_sec = (timeout - elapsed_ms) / 1000; in process_wait()
|
H A D | test-gettimeofday.c | 29 tv.tv_sec = 0; in TEST_IMPL() 32 ASSERT_NE(0, tv.tv_sec); in TEST_IMPL()
|
H A D | test-platform-output.c | 74 ASSERT_GE(rusage.ru_utime.tv_sec, 0); in TEST_IMPL() 76 ASSERT_GE(rusage.ru_stime.tv_sec, 0); in TEST_IMPL() 80 (unsigned long long) rusage.ru_utime.tv_sec, in TEST_IMPL() 83 (unsigned long long) rusage.ru_stime.tv_sec, in TEST_IMPL()
|
H A D | test-hrtime.c | 62 ASSERT_GT(1682500000000ll, t.tv_sec); /* 2023-04-26T09:06:40.000Z */ in TEST_IMPL()
|
H A D | test-fs.c | 1481 ASSERT_EQ(s->st_birthtim.tv_sec, t.st_birthtimespec.tv_sec); in TEST_IMPL() 1487 ASSERT(s->st_birthtim.tv_sec == 0 || in TEST_IMPL() 1488 s->st_birthtim.tv_sec == t.st_ctim.tv_sec); in TEST_IMPL() 1522 ASSERT_EQ(s->st_atim.tv_sec, t.st_atimespec.tv_sec); in TEST_IMPL() 1524 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtimespec.tv_sec); in TEST_IMPL() 1526 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctimespec.tv_sec); in TEST_IMPL() 1530 ASSERT_EQ(s->st_atim.tv_sec, t.st_atime); in TEST_IMPL() 1553 ASSERT_EQ(s->st_atim.tv_sec, t.st_atim.tv_sec); in TEST_IMPL() 1555 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtim.tv_sec); in TEST_IMPL() 1557 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctim.tv_sec); in TEST_IMPL() [all …]
|
/libuv/src/unix/ |
H A D | fs.c | 220 ts.tv_sec -= 1; in UV_UNUSED() 231 tv.tv_sec -= 1; in UV_UNUSED() 1462 dst->st_atim.tv_sec = src->st_atimespec.tv_sec; in uv__to_stat() 1464 dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec; in uv__to_stat() 1466 dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec; in uv__to_stat() 1468 dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec; in uv__to_stat() 1494 dst->st_atim.tv_sec = src->st_atim.tv_sec; in uv__to_stat() 1496 dst->st_mtim.tv_sec = src->st_mtim.tv_sec; in uv__to_stat() 1498 dst->st_ctim.tv_sec = src->st_ctim.tv_sec; in uv__to_stat() 1502 dst->st_birthtim.tv_sec = src->st_birthtim.tv_sec; in uv__to_stat() [all …]
|
H A D | posix-hrtime.c | 35 return t.tv_sec * (uint64_t) 1e9 + t.tv_nsec; in uv__hrtime()
|
H A D | thread.c | 483 interval.tv_sec = 0; in uv_sem_trywait() 764 ts.tv_sec = 0; in uv_cond_destroy() 828 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait() 835 timeout += tv.tv_sec * NANOSEC + tv.tv_usec * 1e3; in uv_cond_timedwait() 839 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
|
H A D | core.c | 145 ts->tv_sec = t.tv_sec; in uv_clock_gettime() 1008 rusage->ru_utime.tv_sec = usage.ru_utime.tv_sec; in uv_getrusage() 1011 rusage->ru_stime.tv_sec = usage.ru_stime.tv_sec; in uv_getrusage() 1787 tv->tv_sec = (int64_t) time.tv_sec; in uv_gettimeofday() 1796 timeout.tv_sec = msec / 1000; in uv_sleep()
|
H A D | linux.c | 1133 buf->st_atim.tv_sec = statxbuf->stx_atime.tv_sec; in uv__statx_to_stat() 1135 buf->st_mtim.tv_sec = statxbuf->stx_mtime.tv_sec; in uv__statx_to_stat() 1137 buf->st_ctim.tv_sec = statxbuf->stx_ctime.tv_sec; in uv__statx_to_stat() 1139 buf->st_birthtim.tv_sec = statxbuf->stx_btime.tv_sec; in uv__statx_to_stat() 1654 return t.tv_sec * (uint64_t) 1e9 + t.tv_nsec; in uv__hrtime() 1708 *uptime = now.tv_sec; in uv_uptime()
|
H A D | darwin.c | 177 *uptime = now - info.tv_sec; in uv_uptime()
|
H A D | freebsd.c | 177 *uptime = sp.tv_sec; in uv_uptime()
|
H A D | openbsd.c | 179 *uptime = (double)(now - info.tv_sec); in uv_uptime()
|
H A D | netbsd.c | 180 *uptime = (double)(now - info.tv_sec); in uv_uptime()
|
H A D | internal.h | 190 int64_t tv_sec; member
|
H A D | kqueue.c | 273 spec.tv_sec = timeout / 1000; in uv__io_poll()
|
H A D | sunos.c | 220 spec.tv_sec = timeout / 1000; in uv__io_poll()
|
H A D | os390.c | 228 *uptime = difftime64(time64(&t), v->ut_tv.tv_sec); in uv_uptime()
|
H A D | stream.c | 302 timeout.tv_sec = 0; in uv__stream_try_select()
|
/libuv/src/ |
H A D | fs-poll.c | 262 && a->st_ctim.tv_sec == b->st_ctim.tv_sec in statbuf_eq() 263 && a->st_mtim.tv_sec == b->st_mtim.tv_sec in statbuf_eq() 264 && a->st_birthtim.tv_sec == b->st_birthtim.tv_sec in statbuf_eq()
|
/libuv/src/win/ |
H A D | util.c | 439 ts->tv_sec = t / 1000000000; in uv_clock_gettime() 449 ts->tv_sec = t / 10000000; in uv_clock_gettime() 912 uv_rusage->ru_utime.tv_sec = userSystemTime.wHour * 3600 + in uv_getrusage() 917 uv_rusage->ru_stime.tv_sec = kernelSystemTime.wHour * 3600 + in uv_getrusage() 1686 tv->tv_sec = (int64_t) ((ularge.QuadPart - epoch) / 10000000L); in uv_gettimeofday()
|
H A D | poll.c | 299 timeout.tv_sec = 3 * 60; in uv__slow_poll_thread_proc()
|
H A D | fs.c | 117 ts->tv_sec = filetime / TICKS_PER_SEC; in uv__filetime_to_timespec() 120 ts->tv_sec -= 1; in uv__filetime_to_timespec()
|
/libuv/include/ |
H A D | uv.h | 365 long tv_sec; member 370 int64_t tv_sec; member 376 long tv_sec; member 381 int64_t tv_sec; member
|
/libuv/docs/src/ |
H A D | misc.rst | 82 long tv_sec; 93 int64_t tv_sec; 104 int64_t tv_sec;
|