/Zephyr-Core-3.4.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.4.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.4.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.4.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()
|
/Zephyr-Core-3.4.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.4.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.4.0/lib/posix/ |
D | eventfd.c | 74 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/ |
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.4.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.4.0/arch/arm64/core/ |
D | smp.c | 29 #define INV_MPID UINT64_MAX
|
/Zephyr-Core-3.4.0/lib/libc/minimal/include/ |
D | stdint.h | 30 #define UINT64_MAX __UINT64_MAX__ macro
|
/Zephyr-Core-3.4.0/tests/kernel/timer/timer_behavior/src/ |
D | jitter_drift.c | 134 uint64_t min_cyc = UINT64_MAX; in do_test_using()
|
/Zephyr-Core-3.4.0/kernel/ |
D | timeout.c | 326 return UINT64_MAX; in sys_clock_timeout_end_calc()
|
/Zephyr-Core-3.4.0/tests/unit/util/ |
D | test.inc | 245 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/ |
D | gptp.c | 616 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/ |
D | eth_stm32_hal.c | 552 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/ |
D | test_sync.c | 367 UINT64_MAX / 10000000 in test_large_linearity()
|