Home
last modified time | relevance | path

Searched refs:MSG_PEEK (Results 1 - 25 of 65) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
H A Dpoll-win32.c75 /* BeOS does not have MSG_PEEK. */
76 #ifndef MSG_PEEK
77 # define MSG_PEEK 0 macro
268 r = recv (h, data, sizeof (data), MSG_PEEK); in windows_compute_revents_socket()
306 /* There is a bug in Mac OS X that causes it to ignore MSG_PEEK in compute_revents()
310 r = recv (fd, NULL, 0, MSG_PEEK); in compute_revents()
316 r = recv (fd, data, sizeof (data), MSG_PEEK); in compute_revents()
H A Dpoll-posix.c199 /* There is a bug in Mac OS X that causes it to ignore MSG_PEEK in pa_poll()
203 int r = recv(f->fd, NULL, 0, MSG_PEEK); in pa_poll()
210 if (recv (f->fd, data, 64, MSG_PEEK) == -1) { in pa_poll()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dsend_recv.rs35 /// `MSG_PEEK`
36 const PEEK = c::MSG_PEEK;
/third_party/rust/crates/libc/src/unix/newlib/arm/
H A Dmod.rs49 pub const MSG_PEEK: ::c_int = 2; consts
/third_party/rust/crates/libc/src/unix/newlib/aarch64/
H A Dmod.rs47 pub const MSG_PEEK: ::c_int = 2; consts
/third_party/lwip/test/sockets/
H A Dsockets_stresstest.c269 ret = lwip_recv(s, &buf, 1, MSG_PEEK); in sockets_stresstest_wait_readable_recvtimeo()
298 ret = lwip_recv(s, &buf, 1, MSG_PEEK); in sockets_stresstest_wait_readable_wait_peek()
322 ret = lwip_recv(s, &buf, 1, MSG_PEEK | MSG_DONTWAIT); in sockets_stresstest_wait_readable_nonblock()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
H A Drecvmsg02.c10 * 197c949e7798 udp: properly support MSG_PEEK with truncated buffers
70 R = recvmsg(sdr, &msghdr, MSG_PEEK); in verify_recvmsg()
72 tst_res(TFAIL | TERRNO, "recvmsg(..., MSG_PEEK)"); in verify_recvmsg()
79 tst_res(TPASS, "recvmsg(..., MSG_PEEK) works fine"); in verify_recvmsg()
81 tst_res(TPASS, "recvmsg(..., MSG_PEEK) failed"); in verify_recvmsg()
/third_party/rust/crates/rustix/src/backend/libc/net/
H A Dsend_recv.rs76 /// `MSG_PEEK`
77 const PEEK = c::MSG_PEEK;
/third_party/libuv/src/win/
H A Dwinsock.c289 if (*flags & MSG_PEEK) { in uv__wsarecv_workaround()
387 if (*flags & MSG_PEEK) { in uv__wsarecvfrom_workaround()
/third_party/node/deps/uv/src/win/
H A Dwinsock.c289 if (*flags & MSG_PEEK) { in uv__wsarecv_workaround()
387 if (*flags & MSG_PEEK) { in uv__wsarecvfrom_workaround()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_recvmsg.c41 * 2. MSG_PEEK support.
145 error = test_recvmsg(svr_sk, &inmessage, MSG_PEEK); in main()
156 tst_resm(TPASS, "recvmsg with MSG_PEEK flag"); in main()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_network.c94 return recv(s, data, size, MSG_PEEK); in u_socket_peek()
/third_party/musl/libc-test/src/api/
H A Dsys_socket.c83 C(MSG_PEEK) in f()
/third_party/rust/crates/libc/src/unix/newlib/espidf/
H A Dmod.rs80 pub const MSG_PEEK: ::c_int = 0x01; consts
/third_party/jerryscript/jerry-ext/debugger/
H A Ddebugger-tcp.c159 ssize_t is_err = recv (tcp_p->tcp_socket, NULL, 0, MSG_PEEK); in jerryx_debugger_tcp_send()
/third_party/libwebsockets/lib/tls/
H A Dtls-server.c195 context->pt_serv_buf_size, MSG_PEEK); in lws_server_socket_service_ssl()
/third_party/rust/crates/libc/src/unix/newlib/horizon/
H A Dmod.rs128 pub const MSG_PEEK: ::c_int = 2; consts
/third_party/rust/crates/linux-raw-sys/gen/modules/
H A Dgeneral.h203 #define MSG_PEEK 0x2 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsocket.h329 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h320 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsocket.h329 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dsocket.h331 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/linux/user/include/sys/
H A Dsocket.h335 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsocket.h329 #define MSG_PEEK 0x0002 macro
/third_party/musl/include/sys/
H A Dsocket.h335 #define MSG_PEEK 0x0002 macro

Completed in 16 milliseconds

123