Lines Matching refs:prefix
414 uint8_t prefix; in http_hpack_decode_header() local
425 prefix = *buf; in http_hpack_decode_header()
427 if ((prefix & HPACK_PREFIX_INDEXED_MASK) == HPACK_PREFIX_INDEXED) { in http_hpack_decode_header()
429 } else if ((prefix & HPACK_PREFIX_LITERAL_INDEXING_MASK) == in http_hpack_decode_header()
432 } else if (((prefix & HPACK_PREFIX_LITERAL_NO_INDEXING_MASK) == in http_hpack_decode_header()
434 ((prefix & HPACK_PREFIX_LITERAL_NEVER_INDEXED_MASK) == in http_hpack_decode_header()
437 } else if ((prefix & HPACK_PREFIX_DYNAMIC_TABLE_SIZE_MASK) == in http_hpack_decode_header()
448 uint8_t prefix, uint8_t n) in hpack_integer_encode() argument
459 *buf = prefix | (uint8_t)value; in hpack_integer_encode()
464 *buf++ = prefix | limit; in hpack_integer_encode()
495 uint8_t prefix = 0; in hpack_string_encode() local
512 prefix = HPACK_STRING_HUFFMAN_FLAG; in hpack_string_encode()
516 ret = hpack_integer_encode(buf, buflen, str_len, prefix, in hpack_string_encode()