Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/http_server/hpack/src/
Dmain.c17 static struct huffman_codes test_huffman_codes[] = { variable
87 uint8_t pad_len = 32 - test_huffman_codes[index].bitlen; in test_huffman_code_prepare()
89 *buf = test_huffman_codes[index].code; in test_huffman_code_prepare()
100 ARRAY_FOR_EACH(test_huffman_codes, i) { in ZTEST()
101 uint8_t expected_len = DIV_ROUND_UP(test_huffman_codes[i].bitlen, 8); in ZTEST()
118 ARRAY_FOR_EACH(test_huffman_codes, i) { in ZTEST()
119 uint8_t buflen = DIV_ROUND_UP(test_huffman_codes[i].bitlen, 8); in ZTEST()
136 uint8_t str[ARRAY_SIZE(test_huffman_codes)]; in ZTEST()
141 expected_len += test_huffman_codes[i].bitlen; in ZTEST()
154 expected_len += test_huffman_codes[i].bitlen; in ZTEST()