Home
last modified time | relevance | path

Searched refs:total_read (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/tests/net/socket/websocket/src/
Dmain.c127 int total_read = 0; in test_recv() local
145 recv_buf + total_read, in test_recv()
146 sizeof(recv_buf) - total_read); in test_recv()
152 total_read += ret; in test_recv()
162 recv_buf + total_read, in test_recv()
163 sizeof(recv_buf) - total_read); in test_recv()
164 zassert_true(ret <= (sizeof(recv_buf) - total_read), in test_recv()
166 total_read += ret; in test_recv()
167 zassert_equal(total_read, sizeof(frame1) - FRAME1_HDR_SIZE, in test_recv()
170 } else if (total_read < (sizeof(frame1) - FRAME1_HDR_SIZE)) { in test_recv()
[all …]
/Zephyr-Core-3.5.0/samples/net/sockets/websocket_client/src/
Dmain.c191 int total_read; in recv_data_wso_api() local
196 total_read = 0; in recv_data_wso_api()
216 total_read += ret; in recv_data_wso_api()
219 if (remaining != 0 || total_read != amount || in recv_data_wso_api()
223 proto, amount, total_read, remaining); in recv_data_wso_api()
224 LOG_HEXDUMP_DBG(buf, total_read, "received ws buf"); in recv_data_wso_api()
225 LOG_HEXDUMP_DBG(lorem_ipsum, total_read, "sent ws buf"); in recv_data_wso_api()
227 LOG_DBG("%s recv %d bytes", proto, total_read); in recv_data_wso_api()
/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c4327 size_t bytes_read, total_read; in hl7800_read_rx() local
4331 bytes_read = 0, total_read = 0; in hl7800_read_rx()
4364 total_read += bytes_read; in hl7800_read_rx()
4367 return total_read; in hl7800_read_rx()