Lines Matching refs:payload_len

134                      dec->payload_offset, dec->payload_len);  in ws_dec_info()
146 curl_off_t payload_len,
156 dec->payload_len = 0; in ws_dec_reset()
226 dec->payload_len = dec->head[1]; in ws_dec_read_head()
229 dec->payload_len = (dec->head[2] << 8) | dec->head[3]; in ws_dec_read_head()
236 dec->payload_len = ((curl_off_t)dec->head[2] << 56) | in ws_dec_read_head()
270 curl_off_t remain = dec->payload_len - dec->payload_offset; in ws_dec_pass_payload()
277 dec->payload_offset, dec->payload_len, in ws_dec_pass_payload()
283 remain = dec->payload_len - dec->payload_offset; in ws_dec_pass_payload()
320 if(dec->payload_len == 0) { in ws_dec_pass()
350 curl_off_t payload_len, in update_meta() argument
357 ws->frame.bytesleft = (payload_len - payload_offset - cur_len); in update_meta()
392 curl_off_t payload_len, in ws_cw_dec_next() argument
399 curl_off_t remain = (payload_len - (payload_offset + buflen)); in ws_cw_dec_next()
414 payload_len, buflen); in ws_cw_dec_next()
500 enc->payload_len - enc->payload_remain, enc->payload_len); in ws_enc_info()
541 curl_off_t payload_len, in ws_enc_write_head() argument
551 if(payload_len < 0) { in ws_enc_write_head()
553 FMT_OFF_T, payload_len); in ws_enc_write_head()
595 if(payload_len > 65535) { in ws_enc_write_head()
597 head[2] = (unsigned char)((payload_len >> 56) & 0xff); in ws_enc_write_head()
598 head[3] = (unsigned char)((payload_len >> 48) & 0xff); in ws_enc_write_head()
599 head[4] = (unsigned char)((payload_len >> 40) & 0xff); in ws_enc_write_head()
600 head[5] = (unsigned char)((payload_len >> 32) & 0xff); in ws_enc_write_head()
601 head[6] = (unsigned char)((payload_len >> 24) & 0xff); in ws_enc_write_head()
602 head[7] = (unsigned char)((payload_len >> 16) & 0xff); in ws_enc_write_head()
603 head[8] = (unsigned char)((payload_len >> 8) & 0xff); in ws_enc_write_head()
604 head[9] = (unsigned char)(payload_len & 0xff); in ws_enc_write_head()
607 else if(payload_len >= 126) { in ws_enc_write_head()
609 head[2] = (unsigned char)((payload_len >> 8) & 0xff); in ws_enc_write_head()
610 head[3] = (unsigned char)(payload_len & 0xff); in ws_enc_write_head()
614 head[1] = (unsigned char)payload_len | WSBIT_MASK; in ws_enc_write_head()
618 enc->payload_remain = enc->payload_len = payload_len; in ws_enc_write_head()
854 curl_off_t payload_len; member
861 curl_off_t payload_len, in ws_client_collect() argument
867 curl_off_t remain = (payload_len - (payload_offset + buflen)); in ws_client_collect()
874 ctx->payload_len = payload_len; in ws_client_collect()
996 ctx.payload_len, ctx.bufidx); in curl_ws_recv()