/tests/unit/util/ |
A D | main.c | 304 zassert_equal(array[0], 1, "Unexpected value %d", array[0]); in ZTEST() 305 zassert_equal(array[1], 2, "Unexpected value %d", array[1]); in ZTEST() 306 zassert_equal(array[2], 3, "Unexpected value %d", array[2]); in ZTEST() 518 zassert_false(IS_ARRAY_ELEMENT(array, &array[-1])); in ZTEST() 519 zassert_false(IS_ARRAY_ELEMENT(array, &array[ARRAY_SIZE(array)])); in ZTEST() 523 zassert_true(IS_ARRAY_ELEMENT(array, &array[i])); in ZTEST() 533 zassert_equal(array[ARRAY_INDEX(array, &array[i])], i); in ZTEST() 574 zassert_false(PART_OF_ARRAY(array, &array[-1])); in ZTEST() 575 zassert_false(PART_OF_ARRAY(array, &array[ARRAY_SIZE(array)])); in ZTEST() 578 zassert_true(PART_OF_ARRAY(array, &array[i])); in ZTEST() [all …]
|
/tests/lib/cpp/libcxx/src/ |
A D | main.cpp | 16 std::array<int, 4> array = {1, 2, 3, 4}; variable 21 zassert_equal(array.size(), 4, "unexpected size"); in ZTEST() 22 zassert_equal(array[0], 1, "array[0] wrong"); in ZTEST() 23 zassert_equal(array[3], 4, "array[3] wrong"); in ZTEST() 25 std::array<uint8_t, 2> local = {1, 2}; in ZTEST() 34 for (auto v : array) { in ZTEST() 37 zassert_equal(vector.size(), array.size(), "vector store failed"); in ZTEST()
|
/tests/subsys/logging/log_msg/src/ |
A D | main.c | 268 static const uint8_t array[] = {1, 2, 3, 4}; in ZTEST() local 272 Z_LOG_MSG_CREATE3(1, mode, 0, domain, source, level, array, in ZTEST() 273 sizeof(array)); in ZTEST() 277 sizeof(array)); in ZTEST() 281 sizeof(array), 0, NULL); in ZTEST() 285 array, sizeof(array), NULL); in ZTEST() 297 static const uint8_t array[] = {1, 2, 3, 4}; in ZTEST() local 302 sizeof(array), TEST_MSG); in ZTEST() 306 sizeof(array), TEST_MSG); in ZTEST() 310 sizeof(array), 0, TEST_MSG); in ZTEST() [all …]
|
/tests/benchmarks/ipi_metric/src/ |
A D | ipi_metric_primitive.c | 40 unsigned long *array = p2; in work_entry() local 47 array[i] = (array[i] + counter) ^ array[i]; in work_entry()
|
A D | ipi_metric_preemptive.c | 41 unsigned long *array = p2; in work_entry() local 48 array[i] = (array[i] + counter) ^ array[i]; in work_entry()
|
/tests/subsys/dsp/utils/src/ |
A D | q15.c | 15 #define DEFINE_MULTIPLE_TEST_CASES(constructor, variant, array) \ argument 16 FOR_EACH_IDX_FIXED_ARG(constructor, (), variant, array)
|
A D | q31.c | 15 #define DEFINE_MULTIPLE_TEST_CASES(constructor, variant, array) \ argument 16 FOR_EACH_IDX_FIXED_ARG(constructor, (), variant, array)
|
A D | q7.c | 15 #define DEFINE_MULTIPLE_TEST_CASES(constructor, variant, array) \ argument 16 FOR_EACH_IDX_FIXED_ARG(constructor, (), variant, array)
|
A D | f32.c | 15 #define DEFINE_MULTIPLE_TEST_CASES(constructor, variant, array) \ argument 16 FOR_EACH_IDX_FIXED_ARG(constructor, (), variant, array)
|
A D | f64.c | 15 #define DEFINE_MULTIPLE_TEST_CASES(constructor, variant, array) \ argument 16 FOR_EACH_IDX_FIXED_ARG(constructor, (), variant, array)
|
/tests/drivers/gpio/gpio_basic_api/dts/bindings/ |
A D | test-gpio-basic-api.yaml | 15 type: phandle-array 23 type: phandle-array
|
/tests/lib/devicetree/api/ |
A D | app.overlay | 47 test_arrays: array-holder { 118 compatible = "vnd,enum-string-array-holder"; 123 compatible = "vnd,enum-int-array-holder"; 752 compatible = "vnd,string-array-token"; 759 compatible = "vnd,string-array-token"; 796 compatible = "vnd,string-array-unquoted"; 801 compatible = "vnd,string-array-unquoted"; 812 * so use vnd,string-array instead. 815 compatible = "vnd,string-array"; 839 test_stra_escape: string-array-escape { [all …]
|
/tests/modules/thrift/ThriftTest/src/ |
A D | context.hpp | 27 std::array<int, CLIENT + 1> fds;
|
/tests/drivers/clock_control/pwm_clock/dts/bindings/ |
A D | test-clock-control-clock-pwm.yaml | 10 description: Clock phandle array
|
/tests/drivers/gpio/gpio_api_1pin/dts/bindings/ |
A D | test-gpio-external-pulldown.yaml | 15 type: phandle-array
|
/tests/drivers/regulator/voltage/dts/bindings/ |
A D | test-regulator-voltage.yaml | 19 type: phandle-array 26 type: array
|
/tests/kernel/timer/timer_behavior/dts/bindings/ |
A D | timer-behavior-external.yaml | 14 type: phandle-array
|
/tests/drivers/pwm/pwm_loopback/dts/bindings/ |
A D | test-pwm-loopback.yaml | 15 type: phandle-array
|
/tests/lib/json/src/ |
A D | main.c | 221 struct array { struct 226 struct array objects_array[4]; argument 231 JSON_OBJ_DESCR_OBJECT(struct array, objects, elt_descr), 290 struct test_element array[5]; member 301 JSON_OBJ_DESCR_OBJ_ARRAY(struct test_outer, array, 5, 312 struct test_alignment_nested array[3]; member 323 JSON_OBJ_DESCR_OBJ_ARRAY(struct test_alignment_bool, array, 3, num_elements, 2112 zassert_equal(o.array[0].int1, 1, "Element 0 int1 not decoded correctly"); in ZTEST() 2113 zassert_equal(o.array[0].int2, 2, "Element 0 int2 not decoded correctly"); in ZTEST() 2114 zassert_equal(o.array[0].int3, 3, "Element 0 int3 not decoded correctly"); in ZTEST() [all …]
|
/tests/drivers/regulator/fixed/dts/bindings/ |
A D | test-regulator-fixed.yaml | 12 type: phandle-array
|
/tests/modules/thrift/ThriftTest/ |
A D | CMakeLists.txt | 44 # convert .pem files to array data at build time
|
/tests/bsim/bluetooth/mesh/src/ |
A D | test_sar.c | 176 static void array_random_fill(uint8_t array[], uint16_t len, int seed) in array_random_fill() argument 181 array[i] = rand() % 100; in array_random_fill()
|
/tests/bsim/bluetooth/mesh/ |
A D | README.rst | 31 ``$SKIP`` array environment variable before calling ``RunTest``. This causes 33 array, so that they can be started independently in gdb, valgrind or some other
|
/tests/lib/devicetree/api/src/ |
A D | main.c | 2018 int array[] = { in ZTEST() local 2022 zassert_equal(ARRAY_SIZE(array), 3, ""); in ZTEST() 2023 zassert_equal(array[0], 2003, ""); in ZTEST() 2024 zassert_equal(array[1], 4003, ""); in ZTEST() 2025 zassert_equal(array[2], 6003, ""); in ZTEST() 2047 zassert_equal(ARRAY_SIZE(inst_array), ARRAY_SIZE(array), ""); in ZTEST() 2048 zassert_equal(inst_array[0], array[0], ""); in ZTEST() 2049 zassert_equal(inst_array[1], array[1], ""); in ZTEST() 2050 zassert_equal(inst_array[2], array[2], ""); in ZTEST() 2790 if (array[i] == ord) { in ord_in_array() [all …]
|
/tests/subsys/modem/modem_ubx/src/ |
A D | main.c | 69 .array = unsol_matches, in test_setup()
|