Lines Matching refs:addrlen
211 socklen_t addrlen, in ConnectWithTimeout() argument
224 addr, addrlen); // This will return immediately because of O_NONBLOCK in ConnectWithTimeout()
383 socklen_t* addrlen) { in Accept() argument
385 std::shared_ptr<FileInstance>(listener.Accept(addr, addrlen))); in Accept()
539 socklen_t addrlen; in SocketLocalClient() local
540 MakeAddress(name.c_str(), abstract, &addr, &addrlen); in SocketLocalClient()
547 if (rval->ConnectWithTimeout(casted_addr, addrlen, &timeout) == -1) { in SocketLocalClient()
660 socklen_t addrlen; in SocketLocalServer() local
661 MakeAddress(name.c_str(), abstract, &addr, &addrlen); in SocketLocalServer()
672 if (rval->Bind(reinterpret_cast<sockaddr*>(&addr), addrlen) == -1) { in SocketLocalServer()
818 int FileInstance::Bind(const struct sockaddr* addr, socklen_t addrlen) { in Bind() argument
820 int rval = bind(fd_, addr, addrlen); in Bind()
825 int FileInstance::Connect(const struct sockaddr* addr, socklen_t addrlen) { in Connect() argument
827 int rval = connect(fd_, addr, addrlen); in Connect()
868 int FileInstance::GetSockName(struct sockaddr* addr, socklen_t* addrlen) { in GetSockName() argument
870 int rval = TEMP_FAILURE_RETRY(getsockname(fd_, addr, addrlen)); in GetSockName()
1100 socklen_t* addrlen) const { in Accept()
1101 int fd = TEMP_FAILURE_RETRY(accept(fd_, addr, addrlen)); in Accept()