Searched refs:sendlen (Results 1 - 5 of 5) sorted by relevance
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-udp/ |
H A D | minimal-raw-adopt-udp.c | 37 static size_t sendlen; variable 66 sendlen = len; in callback_raw_test() 67 if (sendlen > sizeof(sendbuf)) in callback_raw_test() 68 sendlen = sizeof(sendbuf); in callback_raw_test() 69 memcpy(sendbuf, in, sendlen); in callback_raw_test() 85 if (!sendlen) in callback_raw_test() 116 sendlen, 0, sa46_sockaddr(&udp.sa46), in callback_raw_test()
|
/third_party/lwip/src/apps/http/ |
H A D | httpd.c | 1003 u16_t hdrlen, sendlen; local 1012 sendlen = len; 1014 while (len && (hs->hdr_index < NUM_FILE_HDR_STRINGS) && sendlen) { 1022 sendlen = (len < (hdrlen - hs->hdr_pos)) ? len : (hdrlen - hs->hdr_pos); 1027 old_sendlen = sendlen; 1036 err = http_write(pcb, ptr, &sendlen, apiflags); 1037 if ((err == ERR_OK) && (old_sendlen != sendlen)) { 1042 sendlen = 0; 1046 hs->hdr_pos += sendlen; 1047 len -= sendlen; [all...] |
/third_party/backends/backend/ |
H A D | xerox_mfp.c | 258 size_t sendlen = cmd[3] + 4; in dev_command() local 267 sendlen = 25; in dev_command() 278 status = dev->io->dev_request(dev, cmd, sendlen, res, &dev->reslen); in dev_command()
|
/third_party/openssl/test/ |
H A D | sslapitest.c | 10368 size_t sendlen = msglen - offset; in test_pipelining() local 10370 if (sendlen > fragsize) in test_pipelining() 10371 sendlen = fragsize; in test_pipelining() 10372 if (!TEST_true(SSL_write_ex(peerb, msg + offset, sendlen, &written)) in test_pipelining() 10373 || !TEST_size_t_eq(written, sendlen)) in test_pipelining()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_session_test.c | 1096 size_t sendlen; in test_nghttp2_session_recv_data_no_auto_flow_control() local 1124 sendlen = 100; in test_nghttp2_session_recv_data_no_auto_flow_control() 1125 rv = nghttp2_session_mem_recv(session, data, sendlen); in test_nghttp2_session_recv_data_no_auto_flow_control() 1126 CU_ASSERT((ssize_t)sendlen == rv); in test_nghttp2_session_recv_data_no_auto_flow_control() 1137 rv = nghttp2_session_mem_recv(session, data + sendlen, in test_nghttp2_session_recv_data_no_auto_flow_control() 1138 NGHTTP2_FRAME_HDLEN + hd.length - sendlen); in test_nghttp2_session_recv_data_no_auto_flow_control() 1139 CU_ASSERT((ssize_t)(NGHTTP2_FRAME_HDLEN + hd.length - sendlen) == rv); in test_nghttp2_session_recv_data_no_auto_flow_control() 1142 CU_ASSERT((int32_t)(NGHTTP2_FRAME_HDLEN + hd.length - sendlen + 1) == in test_nghttp2_session_recv_data_no_auto_flow_control()
|
Completed in 32 milliseconds