/Zephyr-latest/tests/unit/crc/ |
D | main.c | 18 uint8_t test1[] = { 'A' }; in ZTEST() local 23 zassert_equal(crc32_c(0, test1, sizeof(test1), true, true), in ZTEST() 35 zassert_equal(crc32_c(0, test1, sizeof(test1), true, false), in ZTEST() 45 uint8_t test1[] = { 'A' }; in ZTEST() local 49 zassert_equal(crc32_ieee(test1, sizeof(test1)), 0xD3D99E8B); in ZTEST() 56 uint8_t test1[] = { 'A' }; in ZTEST() local 60 zassert_equal(crc24_pgp(test1, sizeof(test1)), 0x00FE86FA); in ZTEST() 106 uint8_t test1[] = { 'A' }; in ZTEST() local 112 zassert_equal(crc16_ccitt(0, test1, sizeof(test1)), 0x538d); in ZTEST() 179 uint8_t test1[] = { 'A' }; in ZTEST() local [all …]
|
/Zephyr-latest/tests/subsys/settings/functional/src/ |
D | settings_basic_test.c | 84 const char test1[] = "bt/a/b/c/d"; in ZTEST() local 90 rc = settings_name_steq(test1, "bt/a/b/c/d", &next1); in ZTEST() 98 rc = settings_name_steq(test1, "bt/a/b/c", &next1); in ZTEST() 101 zassert_equal_ptr(next1, test1+9, "next points to wrong location"); in ZTEST() 108 rc = settings_name_steq(test1, "bta", &next1); in ZTEST() 116 rc = settings_name_steq(test1, "b", &next1); in ZTEST() 124 rc = settings_name_next(test1, &next1); in ZTEST() 127 zassert_equal_ptr(next1, test1+3, "next points to wrong location"); in ZTEST() 137 zassert_equal_ptr(next1, test1+5, "next points to wrong location"); in ZTEST()
|
/Zephyr-latest/tests/net/lib/dns_packet/src/ |
D | main.c | 472 struct dns_response_test test1, test2; in ZTEST() local 475 memcpy(&test1, &test, sizeof(test1)); in ZTEST() 476 rc = eval_response1(&test1, false); in ZTEST() 510 struct dns_response_test test1 = { in ZTEST() local 526 rc = eval_response1(&test1, true); in ZTEST() 569 struct dns_response_test test1 = { in ZTEST() local 584 rc = eval_response1(&test1, true); in ZTEST()
|
/Zephyr-latest/tests/crypto/crypto_hash/src/ |
D | main.c | 22 uint8_t test1[] = {}; variable
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | main.c | 82 uint32_t test1; member 167 &image_data->test1), in parse_images_entries() 486 zassert_equal(current_image->test1, (i + 18), "Expected data mismatch"); in ZTEST()
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 1160 time_t test1 = 1718260000; in ZTEST() local 1165 zassert_not_null(ctime_r(&test1, buf)); in ZTEST() 1168 zassert_not_null(ctime(&test1)); in ZTEST() 1169 zassert_equal(strncmp("Thu Jun 13 06:26:40 2024\n", ctime(&test1), sizeof(buf)), 0); in ZTEST()
|
/Zephyr-latest/tests/unit/util/ |
D | main.c | 291 uint8_t test1[] = { 0, FOR_EACH(FOR_EACH_MACRO_TEST2, (,), 1)}; in ZTEST() local 293 BUILD_ASSERT(sizeof(test1) == 2, "Unexpected length due to FOR_EACH fail"); in ZTEST()
|