Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dfs.c216 ts.tv_nsec -= ts.tv_nsec % 1000; in UV_UNUSED()
219 ts.tv_nsec += 1e9; in UV_UNUSED()
1463 dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec; in uv__to_stat()
1465 dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec; in uv__to_stat()
1467 dst->st_ctim.tv_nsec = src->st_ctimespec.tv_nsec; in uv__to_stat()
1469 dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec; in uv__to_stat()
1495 dst->st_atim.tv_nsec = src->st_atim.tv_nsec; in uv__to_stat()
1497 dst->st_mtim.tv_nsec = src->st_mtim.tv_nsec; in uv__to_stat()
1499 dst->st_ctim.tv_nsec = src->st_ctim.tv_nsec; in uv__to_stat()
1503 dst->st_birthtim.tv_nsec = src->st_birthtim.tv_nsec; in uv__to_stat()
[all …]
H A Dposix-hrtime.c35 return t.tv_sec * (uint64_t) 1e9 + t.tv_nsec; in uv__hrtime()
H A Dthread.c484 interval.tv_nsec = 0; in uv_sem_trywait()
765 ts.tv_nsec = 1; in uv_cond_destroy()
829 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
840 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
H A Dlinux.c1134 buf->st_atim.tv_nsec = statxbuf->stx_atime.tv_nsec; in uv__statx_to_stat()
1136 buf->st_mtim.tv_nsec = statxbuf->stx_mtime.tv_nsec; in uv__statx_to_stat()
1138 buf->st_ctim.tv_nsec = statxbuf->stx_ctime.tv_nsec; in uv__statx_to_stat()
1140 buf->st_birthtim.tv_nsec = statxbuf->stx_btime.tv_nsec; in uv__statx_to_stat()
1644 if (t.tv_nsec <= 1 * 1000 * 1000) in uv__hrtime()
1654 return t.tv_sec * (uint64_t) 1e9 + t.tv_nsec; in uv__hrtime()
H A Dinternal.h191 uint32_t tv_nsec; member
H A Dcore.c146 ts->tv_nsec = t.tv_nsec; in uv_clock_gettime()
1797 timeout.tv_nsec = (msec % 1000) * 1000 * 1000; in uv_sleep()
H A Dkqueue.c274 spec.tv_nsec = (timeout % 1000) * 1000000; in uv__io_poll()
H A Dsunos.c221 spec.tv_nsec = (timeout % 1000) * 1000000; in uv__io_poll()
H A Dstream.c303 timeout.tv_nsec = 1; in uv__stream_try_select()
/libuv/src/
H A Dfs-poll.c259 return a->st_ctim.tv_nsec == b->st_ctim.tv_nsec in statbuf_eq()
260 && a->st_mtim.tv_nsec == b->st_mtim.tv_nsec in statbuf_eq()
261 && a->st_birthtim.tv_nsec == b->st_birthtim.tv_nsec in statbuf_eq()
/libuv/test/
H A Dtest-fs.c830 if (s->st_atim.tv_nsec == 0 && s->st_mtim.tv_nsec == 0) { in check_utime()
1482 ASSERT_EQ(s->st_birthtim.tv_nsec, t.st_birthtimespec.tv_nsec); in TEST_IMPL()
1490 s->st_birthtim.tv_nsec == t.st_ctim.tv_nsec); in TEST_IMPL()
1523 ASSERT_EQ(s->st_atim.tv_nsec, t.st_atimespec.tv_nsec); in TEST_IMPL()
1525 ASSERT_EQ(s->st_mtim.tv_nsec, t.st_mtimespec.tv_nsec); in TEST_IMPL()
1527 ASSERT_EQ(s->st_ctim.tv_nsec, t.st_ctimespec.tv_nsec); in TEST_IMPL()
1531 ASSERT_OK(s->st_atim.tv_nsec); in TEST_IMPL()
1554 ASSERT_EQ(s->st_atim.tv_nsec, t.st_atim.tv_nsec); in TEST_IMPL()
1556 ASSERT_EQ(s->st_mtim.tv_nsec, t.st_mtim.tv_nsec); in TEST_IMPL()
1558 ASSERT_EQ(s->st_ctim.tv_nsec, t.st_ctim.tv_nsec); in TEST_IMPL()
[all …]
/libuv/src/win/
H A Dutil.c440 ts->tv_nsec = t % 1000000000; in uv_clock_gettime()
450 ts->tv_nsec = t % 10000000 * 100; in uv_clock_gettime()
H A Dfs.c118 ts->tv_nsec = (filetime % TICKS_PER_SEC) * NSEC_PER_TICK; in uv__filetime_to_timespec()
119 if (ts->tv_nsec < 0) { in uv__filetime_to_timespec()
121 ts->tv_nsec += 1e9; in uv__filetime_to_timespec()
/libuv/include/
H A Duv.h366 long tv_nsec; member
371 int32_t tv_nsec; member
/libuv/docs/src/
H A Dfs.rst43 long tv_nsec;
H A Dmisc.rst105 int32_t tv_nsec;

Completed in 77 milliseconds