Searched refs:frag_index (Results 1 – 9 of 9) sorted by relevance
92 memset(ah->frag_index, 0, sizeof(ah->frag_index)); in _lws_header_table_reset()466 n = wsi->http.ah->frag_index[h]; in lws_hdr_fragment_length()486 n = wsi->http.ah->frag_index[h]; in lws_hdr_total_length()510 f = wsi->http.ah->frag_index[h]; in lws_hdr_copy_fragment()547 n = wsi->http.ah->frag_index[h]; in lws_hdr_copy()688 n = wsi->http.ah->frag_index[h]; in lws_hdr_simple_ptr()730 wsi->http.ah->frag_index[h] = 0; in lws_hdr_simple_create()741 wsi->http.ah->frag_index[h] = wsi->http.ah->nfrag; in lws_hdr_simple_create()844 if (!c && (!ah->frag_index[WSI_TOKEN_HTTP_URI_ARGS] || in lws_parse_urldecode()881 ah->frag_index[WSI_TOKEN_HTTP_URI_ARGS] && in lws_parse_urldecode()[all …]
120 uint8_t frag_index[WSI_TOKEN_COUNT]; member
568 f = wsi->http.ah->frag_index[WSI_TOKEN_HTTP_SET_COOKIE]; in lws_parse_set_cookie()
1231 MOVFragmentIndex *frag_index, in get_frag_stream_info() argument1238 if (index < 0 || index >= frag_index->nb_items) in get_frag_stream_info()1240 item = &frag_index->item[index]; in get_frag_stream_info()1249 static void set_frag_stream(MOVFragmentIndex *frag_index, int id) in set_frag_stream() argument1254 if (frag_index->current < 0 || in set_frag_stream()1255 frag_index->current >= frag_index->nb_items) in set_frag_stream()1258 item = &frag_index->item[frag_index->current]; in set_frag_stream()1270 MOVFragmentIndex *frag_index) in get_current_frag_stream_info() argument1273 if (frag_index->current < 0 || in get_current_frag_stream_info()1274 frag_index->current >= frag_index->nb_items) in get_current_frag_stream_info()[all …]
298 MOVFragmentIndex frag_index; member
225 if (ah->nfrag >= LWS_ARRAY_SIZE(ah->frag_index)) { in lws_frag_start()235 ah->frag_index[hdr_token_idx]) { in lws_frag_start()236 if (!(ah->frags[ah->frag_index[hdr_token_idx]].flags & 1)) { in lws_frag_start()258 if (ah->frag_index[hdr_token_idx]) { in lws_frag_start()262 n = ah->frag_index[hdr_token_idx]; in lws_frag_start()268 ah->frag_index[hdr_token_idx] = ah->nfrag; in lws_frag_start()305 n = ah->frag_index[h]; in lws_hdr_extant()
1800 h2n->swsi->http.ah->frag_index[method_index[n]] = in lws_h2_parse_end_of_frame()1801 h2n->swsi->http.ah->frag_index[ in lws_h2_parse_end_of_frame()
753 wsi->http.ah->frags[wsi->http.ah->frag_index[ in lws_client_interpret_server_handshake()
776 wsi->http.ah->frag_index[WSI_TOKEN_HTTP_RANGE] = 0; in lws_http_serve()1169 fi = wsi->http.ah->frag_index[WSI_TOKEN_HTTP_AUTHORIZATION]; in lws_check_basic_auth()