Lines Matching refs:TEST_ARRAYS

22 #define TEST_ARRAYS	DT_NODELABEL(test_arrays)  macro
111 #define TA_HAS_COMPAT(compat) DT_NODE_HAS_COMPAT(TEST_ARRAYS, compat)
1605 static int a[] = DT_PROP(TEST_ARRAYS, a);
1606 static unsigned char b[] = DT_PROP(TEST_ARRAYS, b);
1607 static char *c[] = DT_PROP(TEST_ARRAYS, c);
1621 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 0), ""); in ZTEST()
1622 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 1), ""); in ZTEST()
1623 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 2), ""); in ZTEST()
1624 zassert_false(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 3), ""); in ZTEST()
1632 COND_CODE_1(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 0), (ok = 1;), ()); in ZTEST()
1635 COND_CODE_0(DT_PROP_HAS_IDX(TEST_ARRAYS, a, 3), (ok = 1;), ()); in ZTEST()
1638 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, a, 0), a[0], ""); in ZTEST()
1639 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, a, 1), a[1], ""); in ZTEST()
1640 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, a, 2), a[2], ""); in ZTEST()
1641 zassert_equal(DT_PROP_LAST(TEST_ARRAYS, a), a[2], ""); in ZTEST()
1643 zassert_equal(DT_PROP_LEN(TEST_ARRAYS, a), 3, ""); in ZTEST()
1650 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, b, 0), ""); in ZTEST()
1651 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, b, 1), ""); in ZTEST()
1652 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, b, 2), ""); in ZTEST()
1653 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, b, 3), ""); in ZTEST()
1654 zassert_false(DT_PROP_HAS_IDX(TEST_ARRAYS, b, 4), ""); in ZTEST()
1656 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, b, 0), b[0], ""); in ZTEST()
1657 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, b, 1), b[1], ""); in ZTEST()
1658 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, b, 2), b[2], ""); in ZTEST()
1659 zassert_equal(DT_PROP_BY_IDX(TEST_ARRAYS, b, 3), b[3], ""); in ZTEST()
1661 zassert_equal(DT_PROP_LEN(TEST_ARRAYS, b), 4, ""); in ZTEST()
1666 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, c, 0), ""); in ZTEST()
1667 zassert_true(DT_PROP_HAS_IDX(TEST_ARRAYS, c, 1), ""); in ZTEST()
1668 zassert_false(DT_PROP_HAS_IDX(TEST_ARRAYS, c, 2), ""); in ZTEST()
1670 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_ARRAYS, c, 0), c[0]), ""); in ZTEST()
1671 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_ARRAYS, c, 1), c[1]), ""); in ZTEST()
1673 zassert_equal(DT_PROP_LEN(TEST_ARRAYS, c), 2, ""); in ZTEST()
1853 DT_FOREACH_PROP_ELEM(TEST_ARRAYS, a, TIMES_TWO) in ZTEST()
1862 DT_FOREACH_PROP_ELEM(TEST_ARRAYS, b, TIMES_TWO) in ZTEST()
1872 DT_FOREACH_PROP_ELEM(TEST_ARRAYS, c, BY_IDX_COMMA) in ZTEST()
1936 DT_FOREACH_PROP_ELEM_SEP(TEST_ARRAYS, a, DT_PROP_BY_IDX, (,)) in ZTEST()
1973 DT_FOREACH_PROP_ELEM_VARGS(TEST_ARRAYS, a, TIMES_TWO_ADD, 3) in ZTEST()
1985 DT_FOREACH_PROP_ELEM_SEP_VARGS(TEST_ARRAYS, a, PROP_PLUS_ARG, in ZTEST()