Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.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.4.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.4.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.4.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()
/Zephyr-Core-3.4.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.4.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.4.0/lib/posix/
Deventfd.c74 pfd->revents |= ZSOCK_POLLOUT * (efd->cnt < UINT64_MAX - 1); in eventfd_poll_update()
114 if (*value == UINT64_MAX) { in eventfd_write_locked()
119 if (u64_add_overflow(efd->cnt, *value, &result) || result == UINT64_MAX) { in eventfd_write_locked()
/Zephyr-Core-3.4.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.4.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.4.0/arch/arm64/core/
Dsmp.c29 #define INV_MPID UINT64_MAX
/Zephyr-Core-3.4.0/lib/libc/minimal/include/
Dstdint.h30 #define UINT64_MAX __UINT64_MAX__ macro
/Zephyr-Core-3.4.0/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c134 uint64_t min_cyc = UINT64_MAX; in do_test_using()
/Zephyr-Core-3.4.0/kernel/
Dtimeout.c326 return UINT64_MAX; in sys_clock_timeout_end_calc()
/Zephyr-Core-3.4.0/tests/unit/util/
Dtest.inc245 zassert_true(IN_RANGE(0, 0, UINT64_MAX), "Unexpected IN_RANGE result");
246 zassert_true(IN_RANGE(UINT64_MAX, 0, UINT64_MAX), "Unexpected IN_RANGE result");
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/gptp/
Dgptp.c616 interval->low = UINT64_MAX; in gptp_set_time_itv()
646 interval->low = UINT64_MAX; in gptp_set_time_itv()
/Zephyr-Core-3.4.0/drivers/ethernet/
Deth_stm32_hal.c552 pkt->timestamp.second = UINT64_MAX; in eth_tx()
575 pkt->timestamp.second = UINT64_MAX; in eth_tx()
643 timestamp.second = UINT64_MAX; in eth_rx()
849 pkt->timestamp.second = UINT64_MAX; in eth_rx()
/Zephyr-Core-3.4.0/tests/unit/timeutil/
Dtest_sync.c367 UINT64_MAX / 10000000 in test_large_linearity()

12