Home
last modified time | relevance | path

Searched refs:test2 (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/unit/crc/
Dmain.c19 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
25 zassert_equal(crc32_c(0, test2, sizeof(test2), true, true), in ZTEST()
37 zassert_equal(crc32_c(0x1E923211, test2, sizeof(test2), false, false), in ZTEST()
46 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
50 zassert_equal(crc32_ieee(test2, sizeof(test2)), 0xCBF43926); in ZTEST()
57 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
61 zassert_equal(crc24_pgp(test2, sizeof(test2)), 0x0021CF02); in ZTEST()
65 zassert_equal(crc24_pgp_update(CRC24_PGP_INITIAL_VALUE, test2, 3), 0x0009DF67); in ZTEST()
66 zassert_equal(crc24_pgp_update(0x0009DF67, test2 + 3, 2), 0x00BA353A); in ZTEST()
67 zassert_equal(crc24_pgp_update(0x00BA353A, test2 + 5, 4), 0x0021CF02); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dtest_module2.c17 LOG_MODULE_REGISTER(test2, 0);
Dmain.c104 test2_source_id = log_source_id_get(STRINGIFY(test2)); in log_setup()
/Zephyr-latest/tests/subsys/settings/functional/src/
Dsettings_basic_test.c85 const char test2[] = "bt/a/b/c/d="; in ZTEST() local
93 rc = settings_name_steq(test2, "bt/a/b/c/d", &next2); in ZTEST()
102 rc = settings_name_steq(test2, "bt/a/b/c", &next2); in ZTEST()
105 zassert_equal_ptr(next2, test2+9, "next points to wrong location"); in ZTEST()
111 rc = settings_name_steq(test2, "bta", &next2); in ZTEST()
119 rc = settings_name_steq(test2, "b", &next2); in ZTEST()
128 rc = settings_name_next(test2, &next2); in ZTEST()
131 zassert_equal_ptr(next2, test2+3, "next points to wrong location"); in ZTEST()
141 zassert_equal_ptr(next2, test2+5, "next points to wrong location"); in ZTEST()
/Zephyr-latest/tests/crypto/crypto_hash/src/
Dmain.c23 uint8_t test2[] = {0xbd}; variable
/Zephyr-latest/tests/net/lib/dns_packet/src/
Dmain.c472 struct dns_response_test test1, test2; in ZTEST() local
482 memcpy(&test2, &test, sizeof(test2)); in ZTEST()
483 rc = eval_response1(&test2, true); in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/
Dmain.c72 uint32_t test2; member
114 &slot_data->test2), in parse_slot_entries()
509 zassert_equal(current_slot->test2, in ZTEST()