Lines Matching refs:head_len
114 switch(dec->head_len) { in ws_dec_info()
123 if(dec->head_len < dec->head_total) { in ws_dec_info()
127 dec->head_len, dec->head_total); in ws_dec_info()
157 dec->head_len = dec->head_total = 0; in ws_dec_reset()
174 if(dec->head_len == 0) { in ws_dec_read_head()
184 dec->head_len = 1; in ws_dec_read_head()
188 else if(dec->head_len == 1) { in ws_dec_read_head()
191 dec->head_len = 2; in ws_dec_read_head()
213 if(dec->head_len < dec->head_total) { in ws_dec_read_head()
214 dec->head[dec->head_len] = *inbuf; in ws_dec_read_head()
216 ++dec->head_len; in ws_dec_read_head()
217 if(dec->head_len < dec->head_total) { in ws_dec_read_head()
223 DEBUGASSERT(dec->head_len == dec->head_total); in ws_dec_read_head()