Home
last modified time | relevance | path

Searched refs:RETURN_SUCCESS (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/pipe/pipe/src/
Dtest_pipe.c45 #define RETURN_SUCCESS (0) macro
59 { 1, ALL_BYTES, 1, RETURN_SUCCESS },
60 { PIPE_SIZE - 1, ALL_BYTES, PIPE_SIZE - 1, RETURN_SUCCESS },
61 { PIPE_SIZE, ALL_BYTES, PIPE_SIZE, RETURN_SUCCESS },
65 { 1, ATLEAST_1, 1, RETURN_SUCCESS },
66 { PIPE_SIZE - 1, ATLEAST_1, PIPE_SIZE - 1, RETURN_SUCCESS },
67 { PIPE_SIZE, ATLEAST_1, PIPE_SIZE, RETURN_SUCCESS },
68 { PIPE_SIZE + 1, ATLEAST_1, PIPE_SIZE, RETURN_SUCCESS },
71 { 1, NO_CONSTRAINT, 1, RETURN_SUCCESS },
72 { PIPE_SIZE - 1, NO_CONSTRAINT, PIPE_SIZE - 1, RETURN_SUCCESS },
[all …]
/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c18 #define RETURN_SUCCESS (0) macro
116 RETURN_SUCCESS, "fail to fetch sample"); in ZTEST()
119 &data), RETURN_SUCCESS, "fail to get channel"); in ZTEST()
126 zassert_equal(sensor_sample_fetch(dev), RETURN_SUCCESS, in ZTEST()
131 &data), RETURN_SUCCESS, "fail to get channel"); in ZTEST()
140 &data), RETURN_SUCCESS, "should fail for invalid channel"); in ZTEST()
202 zassert_equal(sensor_sample_fetch(dev), RETURN_SUCCESS, in ZTEST()
212 RETURN_SUCCESS, "fail to set attributes"); in ZTEST()
219 RETURN_SUCCESS, "fail to get attributes"); in ZTEST()
229 RETURN_SUCCESS, "fail to set trigger"); in ZTEST()
[all …]