Lines Matching refs:used_entries
397 if (index >= (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries) { in lws_token_from_index()
399 (int)LWS_ARRAY_SIZE(static_token) + dyn->used_entries); in lws_token_from_index()
439 dyn->used_entries, dyn->num_entries, dyn->pos, in lws_h2_dynamic_table_dump()
443 for (n = 0; n < dyn->used_entries; n++) { in lws_h2_dynamic_table_dump()
472 dyn->used_entries--; in lws_dynamic_free()
510 if (dyn->num_entries && dyn->used_entries == dyn->num_entries) { in lws_dynamic_token_insert()
524 dyn->used_entries && in lws_dynamic_token_insert()
527 int n = (dyn->pos - dyn->used_entries) % dyn->num_entries; in lws_dynamic_token_insert()
533 if (dyn->used_entries < dyn->num_entries) in lws_dynamic_token_insert()
534 dyn->used_entries++; in lws_dynamic_token_insert()
627 if (min > dyn->used_entries) in lws_hpack_dynamic_size()
628 min = dyn->used_entries; in lws_hpack_dynamic_size()
642 while (dyn->virtual_payload_usage && dyn->used_entries && in lws_hpack_dynamic_size()
644 n = (dyn->pos - dyn->used_entries) % dyn->num_entries; in lws_hpack_dynamic_size()
650 if (min > dyn->used_entries) in lws_hpack_dynamic_size()
651 min = dyn->used_entries; in lws_hpack_dynamic_size()
655 m = (dyn->pos - dyn->used_entries + n) % in lws_hpack_dynamic_size()
667 dyn->used_entries = min; in lws_hpack_dynamic_size()