Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/lib/libc/minimal/include/
Dlimits.h39 #define INT_MAX __INT_MAX__ macro
44 #define INT_MIN (-INT_MAX - 1)
Dstdlib.h54 #define RAND_MAX INT_MAX
/Zephyr-latest/tests/kernel/fatal/no-multithreading/src/
Dmain.c89 expected_reason = INT_MAX; in entry_arbitrary_reason()
92 z_except_reason(INT_MAX); in entry_arbitrary_reason()
/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor_calc.c69 return cfg->connected_positive ? INT_MAX : 0; in ntc_get_ohm_of_thermistor()
73 return cfg->connected_positive ? 0 : INT_MAX; in ntc_get_ohm_of_thermistor()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/san/ubsan/src/
Dmain.c23 int k = INT_MAX; in ZTEST()
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_callback_manage.c152 cb_data[0].aux = INT_MAX; in test_callback_self_remove()
153 cb_data[1].aux = INT_MAX; in test_callback_self_remove()
165 if (cb_data[0].aux != INT_MAX || cb_data[1].aux != 0) { in test_callback_self_remove()
/Zephyr-latest/include/zephyr/arch/arm64/
Dtimer.h32 __ASSERT(cntfrq_el0 < INT_MAX, "cntfrq_el0 cannot fit in system 'int'"); in arm_arch_timer_init()
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin.c144 4, 1, 45, 0, 0, -7, 0, 0, 0, INT_MAX, INT_MIN, 0 in ZTEST()
181 1, 2, 3, 0, 4, 0, 0, 0, 17, INT_MAX, INT_MIN, 0 in ZTEST()
219 const int test_vector[] = {0, 2, 0, 9, -1, 0, 0, 1, INT_MAX, INT_MIN}; in ZTEST()
/Zephyr-latest/drivers/timer/
Dmips_cp0_timer.c22 #define MAX_CYC INT_MAX
Dnrf_grtc_timer.c48 (((COUNTER_SPAN / CYC_PER_TICK) > INT_MAX) ? INT_MAX : (COUNTER_SPAN / CYC_PER_TICK))
Dmcux_os_timer.c25 #define MAX_CYC INT_MAX
/Zephyr-latest/kernel/
Dtimeout.c22 ? K_TICKS_FOREVER : INT_MAX)
90 ((int64_t)(to->dticks - ticks_elapsed) > (int64_t)INT_MAX)) { in next_timeout()
/Zephyr-latest/lib/os/
Dsem.c51 (initial_count > limit) || (limit > INT_MAX)) { in sys_sem_init()
/Zephyr-latest/lib/posix/options/
Dsignal.c81 static char buf[sizeof("RT signal -" STRINGIFY(INT_MAX))]; in strsignal()
Dsemaphore.c263 __ASSERT_NO_MSG(nsem->ref_count != INT_MAX); in sem_open()
/Zephyr-latest/tests/kernel/fatal/exception/src/
Dmain.c165 expected_reason = INT_MAX; in entry_arbitrary_reason()
167 z_except_reason(INT_MAX); in entry_arbitrary_reason()
/Zephyr-latest/drivers/misc/devmux/
Ddevmux.c163 BUILD_ASSERT(DT_INST_PROP_LEN(_n, devices) <= INT_MAX, \
/Zephyr-latest/drivers/can/
Dcan_common.c257 int err_min = INT_MAX; in can_calc_timing_internal()
315 return err_min == INT_MAX ? -ENOTSUP : err_min; in can_calc_timing_internal()
/Zephyr-latest/tests/kernel/workq/work/src/
Dmain.c706 ctx->submit_rc = INT_MAX; in ZTEST()
707 ctx->busy_rc = INT_MAX; in ZTEST()
769 ctx->submit_rc = INT_MAX; in ZTEST()
770 ctx->busy_rc = INT_MAX; in ZTEST()
896 ctx->submit_rc = INT_MAX; in ZTEST()
/Zephyr-latest/samples/kernel/metairq_dispatch/src/
Dmain.c92 *lo = INT_MAX; in calc_stats()
/Zephyr-latest/drivers/lora/
Dshell.c267 "timeout", 0, INT_MAX) < 0) { in cmd_lora_recv()
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c24 #define ACC_MAX (INT_MAX / FULL_ANGLE)
/Zephyr-latest/tests/kernel/mem_protect/userspace/src/
Dmain.c914 arch_syscall_invoke0(INT_MAX); in ZTEST_USER()
985 test_oops(INT_MAX, K_ERR_KERNEL_OOPS); in ZTEST_USER()
/Zephyr-latest/subsys/fs/
Dshell.c292 count = INT_MAX; in cmd_read()
295 count = INT_MAX; in cmd_read()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.c388 if (hdr_diff == INT_MAX) { in fragment_cached_pkt_len()

12