Searched refs:bytes_remaining (Results 1 – 3 of 3) sorted by relevance
54 int bytes_remaining; /*!< Bytes left to read of the payload */ member102 ws->frame_state.bytes_remaining = 0; in ws_get_payload_transport_handle()342 if (ws->frame_state.bytes_remaining > len) { in ws_read_payload()343 …Actual data to receive (%d) are longer than ws buffer (%d)", ws->frame_state.bytes_remaining, len); in ws_read_payload()347 bytes_to_read = ws->frame_state.bytes_remaining; in ws_read_payload()355 ws->frame_state.bytes_remaining -= rlen; in ws_read_payload()430 ws->frame_state.bytes_remaining = payload_len; in ws_read_header()491 if (ws->frame_state.bytes_remaining <= 0) { in ws_read()495 ws->frame_state.bytes_remaining = 0; in ws_read()509 ws->frame_state.bytes_remaining = 0; in ws_read()[all …]
289 int bytes_remaining = 1024; variable291 while (bytes_remaining) {292 …bytes_received = uart_read_bytes(uart_num, rd_data + 1024 - bytes_remaining, bytes_remaining, (Tic…296 bytes_remaining -= bytes_received;
242 uint32_t bytes_remaining = length; in emac_opencores_transmit() local246 while (bytes_remaining > 0) { in emac_opencores_transmit()247 uint32_t will_write = MIN(bytes_remaining, DMA_BUF_SIZE); in emac_opencores_transmit()257 bytes_remaining -= will_write; in emac_opencores_transmit()