Home
last modified time | relevance | path

Searched refs:MSG_PEEK (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/pulseaudio/src/pulsecore/
Dpoll-win32.c76 #ifndef MSG_PEEK
77 # define MSG_PEEK 0 macro
268 r = recv (h, data, sizeof (data), MSG_PEEK); in windows_compute_revents_socket()
310 r = recv (fd, NULL, 0, MSG_PEEK); in compute_revents()
316 r = recv (fd, data, sizeof (data), MSG_PEEK); in compute_revents()
Dpoll-posix.c203 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/lwip/
D0007-gazelle-fix-epoll_ctl-EPOLLET-mode-error.patch45 - if ((flags & MSG_PEEK) == 0) {
46 + if (((flags & MSG_PEEK) == 0) && ((sock->epoll & EPOLLET) == 0)) {
D0016-lstack-support-mysql-mode.patch358 - if (((flags & MSG_PEEK) == 0) && ((sock->epoll & EPOLLET) == 0)) {
370 } while ((recv_left > 0) && !(flags & MSG_PEEK));
384 if ((recvd > 0) && !(flags & MSG_PEEK)) {
390 - if ((flags & MSG_PEEK) == 0) {
484 LWIP_ERROR("lwip_recvmsg: unsupported flags", (flags & ~(MSG_PEEK|MSG_DONTWAIT)) == 0,
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dsend_recv.rs36 const PEEK = c::MSG_PEEK;
/third_party/rust/crates/libc/src/unix/newlib/aarch64/
Dmod.rs47 pub const MSG_PEEK: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/newlib/arm/
Dmod.rs49 pub const MSG_PEEK: ::c_int = 2; constant
/third_party/rust/crates/rustix/src/backend/libc/net/
Dsend_recv.rs77 const PEEK = c::MSG_PEEK;
/third_party/lwip/test/sockets/
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/rust/crates/rustix/src/backend/linux_raw/
Dc.rs24 MSG_DONTROUTE, MSG_DONTWAIT, MSG_EOR, MSG_ERRQUEUE, MSG_MORE, MSG_NOSIGNAL, MSG_OOB, MSG_PEEK,
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c70 R = recvmsg(sdr, &msghdr, MSG_PEEK); in verify_recvmsg()
/third_party/node/deps/uv/src/win/
Dwinsock.c289 if (*flags & MSG_PEEK) { in uv__wsarecv_workaround()
387 if (*flags & MSG_PEEK) { in uv__wsarecvfrom_workaround()
/third_party/libuv/src/win/
Dwinsock.c289 if (*flags & MSG_PEEK) { in uv__wsarecv_workaround()
387 if (*flags & MSG_PEEK) { in uv__wsarecvfrom_workaround()
/third_party/rust/crates/libc/src/unix/newlib/espidf/
Dmod.rs80 pub const MSG_PEEK: ::c_int = 0x01; constant
/third_party/ltp/utils/sctp/func_tests/
Dtest_recvmsg.c145 error = test_recvmsg(svr_sk, &inmessage, MSG_PEEK); in main()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_network.c94 return recv(s, data, size, MSG_PEEK); in u_socket_peek()
/third_party/musl/libc-test/src/api/
Dsys_socket.c83 C(MSG_PEEK) in f()
/third_party/rust/crates/linux-raw-sys/gen/modules/
Dgeneral.h203 #define MSG_PEEK 0x2 macro
/third_party/jerryscript/jerry-ext/debugger/
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/
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/
Dmod.rs128 pub const MSG_PEEK: ::c_int = 2; constant
/third_party/openssl/crypto/bio/
Dbss_dgram.c307 flags = MSG_PEEK; in dgram_read()
1651 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_wait_for_dry()
1738 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_wait_for_dry()
1785 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_msg_waiting()
/third_party/node/deps/openssl/openssl/crypto/bio/
Dbss_dgram.c307 flags = MSG_PEEK; in dgram_read()
1651 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_wait_for_dry()
1738 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_wait_for_dry()
1785 n = recvmsg(b->num, &msg, MSG_PEEK); in dgram_sctp_msg_waiting()
/third_party/musl/ndk_musl_include/sys/
Dsocket.h333 #define MSG_PEEK 0x0002 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h329 #define MSG_PEEK 0x0002 macro

1234