Home
last modified time | relevance | path

Searched refs:UINT64_MAX (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.5.0/tests/unit/math_extras/
Dtests.inc66 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/
Doverflow.c51 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/
Dhw_models_top.h17 #define NEVER UINT64_MAX
Dcmdline_common.c207 *(uint64_t *)args_struct[count].dest = UINT64_MAX; in cmd_args_set_defaults()
/Zephyr-Core-3.5.0/scripts/native_simulator/common/src/include/
Dnsi_hw_scheduler.h16 #define NSI_NEVER UINT64_MAX
/Zephyr-Core-3.5.0/tests/posix/eventfd/src/
Dnonblocking.c55 ret = eventfd_write(fixture->fd, UINT64_MAX); in ZTEST_F()
59 ret = eventfd_write(fixture->fd, UINT64_MAX-1); in ZTEST_F()
Dblocking.c152 zassert_ok(eventfd_write(fixture->fd, UINT64_MAX - 1)); in ZTEST_F()
/Zephyr-Core-3.5.0/tests/unit/pot/
Dis_power_of_two.c26 zassert_false(IS_POWER_OF_TWO(UINT64_MAX)); in ZTEST()
Dlog2.c32 zassert_equal(63, LOG2(UINT64_MAX)); in ZTEST()
Dlog2.cpp33 zassert_equal(63, LOG2(UINT64_MAX)); in ZTEST()
Dlog2ceil.c33 zassert_equal(64, LOG2CEIL(UINT64_MAX)); in ZTEST()
Dlog2ceil.cpp38 zassert_equal(64, LOG2CEIL(UINT64_MAX)); in ZTEST()
Dnhpot.c36 zassert_equal(0, NHPOT(UINT64_MAX)); in ZTEST()
Dnhpot.cpp39 zassert_equal(0, NHPOT(UINT64_MAX)); in ZTEST()
/Zephyr-Core-3.5.0/tests/drivers/timer/nrf_rtc_timer/src/
Dmain.c381 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/
Deventfd.c93 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/
Dtimeout.c297 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/
Dibecc.c130 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/
Ddhcpv6.c114 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/
Dapic_tsc.c81 expires = UINT64_MAX; in sys_clock_set_timeout()
Driscv_machine_timer.c174 set_mtimecmp(UINT64_MAX); in sys_clock_set_timeout()
/Zephyr-Core-3.5.0/lib/libc/minimal/include/
Dstdint.h30 #define UINT64_MAX __UINT64_MAX__ macro
/Zephyr-Core-3.5.0/arch/arm64/core/
Dsmp.c29 #define INV_MPID UINT64_MAX
/Zephyr-Core-3.5.0/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c160 uint64_t min_cyc = UINT64_MAX; in do_test_using()
/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/
Dnsi_cmdline_common.c209 *(uint64_t *)args_struct[count].dest = UINT64_MAX; in nsi_cmd_args_set_defaults()

12