Home
last modified time | relevance | path

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

/packages/modules/Connectivity/clatd/
Dclatd_test.cpp384 int hexdump_len = len * 3 + (len / 20 + 1) * 5; in check_data_matches() local
385 char expected_hexdump[hexdump_len], actual_hexdump[hexdump_len]; in check_data_matches()
389 snprintf(expected_hexdump + pos, hexdump_len - pos, "\n "); in check_data_matches()
390 snprintf(actual_hexdump + pos, hexdump_len - pos, "\n "); in check_data_matches()
393 snprintf(expected_hexdump + pos, hexdump_len - pos, " %02x", ((uint8_t *)expected)[i]); in check_data_matches()
394 snprintf(actual_hexdump + pos, hexdump_len - pos, " %02x", ((uint8_t *)actual)[i]); in check_data_matches()