Home
last modified time | relevance | path

Searched refs:CLOCK_BOOTTIME (Results 1 - 25 of 56) sorted by relevance

123

/third_party/ltp/include/lapi/
H A Dcommon_timers.h23 CLOCK_BOOTTIME,
44 CLOCK_TO_STR(CLOCK_BOOTTIME); in get_clock_str()
56 case CLOCK_BOOTTIME: in possibly_unsupported()
H A Dposix_clocks.h26 #ifndef CLOCK_BOOTTIME
27 # define CLOCK_BOOTTIME 7 macro
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
H A Dclock_gettime03.c11 * and CLOCK_BOOTTIME for its children by writing to the '/proc/self/timens_offsets'.
29 {CLOCK_BOOTTIME, CLOCK_BOOTTIME, 10},
32 {CLOCK_BOOTTIME, CLOCK_BOOTTIME, -10},
H A Dclock_gettime02.c18 * 10) CLOCK_BOOTTIME
79 .clktype = CLOCK_BOOTTIME,
H A Dclock_gettime01.c16 * 8) CLOCK_BOOTTIME
55 .clktype = CLOCK_BOOTTIME,
H A Dclock_gettime04.c34 CLOCK_BOOTTIME,
/third_party/ltp/testcases/kernel/syscalls/timerfd/
H A Dtimerfd04.c13 and CLOCK_BOOTTIME for its children by writing to the '/proc/self/timens_offsets'.
32 {CLOCK_BOOTTIME, CLOCK_BOOTTIME, 10},
35 {CLOCK_BOOTTIME, CLOCK_BOOTTIME, -10},
/third_party/mbedtls/library/
H A Dplatform_util.c235 #if defined(__linux__) && defined(CLOCK_BOOTTIME) || defined(__midipix__) in mbedtls_ms_time()
236 ret = clock_gettime(CLOCK_BOOTTIME, &tv); in mbedtls_ms_time()
/third_party/ltp/testcases/kernel/syscalls/sysinfo/
H A Dsysinfo03.c7 Test if CLOCK_BOOTTIME namespace offset is applied to sysinfo uptime and that
12 and CLOCK_BOOTTIME for its children by writing to the '/proc/self/timens_offsets'.
45 CLOCK_BOOTTIME, off); in verify_sysinfo()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dclock_getres.c59 * @tc.desc : Verify that the resolution in the specified poem can be found (the parameter is CLOCK_BOOTTIME)
65 int result = clock_getres(CLOCK_BOOTTIME, &ts); in clock_getres_0400()
H A Dclock_nanosleep.c71 * @tc.desc : Each parameter is valid, clk is CLOCK_BOOTTIME, which can specify the sleep of the clock
80 ret = clock_nanosleep(CLOCK_BOOTTIME, TIMER_ABSTIME, &ts, NULL); in clock_nanosleep_0400()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_unix.c73 #if defined(CLOCK_BOOTTIME) in os_get_reltime()
74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime()
94 #ifdef CLOCK_BOOTTIME in os_get_reltime()
95 case CLOCK_BOOTTIME: in os_get_reltime()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_unix.c79 #if defined(CLOCK_BOOTTIME) in os_get_reltime()
80 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime()
100 #ifdef CLOCK_BOOTTIME in os_get_reltime()
101 case CLOCK_BOOTTIME: in os_get_reltime()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dtime.h78 #define CLOCK_BOOTTIME 7 macro
/third_party/ltp/testcases/kernel/syscalls/clock_getres/
H A Dclock_getres01.c31 {"CLOCK_BOOTTIME", CLOCK_BOOTTIME, 0, 0,},
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dtypes.rs77 /// `CLOCK_BOOTTIME`, available on Linux >= 2.6.39
135 /// `CLOCK_BOOTTIME`—Like `Monotonic`, but advances while suspended.
139 Boottime = linux_raw_sys::general::CLOCK_BOOTTIME,
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dsys_clock_test.cpp108 * specified clock (CLOCK_BOOTTIME in this case), and it checks if the retrieved resolution matches the
115 int result = clock_getres(CLOCK_BOOTTIME, &times); in HWTEST_F()
266 * @tc.desc: Confirm that the clock_gettime function can obtain the boot time accurately from the CLOCK_BOOTTIME
274 int result = clock_gettime(CLOCK_BOOTTIME, &times); in HWTEST_F()
/third_party/rust/crates/nix/src/
H A Dtime.rs80 pub const CLOCK_BOOTTIME: ClockId = ClockId(libc::CLOCK_BOOTTIME); consts
/third_party/node/deps/uv/src/unix/
H A Dlinux-core.c70 /* This is rather annoying: CLOCK_BOOTTIME lives in <linux/time.h> but we can't
74 #ifndef CLOCK_BOOTTIME
75 # define CLOCK_BOOTTIME 7 macro
226 /* Try CLOCK_BOOTTIME first, fall back to CLOCK_MONOTONIC if not available in uv_uptime()
233 else if ((r = clock_gettime(CLOCK_BOOTTIME, &now)) && errno == EINVAL) { in uv_uptime()
/third_party/ltp/lib/
H A Dtst_clocks.c134 case CLOCK_BOOTTIME: in tst_clock_name()
135 return "CLOCK_BOOTTIME"; in tst_clock_name()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtime.h93 #define CLOCK_BOOTTIME 7 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dtime.h92 #define CLOCK_BOOTTIME 7 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtime.h93 #define CLOCK_BOOTTIME 7 macro
/third_party/ltp/testcases/kernel/syscalls/clock_settime/
H A Dclock_settime02.c78 { /* case 10: CLOCK_BOOTTIME */
79 .type = CLOCK_BOOTTIME,
/third_party/rust/crates/nix/src/sys/
H A Dtimerfd.rs70 /// Like `CLOCK_MONOTONIC`, except that `CLOCK_BOOTTIME` includes the time
72 CLOCK_BOOTTIME,
75 /// Like `CLOCK_BOOTTIME`, but will wake the system if it is suspended.

Completed in 14 milliseconds

123