Searched refs:sendlen (Results 1 – 4 of 4) sorted by relevance
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-udp/ |
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/ |
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;
|
/third_party/nghttp2/tests/ |
D | nghttp2_session_test.c | 1092 size_t sendlen; in test_nghttp2_session_recv_data_no_auto_flow_control() local 1120 sendlen = 100; in test_nghttp2_session_recv_data_no_auto_flow_control() 1121 rv = nghttp2_session_mem_recv(session, data, sendlen); in test_nghttp2_session_recv_data_no_auto_flow_control() 1122 CU_ASSERT((ssize_t)sendlen == rv); in test_nghttp2_session_recv_data_no_auto_flow_control() 1133 rv = nghttp2_session_mem_recv(session, data + sendlen, in test_nghttp2_session_recv_data_no_auto_flow_control() 1134 NGHTTP2_FRAME_HDLEN + hd.length - sendlen); in test_nghttp2_session_recv_data_no_auto_flow_control() 1135 CU_ASSERT((ssize_t)(NGHTTP2_FRAME_HDLEN + hd.length - sendlen) == rv); in test_nghttp2_session_recv_data_no_auto_flow_control() 1138 CU_ASSERT((int32_t)(NGHTTP2_FRAME_HDLEN + hd.length - sendlen + 1) == in test_nghttp2_session_recv_data_no_auto_flow_control()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctputil.c | 572 sctp_log_block(uint8_t from, struct sctp_association *asoc, ssize_t sendlen) in sctp_log_block() argument 583 sctp_clog.x.blk.sndlen = (uint32_t)sendlen; in sctp_log_block()
|