Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 9 of 9) sorted by relevance

/hal_rpi_pico-latest/test/pico_float_test/
Dpico_double_test.c35 int test__aeabi_cdcmpeq(double a, double b, int expected) { in test__aeabi_cdcmpeq() argument
38 if (expected != cpsr.flags.z) { in test__aeabi_cdcmpeq()
40 a, b, cpsr.flags.z, expected); in test__aeabi_cdcmpeq()
102 int test_dcmple_gt(double a, double b, int expected) { in test_dcmple_gt() argument
103 if ((a <= b) != expected) { in test_dcmple_gt()
105 a, b, a <= b, expected); in test_dcmple_gt()
108 if ((a > b) == expected && !isnan(a) && !isnan(b)) { in test_dcmple_gt()
110 a, b, a > b, !expected); in test_dcmple_gt()
116 int test_dcmplt_ge(double a, double b, int expected) { in test_dcmplt_ge() argument
117 if ((a < b) != expected) { in test_dcmplt_ge()
[all …]
Dpico_float_test.c34 int test__aeabi_cfcmpeq(float a, float b, int expected) { in test__aeabi_cfcmpeq() argument
37 if (expected != cpsr.flags.z) { in test__aeabi_cfcmpeq()
39 a, b, cpsr.flags.z, expected); in test__aeabi_cfcmpeq()
101 int test_fcmple_gt(float a, float b, int expected) { in test_fcmple_gt() argument
102 if ((a <= b) != expected) { in test_fcmple_gt()
104 a, b, a <= b, expected); in test_fcmple_gt()
107 if ((a > b) == expected && !isnanf(a) && !isnanf(b)) { in test_fcmple_gt()
109 a, b, a > b, !expected); in test_fcmple_gt()
115 int test_fcmplt_ge(float a, float b, int expected) { in test_fcmplt_ge() argument
116 if ((a < b) != expected) { in test_fcmplt_ge()
[all …]
/hal_rpi_pico-latest/test/hardware_irq_test/
Dhardware_irq_test.c82 int dma_check(int expected, ...) { in dma_check() argument
83 if (expected == 0) { in dma_check()
92 va_start(args, expected); in dma_check()
93 bool ok = expected == fire_count; in dma_check()
94 for(int i=0;ok && i<expected;i++) { in dma_check()
104 va_start(args, expected); in dma_check()
105 for(int i=0;i<expected;i++) { in dma_check()
/hal_rpi_pico-latest/src/rp2_common/pico_atomic/
Datomic.c79 _Bool __atomic_compare_exchange_c(uint size, volatile void *ptr, void *expected, in __atomic_compare_exchange_c() argument
82 if (memcmp(remove_volatile_cast_no_barrier(void *, ptr), expected, size) == 0) { in __atomic_compare_exchange_c()
87 memcpy(expected, remove_volatile_cast_no_barrier(void *, ptr), size); in __atomic_compare_exchange_c()
137 bool __atomic_compare_exchange_##n(volatile void *ptr, void *expected, type desired, \
140 if (*(volatile type *)ptr == *(type *)expected) { \
145 *(type *)expected = *(volatile type *)ptr; \
/hal_rpi_pico-latest/test/pico_stdlib_test/
Dpico_stdlib_test.c64 int32_t expected = 1475508680; in test_builtin_bitops() local
65 if (x != expected) { in test_builtin_bitops()
66 printf("FAILED (expected count %d\n", (int) expected); in test_builtin_bitops()
/hal_rpi_pico-latest/bazel/util/
Dlabel_flag_matches.bzl18 doc = "The expected flag value",
/hal_rpi_pico-latest/tools/pioasm/
Dparser.yy211 …| LANG_OPT error { error(@$, "expected format is .lang_opt language option_name…
220 …| MOV_STATUS { error(@0, "expected 'txfifo < N', 'rxfifo < N' or 'irq set N…
309 … { error(@0, pioasm.version_string(1, "expected irq, gpio, pin or jmp_pin", "expecte…
318 …%empty { error(@0, pioasm.version_string(1, "expected txrx, tx, rx, txput, rxget or putget", "e…
/hal_rpi_pico-latest/bazel/
DBUILD.bazel16 # By default, empty header files are included, and users/platforms are expected
/hal_rpi_pico-latest/src/
DCMakeLists.txt50 message(FATAL_ERROR "expected a target, scope and at least one dependency")