Searched refs:INT32_C (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/drivers/sensor/icm42688/src/ |
D | main.c | 120 zassert_within(expect_ug, actual_ug, INT32_C(5000), in test_fetch_accel_with_range() 125 zassert_within(expect_ug, actual_ug, INT32_C(5000), in test_fetch_accel_with_range() 130 zassert_within(expect_ug, actual_ug, INT32_C(5000), in test_fetch_accel_with_range() 140 (int16_t)((INT16_MAX * INT32_C(91)) / INT32_C(100)), in ZTEST_F() 206 (int16_t)((INT16_MAX * INT32_C(15)) / INT32_C(100)), in ZTEST_F() 207 (int16_t)((INT16_MAX * INT32_C(68)) / INT32_C(100)), in ZTEST_F() 208 (int16_t)((INT16_MAX * INT32_C(-22)) / INT32_C(100)), in ZTEST_F()
|
/Zephyr-latest/tests/misc/print_format/src/ |
D | main.c | 13 printk("d%" PRId32 "\n", INT32_C(32)); in main() 18 printk("i%" PRIi32 "\n", INT32_C(32)); in main() 23 printk("o%" PRIo32 "\n", INT32_C(32)); in main()
|
/Zephyr-latest/include/zephyr/toolchain/ |
D | xcc.h | 87 #ifndef INT32_C 88 #define INT32_C(x) __INT32_C(x) macro
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdint.h | 114 #define INT32_C(_v) __INT32_C(_v) macro 162 #ifndef INT32_C 163 #define INT32_C(x) __INT32_C(x) macro
|
/Zephyr-latest/tests/drivers/sensor/akm09918c/src/ |
D | main.c | 98 (int16_t)(INT16_C(AKM09918C_MAGN_MAX_DATA_REG) * INT32_C(91) / INT32_C(100)), in ZTEST_F()
|
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | sensor.c | 36 const int32_t pres_ovf_check = INT32_C(0x40000000); in calculate_pressure()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | bmi160.c | 755 int32_t ug = data[i] * INT32_C(3900); in bmi160_attr_get()
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 306 if (value > INT32_C(999999)) { in parse_sensor_value()
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 149 && (INT32_C(-4) == -4) \ in ZTEST()
|