/third_party/ltp/include/lapi/ |
H A D | common_timers.h | 23 CLOCK_BOOTTIME, 44 CLOCK_TO_STR(CLOCK_BOOTTIME); in get_clock_str() 56 case CLOCK_BOOTTIME: in possibly_unsupported()
|
H A D | posix_clocks.h | 26 #ifndef CLOCK_BOOTTIME 27 # define CLOCK_BOOTTIME 7 macro
|
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
H A D | clock_gettime03.c | 11 * 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 D | clock_gettime02.c | 18 * 10) CLOCK_BOOTTIME 79 .clktype = CLOCK_BOOTTIME,
|
H A D | clock_gettime01.c | 16 * 8) CLOCK_BOOTTIME 55 .clktype = CLOCK_BOOTTIME,
|
H A D | clock_gettime04.c | 34 CLOCK_BOOTTIME,
|
/third_party/ltp/testcases/kernel/syscalls/timerfd/ |
H A D | timerfd04.c | 13 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 D | platform_util.c | 235 #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 D | sysinfo03.c | 7 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 D | clock_getres.c | 59 * @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 D | clock_nanosleep.c | 71 * @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 D | os_unix.c | 73 #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 D | os_unix.c | 79 #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 D | time.h | 78 #define CLOCK_BOOTTIME 7 macro
|
/third_party/ltp/testcases/kernel/syscalls/clock_getres/ |
H A D | clock_getres01.c | 31 {"CLOCK_BOOTTIME", CLOCK_BOOTTIME, 0, 0,},
|
/third_party/rust/crates/rustix/src/backend/linux_raw/time/ |
H A D | types.rs | 77 /// `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 D | sys_clock_test.cpp | 108 * specified clock (CLOCK_BOOTTIME in this case), and it checks if the retrieved resolution matches the 115 int result = clock_getres(CLOCK_BOOTTIME, ×); 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, ×); in HWTEST_F()
|
/third_party/rust/crates/nix/src/ |
H A D | time.rs | 80 pub const CLOCK_BOOTTIME: ClockId = ClockId(libc::CLOCK_BOOTTIME); consts
|
/third_party/node/deps/uv/src/unix/ |
H A D | linux-core.c | 70 /* 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 D | tst_clocks.c | 134 case CLOCK_BOOTTIME: in tst_clock_name() 135 return "CLOCK_BOOTTIME"; in tst_clock_name()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 93 #define CLOCK_BOOTTIME 7 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | time.h | 92 #define CLOCK_BOOTTIME 7 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | time.h | 93 #define CLOCK_BOOTTIME 7 macro
|
/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
H A D | clock_settime02.c | 78 { /* case 10: CLOCK_BOOTTIME */ 79 .type = CLOCK_BOOTTIME,
|
/third_party/rust/crates/nix/src/sys/ |
H A D | timerfd.rs | 70 /// 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.
|