Home
last modified time | relevance | path

Searched refs:address_len (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions-POSIX-socket-sockaddr.cpp23 int accept(int socket, struct sockaddr *address, socklen_t *address_len);
24 int bind(int socket, const struct sockaddr *address, socklen_t address_len);
25 int getpeername(int socket, struct sockaddr *address, socklen_t *address_len);
26 int getsockname(int socket, struct sockaddr *address, socklen_t *address_len);
27 int connect(int socket, const struct sockaddr *address, socklen_t address_len);
30 … socket, void *buffer, size_t length, int flags, struct sockaddr *address, socklen_t *address_len);
Dstd-c-library-functions-POSIX.c234 int accept(int socket, __SOCKADDR_ARG address, socklen_t *restrict address_len);
235 int bind(int socket, __CONST_SOCKADDR_ARG address, socklen_t address_len);
236 int getpeername(int socket, __SOCKADDR_ARG address, socklen_t *restrict address_len);
237 int getsockname(int socket, __SOCKADDR_ARG address, socklen_t *restrict address_len);
238 int connect(int socket, __CONST_SOCKADDR_ARG address, socklen_t address_len);
239 …estrict buffer, size_t length, int flags, __SOCKADDR_ARG address, socklen_t *restrict address_len);
/external/iputils/ninfod/
Dni_ifaddrs.c106 int address_len; member
448 ifamap.address_len = rtapayload; in ni_ifaddrs()
489 ifamap.local_len = ifamap.address_len; in ni_ifaddrs()
493 ifamap.address_len = ifamap.local_len; in ni_ifaddrs()
495 if (ifamap.address_len != ifamap.local_len || in ni_ifaddrs()
497 memcmp(ifamap.address, ifamap.local, ifamap.address_len))) { in ni_ifaddrs()
500 ifamap.broadcast_len = ifamap.address_len; in ni_ifaddrs()
502 ifamap.address_len = ifamap.local_len; in ni_ifaddrs()
506 dlen += NLMSG_ALIGN(ifamap.address_len); in ni_ifaddrs()
509 memcpy(ifa->ifa_addr, ifamap.address, ifamap.address_len); in ni_ifaddrs()
[all …]
/external/ltp/lib/
Dsafe_net.c275 socklen_t address_len) in safe_bind() argument
281 if (!bind(socket, address, address_len)) in safe_bind()
287 socket, tst_sock_addr(address, address_len, in safe_bind()
289 address_len); in safe_bind()
304 tst_sock_addr(address, address_len, buf, sizeof(buf)), in safe_bind()
305 address_len); in safe_bind()
/external/ltp/include/old/
Dold_safe_net.h33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ argument
35 address_len)
/external/elfutils/libdw/
Ddwarf_getpubnames.c90 mem[cnt].address_len = len_bytes; in get_offsets()
201 if (readp + dbg->pubnames_sets[cnt].address_len > endp) in dwarf_getpubnames()
203 if (dbg->pubnames_sets[cnt].address_len == 4) in dwarf_getpubnames()
DlibdwP.h181 int address_len; member
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dserver_address.cc44 const void* address, size_t address_len, grpc_channel_args* args, in ServerAddress() argument
47 memcpy(address_.addr, address, address_len); in ServerAddress()
48 address_.len = static_cast<socklen_t>(address_len); in ServerAddress()
Dserver_address.h68 ServerAddress(const void* address, size_t address_len,
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc62 const void* address, size_t address_len, in grpc_lb_addresses_set_address() argument
68 memcpy(target->address.addr, address, address_len); in grpc_lb_addresses_set_address()
69 target->address.len = static_cast<socklen_t>(address_len); in grpc_lb_addresses_set_address()
Dlb_policy_factory.h76 const void* address, size_t address_len,
/external/ltp/include/
Dtst_safe_net.h60 #define SAFE_BIND(socket, address, address_len) \ argument
62 address_len)
Dsafe_net_fn.h55 socklen_t address_len);
/external/llvm-project/lldb/source/Host/common/
DUDPSocket.cpp129 socklen_t address_len = sizeof (struct sockaddr_in); in Connect() local
131 (struct sockaddr *)&source_info, &address_len); in Connect()
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp692 socklen_t *address_len) { in accept$__interposed__() argument
696 const int fd = ::accept(socket, address, address_len); in accept$__interposed__()
706 return ::accept(socket, address, address_len); in accept$__interposed__()
713 socklen_t *address_len) { in accept$NOCANCEL$__interposed__() argument
717 const int fd = ::accept$NOCANCEL(socket, address, address_len); in accept$NOCANCEL$__interposed__()
727 return ::accept$NOCANCEL(socket, address, address_len); in accept$NOCANCEL$__interposed__()
/external/openscreen/platform/impl/
Dudp_socket_posix.cc143 socklen_t address_len = sizeof(address); in GetLocalEndpoint() local
146 &address_len) == 0) { in GetLocalEndpoint()
158 socklen_t address_len = sizeof(address); in GetLocalEndpoint() local
161 &address_len) == 0) { in GetLocalEndpoint()
/external/python/cpython3/Lib/
Dipaddress.py427 address_len = len(address)
428 if address_len != expected_len:
430 raise AddressValueError(msg % (address, address_len,
/external/python/ipaddress/
Dipaddress.py547 address_len = len(address)
548 if address_len != expected_len:
553 raise AddressValueError(msg % (address, address_len,
/external/rust/crates/libc/src/unix/
Dmod.rs605 pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; in accept()
618 address_len: *mut socklen_t, in getpeername()
632 address_len: *mut socklen_t, in getsockname()
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs702 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3456 pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; in accept()
3460 address_len: *mut socklen_t, in getpeername()
3465 address_len: *mut socklen_t, in getsockname()
4050 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
/external/rust/crates/libc/src/unix/redox/
Dmod.rs1007 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2366 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
2378 address_len: *mut socklen_t, in accept4()
/external/rust/crates/libc/src/unix/haiku/
Dmod.rs1459 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
/external/rust/crates/libc/src/unix/linux_like/
Dmod.rs1585 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()

12