Home
last modified time | relevance | path

Searched refs:out_sock (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/bio/
Dsocket_helper.c39 int bio_ip_and_port_to_socket_and_addr(int *out_sock, in OPENSSL_MSVC_PRAGMA()
47 *out_sock = -1; in OPENSSL_MSVC_PRAGMA()
70 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in OPENSSL_MSVC_PRAGMA()
71 if (*out_sock < 0) { in OPENSSL_MSVC_PRAGMA()
Dinternal.h84 int bio_ip_and_port_to_socket_and_addr(int *out_sock,
/external/boringssl/src/tool/
Dtransport_common.h27 bool Connect(int *out_sock, const std::string &hostname_and_port);
32 bool Accept(int *out_sock, const std::string &port);
Dtransport_common.cc76 bool Connect(int *out_sock, const std::string &hostname_and_port) { in Connect() argument
115 *out_sock = in Connect()
117 if (*out_sock < 0) { in Connect()
141 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
152 bool Accept(int *out_sock, const std::string &port) { in Accept() argument
187 *out_sock = accept(server_sock, (struct sockaddr*)&cli_addr, &cli_addr_len); in Accept()