Searched refs:total_read (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/net/socket/websocket/src/ |
D | main.c | 108 int total_read = 0; in test_recv() local 126 recv_buf + total_read, in test_recv() 127 sizeof(recv_buf) - total_read); in test_recv() 133 total_read += ret; in test_recv() 143 recv_buf + total_read, in test_recv() 144 sizeof(recv_buf) - total_read); in test_recv() 145 zassert_true(ret <= (sizeof(recv_buf) - total_read), in test_recv() 147 total_read += ret; in test_recv() 148 zassert_equal(total_read, sizeof(frame1) - FRAME1_HDR_SIZE, in test_recv() 151 } else if (total_read < (sizeof(frame1) - FRAME1_HDR_SIZE)) { in test_recv() [all …]
|
/Zephyr-latest/samples/net/sockets/websocket_client/src/ |
D | main.c | 169 int total_read; in recv_data_wso_api() local 174 total_read = 0; in recv_data_wso_api() 194 total_read += ret; in recv_data_wso_api() 197 if (remaining != 0 || total_read != amount || in recv_data_wso_api() 201 proto, amount, total_read, remaining); in recv_data_wso_api() 202 LOG_HEXDUMP_DBG(buf, total_read, "received ws buf"); in recv_data_wso_api() 203 LOG_HEXDUMP_DBG(lorem_ipsum, total_read, "sent ws buf"); in recv_data_wso_api() 205 LOG_DBG("%s recv %d bytes", proto, total_read); in recv_data_wso_api()
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 4417 size_t bytes_read, total_read; in hl7800_read_rx() local 4421 bytes_read = 0, total_read = 0; in hl7800_read_rx() 4454 total_read += bytes_read; in hl7800_read_rx() 4457 return total_read; in hl7800_read_rx()
|