/Zephyr-Core-3.5.0/tests/unit/math_extras/ |
D | tests.inc | 66 zassert_false(u64_add_overflow(0, UINT64_MAX, &result)); 67 zassert_equal(result, UINT64_MAX); 68 zassert_true(u64_add_overflow(1, UINT64_MAX, &result)); 71 zassert_false(u64_add_overflow(UINT64_MAX, 0, &result)); 72 zassert_equal(result, UINT64_MAX); 73 zassert_true(u64_add_overflow(UINT64_MAX, 2, &result)); 84 zassert_false(u64_mul_overflow(UINT64_MAX, 1, &result)); 85 zassert_equal(result, UINT64_MAX); 86 zassert_true(u64_mul_overflow(UINT64_MAX, 2, &result)); 87 zassert_equal(result, UINT64_MAX * 2); [all …]
|
/Zephyr-Core-3.5.0/tests/unit/time_units/ |
D | overflow.c | 51 z_tmcvt(UINT64_MAX / to_hz - 1, from_hz, to_hz, true, false, false, false)); in ZTEST() 53 z_tmcvt(UINT64_MAX / to_hz, from_hz, to_hz, true, false, false, false)); in ZTEST() 55 z_tmcvt(UINT64_MAX / to_hz + 1, from_hz, to_hz, true, false, false, false)); in ZTEST()
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/ |
D | hw_models_top.h | 17 #define NEVER UINT64_MAX
|
D | cmdline_common.c | 207 *(uint64_t *)args_struct[count].dest = UINT64_MAX; in cmd_args_set_defaults()
|
/Zephyr-Core-3.5.0/scripts/native_simulator/common/src/include/ |
D | nsi_hw_scheduler.h | 16 #define NSI_NEVER UINT64_MAX
|
/Zephyr-Core-3.5.0/tests/posix/eventfd/src/ |
D | nonblocking.c | 55 ret = eventfd_write(fixture->fd, UINT64_MAX); in ZTEST_F() 59 ret = eventfd_write(fixture->fd, UINT64_MAX-1); in ZTEST_F()
|
D | blocking.c | 152 zassert_ok(eventfd_write(fixture->fd, UINT64_MAX - 1)); in ZTEST_F()
|
/Zephyr-Core-3.5.0/tests/unit/pot/ |
D | is_power_of_two.c | 26 zassert_false(IS_POWER_OF_TWO(UINT64_MAX)); in ZTEST()
|
D | log2.c | 32 zassert_equal(63, LOG2(UINT64_MAX)); in ZTEST()
|
D | log2.cpp | 33 zassert_equal(63, LOG2(UINT64_MAX)); in ZTEST()
|
D | log2ceil.c | 33 zassert_equal(64, LOG2CEIL(UINT64_MAX)); in ZTEST()
|
D | log2ceil.cpp | 38 zassert_equal(64, LOG2CEIL(UINT64_MAX)); in ZTEST()
|
D | nhpot.c | 36 zassert_equal(0, NHPOT(UINT64_MAX)); in ZTEST()
|
D | nhpot.cpp | 39 zassert_equal(0, NHPOT(UINT64_MAX)); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/drivers/timer/nrf_rtc_timer/src/ |
D | main.c | 381 evt_uptime = UINT64_MAX; in ZTEST() 392 zassert_not_equal(UINT64_MAX, evt_uptime, in ZTEST() 396 evt_uptime = UINT64_MAX; in ZTEST() 405 zassert_not_equal(UINT64_MAX, evt_uptime, in ZTEST() 412 evt_uptime = UINT64_MAX; in ZTEST() 421 zassert_not_equal(UINT64_MAX, evt_uptime, in ZTEST()
|
/Zephyr-Core-3.5.0/lib/posix/ |
D | eventfd.c | 93 pfd->revents |= ZSOCK_POLLOUT * (efd->cnt < UINT64_MAX - 1); in eventfd_poll_update() 139 if (*value == UINT64_MAX) { in eventfd_write_locked() 144 if (u64_add_overflow(efd->cnt, *value, &result) || result == UINT64_MAX) { in eventfd_write_locked() 152 if (efd->cnt == (UINT64_MAX - 1)) { in eventfd_write_locked()
|
/Zephyr-Core-3.5.0/kernel/ |
D | timeout.c | 297 timepoint.tick = UINT64_MAX; in sys_timepoint_calc() 317 if (timepoint.tick == UINT64_MAX) { in sys_timepoint_timeout()
|
/Zephyr-Core-3.5.0/tests/subsys/edac/ibecc/src/ |
D | ibecc.c | 130 ret = edac_inject_set_param1(dev, UINT64_MAX); in ZTEST() 142 ret = edac_inject_set_param2(dev, UINT64_MAX); in ZTEST()
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | dhcpv6.c | 114 t1_abs = UINT64_MAX; in dhcvp6_update_deadlines() 119 t2_abs = UINT64_MAX; in dhcvp6_update_deadlines() 124 expire_abs = UINT64_MAX; in dhcvp6_update_deadlines() 147 iface->config.dhcpv6.timeout = UINT64_MAX; in dhcpv6_set_timeout() 1642 iface->config.dhcpv6.t1 = UINT64_MAX; in dhcpv6_handle_reply() 1643 iface->config.dhcpv6.t2 = UINT64_MAX; in dhcpv6_handle_reply() 1865 return UINT64_MAX; in dhcpv6_manage_timers() 2005 return UINT64_MAX; in dhcpv6_manage_timers() 2010 uint64_t timeout_update = UINT64_MAX; in dhcpv6_timeout() 2032 if (timeout_update != UINT64_MAX) { in dhcpv6_timeout() [all …]
|
/Zephyr-Core-3.5.0/drivers/timer/ |
D | apic_tsc.c | 81 expires = UINT64_MAX; in sys_clock_set_timeout()
|
D | riscv_machine_timer.c | 174 set_mtimecmp(UINT64_MAX); in sys_clock_set_timeout()
|
/Zephyr-Core-3.5.0/lib/libc/minimal/include/ |
D | stdint.h | 30 #define UINT64_MAX __UINT64_MAX__ macro
|
/Zephyr-Core-3.5.0/arch/arm64/core/ |
D | smp.c | 29 #define INV_MPID UINT64_MAX
|
/Zephyr-Core-3.5.0/tests/kernel/timer/timer_behavior/src/ |
D | jitter_drift.c | 160 uint64_t min_cyc = UINT64_MAX; in do_test_using()
|
/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/ |
D | nsi_cmdline_common.c | 209 *(uint64_t *)args_struct[count].dest = UINT64_MAX; in nsi_cmd_args_set_defaults()
|