Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 1306) sorted by relevance

12345678910>>...53

/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_l2cap.cc127 static char packet_get_head_l(l2cap_socket* sock, uint8_t** data, uint32_t* len) { in packet_get_head_l()
167 static char packet_put_head_l(l2cap_socket* sock, const void* data, uint32_t len) { in packet_put_head_l()
196 static char packet_put_tail_l(l2cap_socket* sock, const void* data, uint32_t len) { in packet_put_tail_l()
224 l2cap_socket* sock = socks; in btsock_l2cap_find_by_id_l() local
235 l2cap_socket* sock = socks; in btsock_l2cap_find_by_conn_uuid_l() local
247 static void btsock_l2cap_free_l(l2cap_socket* sock) { in btsock_l2cap_free_l()
325 l2cap_socket* sock = (l2cap_socket*)osi_calloc(sizeof(*sock)); in btsock_l2cap_alloc_l() local
432 static inline bool send_app_psm_or_chan_l(l2cap_socket* sock) { in send_app_psm_or_chan_l()
438 static bool send_app_err_code(l2cap_socket* sock, tBTA_JV_L2CAP_REASON code) { in send_app_err_code()
498 l2cap_socket* sock; in on_srv_l2cap_listen_started() local
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/asyncio/
H A Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
H A Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/external/python/cpython3/Lib/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
91 def _set_extra(self, sock): argument
185 def __init__(self, loop, sock, protocol, waiter=None, argument
462 def __init__(self, loop, sock, protocol, address=None, argument
475 def _set_extra(self, sock): argument
610 def __init__(self, loop, sock, protocol, waiter=None, argument
615 def _set_extra(self, sock): argument
644 def _make_socket_transport(self, sock, protocol, waiter=None, argument
664 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py59 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
81 def _make_datagram_transport(self, sock, protocol, argument
146 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
357 async def sock_recv(self, sock, n): argument
383 def _sock_recv(self, fut, sock, n): argument
399 async def sock_recv_into(self, sock, buf): argument
420 def _sock_recv_into(self, fut, sock, buf): argument
437 async def sock_recvfrom(self, sock, bufsize): argument
460 def _sock_recvfrom(self, fut, sock, bufsize): argument
[all …]
/aosp_15_r20/device/linaro/dragonboard/shared/utils/qrtr/lib/
Dqrtr.c16 static int qrtr_getname(int sock, struct sockaddr_qrtr *sq) in qrtr_getname()
36 int sock; in qrtr_open() local
74 void qrtr_close(int sock) in qrtr_close()
79 int qrtr_sendto(int sock, uint32_t node, uint32_t port, const void *data, unsigned int sz) in qrtr_sendto()
97 int qrtr_new_server(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_new_server()
114 int qrtr_remove_server(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_remove_server()
133 int qrtr_publish(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_publish()
138 int qrtr_bye(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_bye()
143 int qrtr_new_lookup(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_new_lookup()
160 int qrtr_remove_lookup(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_remove_lookup()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/network_io/os2/
H A Dsockets.c33 static apr_status_t socket_cleanup(void *sock) in socket_cleanup()
50 static void set_socket_vars(apr_socket_t *sock, int family, int type, int protocol) in set_socket_vars()
76 APR_DECLARE(apr_status_t) apr_socket_protocol_get(apr_socket_t *sock, int *protocol) in apr_socket_protocol_get()
136 APR_DECLARE(apr_status_t) apr_socket_bind(apr_socket_t *sock, in apr_socket_bind()
153 APR_DECLARE(apr_status_t) apr_socket_listen(apr_socket_t *sock, in apr_socket_listen()
163 apr_socket_t *sock, in apr_socket_accept()
194 APR_DECLARE(apr_status_t) apr_socket_connect(apr_socket_t *sock, in apr_socket_connect()
211 APR_DECLARE(apr_status_t) apr_socket_type_get(apr_socket_t *sock, int *type) in apr_socket_type_get()
218 apr_socket_t *sock) in apr_socket_data_get()
237 APR_DECLARE(apr_status_t) apr_socket_data_set(apr_socket_t *sock, void *data, const char *key, in apr_socket_data_set()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/network_io/win32/
H A Dsockets.c29 static apr_status_t socket_cleanup(void *sock) in socket_cleanup()
48 static void set_socket_vars(apr_socket_t *sock, int family, int type, int protocol) in set_socket_vars()
79 APR_DECLARE(apr_status_t) apr_socket_protocol_get(apr_socket_t *sock, in apr_socket_protocol_get()
206 APR_DECLARE(apr_status_t) apr_socket_bind(apr_socket_t *sock, in apr_socket_bind()
223 APR_DECLARE(apr_status_t) apr_socket_listen(apr_socket_t *sock, in apr_socket_listen()
233 apr_socket_t *sock, apr_pool_t *p) in apr_socket_accept()
314 static apr_status_t wait_for_connect(apr_socket_t *sock) in wait_for_connect()
355 APR_DECLARE(apr_status_t) apr_socket_connect(apr_socket_t *sock, in apr_socket_connect()
419 APR_DECLARE(apr_status_t) apr_socket_type_get(apr_socket_t *sock, int *type) in apr_socket_type_get()
426 apr_socket_t *sock) in apr_socket_data_get()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/network_io/unix/
H A Dsockets.c31 static apr_status_t socket_cleanup(void *sock) in socket_cleanup()
52 static void set_socket_vars(apr_socket_t *sock, int family, int type, int protocol) in set_socket_vars()
85 apr_status_t apr_socket_protocol_get(apr_socket_t *sock, int *protocol) in apr_socket_protocol_get()
186 apr_status_t apr_socket_bind(apr_socket_t *sock, apr_sockaddr_t *sa) in apr_socket_bind()
202 apr_status_t apr_socket_listen(apr_socket_t *sock, apr_int32_t backlog) in apr_socket_listen()
210 apr_status_t apr_socket_accept(apr_socket_t **new, apr_socket_t *sock, in apr_socket_accept()
343 apr_status_t apr_socket_connect(apr_socket_t *sock, apr_sockaddr_t *sa) in apr_socket_connect()
415 apr_status_t apr_socket_type_get(apr_socket_t *sock, int *type) in apr_socket_type_get()
421 apr_status_t apr_socket_data_get(void **data, const char *key, apr_socket_t *sock) in apr_socket_data_get()
438 apr_status_t apr_socket_data_set(apr_socket_t *sock, void *data, const char *key, in apr_socket_data_set()
[all …]
H A Dmulticast.c95 static int sock_is_ipv4(apr_socket_t *sock) in sock_is_ipv4()
103 static int sock_is_ipv6(apr_socket_t *sock) in sock_is_ipv6()
111 static apr_status_t do_mcast(int type, apr_socket_t *sock, in do_mcast()
199 static apr_status_t do_mcast_opt(int type, apr_socket_t *sock, in do_mcast_opt()
241 APR_DECLARE(apr_status_t) apr_mcast_join(apr_socket_t *sock, in apr_mcast_join()
253 APR_DECLARE(apr_status_t) apr_mcast_leave(apr_socket_t *sock, in apr_mcast_leave()
265 APR_DECLARE(apr_status_t) apr_mcast_hops(apr_socket_t *sock, apr_byte_t ttl) in apr_mcast_hops()
274 APR_DECLARE(apr_status_t) apr_mcast_loopback(apr_socket_t *sock, in apr_mcast_loopback()
284 APR_DECLARE(apr_status_t) apr_mcast_interface(apr_socket_t *sock, in apr_mcast_interface()
H A Dsendrecv.c30 apr_status_t apr_socket_send(apr_socket_t *sock, const char *buf, in apr_socket_send()
70 apr_status_t apr_socket_recv(apr_socket_t *sock, char *buf, apr_size_t *len) in apr_socket_recv()
112 apr_status_t apr_socket_sendto(apr_socket_t *sock, apr_sockaddr_t *where, in apr_socket_sendto()
146 apr_status_t apr_socket_recvfrom(apr_sockaddr_t *from, apr_socket_t *sock, in apr_socket_recvfrom()
194 apr_status_t apr_socket_sendv(apr_socket_t * sock, const struct iovec *vec, in apr_socket_sendv()
257 apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, in apr_socket_sendfile()
413 apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, in apr_socket_sendfile()
531 apr_status_t apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, in apr_socket_sendfile()
667 apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, in apr_socket_sendfile()
815 apr_status_t apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, in apr_socket_sendfile()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/test_asyncio/
Dtest_ssl.py228 def prog(sock): argument
304 def server(sock): argument
393 def server(sock): argument
430 def server(sock): argument
468 def server(sock): argument
512 def server(sock): argument
638 def server(sock): argument
684 def serve(sock): argument
746 def serve(sock): argument
811 def serve(sock): argument
[all …]
/aosp_15_r20/frameworks/opt/net/wifi/libwifi_system_iface/
Dinterface_tool.cpp43 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState()
63 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetUpState() local
79 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetUpState() local
121 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetMacAddress() local
154 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetFactoryMacAddress() local
179 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in createBridge() local
191 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in deleteBridge() local
212 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in addIfaceToBridge() local
233 base::unique_fd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in removeIfaceFromBridge() local
/aosp_15_r20/external/deqp/framework/delibs/deutil/
H A DdeSocket.c428 deSocket *sock = (deSocket *)deCalloc(sizeof(deSocket)); in deSocket_create() local
445 void deSocket_destroy(deSocket *sock) in deSocket_destroy()
454 deSocketState deSocket_getState(const deSocket *sock) in deSocket_getState()
459 uint32_t deSocket_getOpenChannels(const deSocket *sock) in deSocket_getOpenChannels()
464 bool deSocket_setFlags(deSocket *sock, uint32_t flags) in deSocket_setFlags()
512 bool deSocket_listen(deSocket *sock, const deSocketAddress *address) in deSocket_listen()
559 deSocket *deSocket_accept(deSocket *sock, deSocketAddress *clientAddress) in deSocket_accept()
595 bool deSocket_connect(deSocket *sock, const deSocketAddress *address) in deSocket_connect()
629 bool deSocket_shutdown(deSocket *sock, uint32_t channels) in deSocket_shutdown()
713 bool deSocket_close(deSocket *sock) in deSocket_close()
[all …]
/aosp_15_r20/hardware/interfaces/wifi/netlinkinterceptor/libnlinterceptor/
H A Dlibnlinterceptor.cpp36 ::aidl::android::hardware::net::nlinterceptor::InterceptedSocket sock) in InterceptedSocket()
42 std::ostream& operator<<(std::ostream& os, const InterceptedSocket& sock) { in operator <<()
122 void closeSocket(const InterceptedSocket& sock) { in closeSocket()
129 bool subscribe(const InterceptedSocket& sock, uint32_t group) { in subscribe()
134 bool unsubscribe(const InterceptedSocket& sock, uint32_t group) { in unsubscribe()
153 extern "C" void android_nlinterceptor_closeSocket(android_nlinterceptor_InterceptedSocket sock) { in android_nlinterceptor_closeSocket()
157 extern "C" bool android_nlinterceptor_subscribe(android_nlinterceptor_InterceptedSocket sock, in android_nlinterceptor_subscribe()
162 extern "C" bool android_nlinterceptor_unsubscribe(android_nlinterceptor_InterceptedSocket sock, in android_nlinterceptor_unsubscribe()
/aosp_15_r20/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DSyscalls.h117 StatusOr<SockaddrT> getsockname(Fd sock) const { in getsockname()
125 Status getsockopt(Fd sock, int level, int optname, void* optval, socklen_t* optlen) const { in getsockopt()
130 Status setsockopt(Fd sock, int level, int optname, const SockoptT& opt) const { in setsockopt()
135 Status bind(Fd sock, const SockaddrT& addr) const { in bind()
140 Status connect(Fd sock, const SockaddrT& addr) const { in connect()
162 StatusOr<size_t> sendto(Fd sock, const Slice buf, int flags, const SockaddrT& dst) const { in sendto()
167 StatusOr<Slice> recvfrom(Fd sock, const Slice dst, int flags) const { in recvfrom()
172 StatusOr<std::pair<Slice, SockaddrT>> recvfrom(Fd sock, const Slice dst, int flags) const { in recvfrom()
/aosp_15_r20/external/wpa_supplicant_8/src/drivers/
H A Dlinux_ioctl.c19 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags()
59 int linux_iface_up(int sock, const char *ifname) in linux_iface_up()
81 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) in linux_get_ifhwaddr()
104 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) in linux_set_ifhwaddr()
123 int linux_br_add(int sock, const char *brname) in linux_br_add()
138 int linux_br_del(int sock, const char *brname) in linux_br_del()
150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if()
184 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if()

12345678910>>...53