Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt04.c29 unsigned int sndbuf, rec_sndbuf; in run() local
32 sndbuf = SNDBUF; in run()
34 optlen = sizeof(sndbuf); in run()
36 SAFE_SETSOCKOPT(sockfd, SOL_SOCKET, SO_SNDBUFFORCE, &sndbuf, optlen); in run()
39 tst_res(TINFO, "Try to set send buffer size to: %u", sndbuf); in run()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/sun/
DSDL_sunaudio.c123 Uint8 *sndbuf; in SUNAUDIO_PlayDevice() local
125 sndbuf = this->hidden->mixbuf; in SUNAUDIO_PlayDevice()
127 *aubuf = snd2au((0x80 - *sndbuf) * 64); in SUNAUDIO_PlayDevice()
131 sndbuf += 1; in SUNAUDIO_PlayDevice()
139 Sint16 *sndbuf; in SUNAUDIO_PlayDevice() local
141 sndbuf = (Sint16 *) this->hidden->mixbuf; in SUNAUDIO_PlayDevice()
143 *aubuf = snd2au(*sndbuf / 4); in SUNAUDIO_PlayDevice()
147 sndbuf += 1; in SUNAUDIO_PlayDevice()
/third_party/libuv/test/
Dtest-udp-alloc-cb-fail.c115 uv_buf_t sndbuf; in sv_recv_cb() local
141 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb()
142 r = uv_udp_send(req, handle, &sndbuf, 1, addr, sv_send_cb); in sv_recv_cb()
Dtest-udp-send-and-recv.c122 uv_buf_t sndbuf; in sv_recv_cb() local
152 sndbuf = uv_buf_init("PONG", 4); in sv_recv_cb()
153 r = uv_udp_send(req, handle, &sndbuf, 1, addr, sv_send_cb); in sv_recv_cb()
Decho-server.c232 uv_buf_t sndbuf; in on_recv() local
245 sndbuf = uv_buf_init(rcvbuf->base, nread); in on_recv()
246 ASSERT(0 <= uv_udp_send(req, handle, &sndbuf, 1, addr, on_send)); in on_recv()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_unix.c81 int sndbuf, outq; in wpas_ctrl_sock_debug() local
87 optlen = sizeof(sndbuf); in wpas_ctrl_sock_debug()
88 sndbuf = 0; in wpas_ctrl_sock_debug()
89 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0) in wpas_ctrl_sock_debug()
90 sndbuf = -1; in wpas_ctrl_sock_debug()
97 title, sock, sndbuf, outq, (int) len); in wpas_ctrl_sock_debug()
296 int sndbuf, outq; in wpas_ctrl_iface_throttle() local
298 optlen = sizeof(sndbuf); in wpas_ctrl_iface_throttle()
299 sndbuf = 0; in wpas_ctrl_iface_throttle()
300 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0 || in wpas_ctrl_iface_throttle()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_unix.c81 int sndbuf, outq; in wpas_ctrl_sock_debug() local
87 optlen = sizeof(sndbuf); in wpas_ctrl_sock_debug()
88 sndbuf = 0; in wpas_ctrl_sock_debug()
89 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0) in wpas_ctrl_sock_debug()
90 sndbuf = -1; in wpas_ctrl_sock_debug()
97 title, sock, sndbuf, outq, (int) len); in wpas_ctrl_sock_debug()
286 int sndbuf, outq; in wpas_ctrl_iface_throttle() local
288 optlen = sizeof(sndbuf); in wpas_ctrl_iface_throttle()
289 sndbuf = 0; in wpas_ctrl_iface_throttle()
290 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0 || in wpas_ctrl_iface_throttle()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/audio/directsound/
DSDL_directsound.c392 LPDIRECTSOUNDBUFFER *sndbuf = &this->hidden->mixbuf; in CreateSecondary() local
405 result = IDirectSound_CreateSoundBuffer(sndObj, &format, sndbuf, NULL); in CreateSecondary()
409 IDirectSoundBuffer_SetFormat(*sndbuf, wfmt); in CreateSecondary()
412 result = IDirectSoundBuffer_Lock(*sndbuf, 0, format.dwBufferBytes, in CreateSecondary()
418 IDirectSoundBuffer_Unlock(*sndbuf, in CreateSecondary()
/third_party/ffmpeg/libavformat/
Dlibsrt.c84 int sndbuf; member
132 …buffer size (in bytes)", OFFSET(sndbuf), AV_OPT…
340 …(s->sndbuf >= 0 && libsrt_setsockopt(h, fd, SRTO_SNDBUF, "SRTO_SNDBUF", &s->sndbuf, sizeof(s->sndb… in libsrt_set_options_pre()
600 s->sndbuf = strtol(buf, NULL, 10); in libsrt_open()
/third_party/lwip/src/core/
Daltcp.c421 if (conn && conn->fns && conn->fns->sndbuf) { in altcp_sndbuf()
422 return conn->fns->sndbuf(conn); in altcp_sndbuf()
/third_party/lwip/src/include/lwip/priv/
Daltcp_priv.h109 altcp_sndbuf_fn sndbuf; member
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c1089 u16_t sndbuf = altcp_sndbuf(conn->inner_conn); in altcp_mbedtls_sndbuf() local
1095 if (ssl_added < sndbuf) { in altcp_mbedtls_sndbuf()
1104 ret = LWIP_MIN(sndbuf - ssl_added, max_len); in altcp_mbedtls_sndbuf()
/third_party/ffmpeg/doc/
Dprotocols.texi1527 @item sndbuf=@var{bytes}
/third_party/lwip/
DCHANGELOG3983 * tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is