Home
last modified time | relevance | path

Searched refs:Socket (Results 1 - 25 of 83) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSocket.cpp15 #include "Socket.hpp"
28 Socket::Socket(SOCKET socket) : socket(socket) in Socket() function in sw::Socket
32 Socket::Socket(const char *address, const char *port) in Socket() function in sw::Socket
56 Socket::~Socket() in ~Socket()
65 void Socket::listen(int backlog) in listen()
70 bool Socket::select(int us) in select()
81 Socket *Socke
[all...]
H A DSocket.hpp27 class Socket class
30 Socket(SOCKET socket);
31 Socket(const char *address, const char *port);
32 ~Socket();
36 Socket *accept();
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DSocket.cpp15 #include "Socket.hpp"
28 Socket::Socket(SOCKET socket) in Socket() function in sw::Socket
33 Socket::Socket(const char *address, const char *port) in Socket() function in sw::Socket
57 Socket::~Socket() in ~Socket()
66 void Socket::listen(int backlog) in listen()
71 bool Socket::select(int us) in select()
82 Socket *Socke
[all...]
H A DSocket.hpp27 class Socket class
30 Socket(SOCKET socket);
31 Socket(const char *address, const char *port);
32 ~Socket();
36 Socket *accept();
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeSocket.cpp76 // Socket
78 Socket::Socket (void) in Socket() function in de::Socket
85 Socket::~Socket (void) in ~Socket()
90 void Socket::setFlags (deUint32 flags) in setFlags()
96 void Socket::listen (const SocketAddress& address) in listen()
102 void Socket::connect (const SocketAddress& address) in connect()
108 void Socket::shutdown (void) in shutdown()
111 throw SocketError("Socket shutdow in shutdown()
[all...]
H A DdeSocket.hpp72 class Socket class
75 Socket (void);
76 ~Socket (void);
84 Socket* accept (SocketAddress& clientAddress) { return accept(clientAddress.getPtr()); } in accept()
85 Socket* accept (void) { return accept(DE_NULL); } in accept()
102 Socket (deSocket* socket) : m_socket(socket) {} in Socket() function in de::Socket
103 Socket (const Socket& other);
104 Socket& operator= (const Socket
[all...]
/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_socket2.rs17 impl AsFd for socket2::Socket {
25 impl AsSocket for socket2::Socket {
33 impl IntoFd for socket2::Socket {
41 impl From<socket2::Socket> for OwnedFd {
43 fn from(owned: socket2::Socket) -> Self { in from()
49 impl IntoSocket for socket2::Socket {
57 impl From<socket2::Socket> for OwnedSocket {
59 fn from(owned: socket2::Socket) -> Self { in from()
65 impl FromFd for socket2::Socket {
73 impl From<OwnedFd> for socket2::Socket {
[all...]
/third_party/node/lib/
H A Ddgram.js104 function Socket(type, listener) { class
159 ObjectSetPrototypeOf(Socket.prototype, EventEmitter.prototype);
160 ObjectSetPrototypeOf(Socket, EventEmitter);
164 return new Socket(type, listener);
237 Socket.prototype.bind = function(port_, address_ /* , callback */) {
378 Socket.prototype.connect = function(port, address, callback) {
454 Socket.prototype.disconnect = function() {
468 Socket.prototype.sendto = function(buffer,
577 Socket.prototype.send = function(buffer,
733 Socket
[all...]
H A Dtty.js59 net.Socket.call(this, {
70 ObjectSetPrototypeOf(ReadStream.prototype, net.Socket.prototype);
71 ObjectSetPrototypeOf(ReadStream, net.Socket);
96 net.Socket.call(this, {
117 ObjectSetPrototypeOf(WriteStream.prototype, net.Socket.prototype);
118 ObjectSetPrototypeOf(WriteStream, net.Socket);
H A Dnet.js238 const socket = new Socket(options);
277 // Used to normalize arguments of Socket.prototype.connect() and
282 // For Socket.prototype.connect(), the [...] part is ignored
321 // Called when creating new Socket, or when re-using a closed Socket
366 function Socket(options) { function
367 if (!(this instanceof Socket)) return new Socket(options);
510 ObjectSetPrototypeOf(Socket.prototype, stream.Duplex.prototype);
511 ObjectSetPrototypeOf(Socket, strea class
[all...]
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
H A DvksNetwork.hpp26 namespace de { class Socket; };
40 void Send (de::Socket* socket, const vector<u8>& buffer );
43 void SendPayloadWithHeader (de::Socket* socket, u32 type, const vector<u8>& payload );
46 void RecvSome (de::Socket* socket, vector<u8>& recvb);
49 vector<u8> RecvPacket (de::Socket* socket, vector<u8>& recvb, u32 type );
H A DvksNetwork.cpp70 void Send (de::Socket* socket, const vector<u8>& buffer) in Send()
83 void RecvSome (de::Socket* socket, vector<u8>& recvb) in RecvSome()
93 void SendPayloadWithHeader (de::Socket* socket, u32 type, const std::vector<u8>& payload) in SendPayloadWithHeader()
105 vector<u8> RecvPacket (de::Socket* socket, vector<u8>& recvb, u32 type) in RecvPacket()
/third_party/node/test/parallel/
H A Dtest-net-connect-call-socket-connect.js5 // `Socket.prototype.connect`.
7 // This is important for people who monkey-patch `Socket.prototype.connect`
12 // Monkey-patching of `Socket.prototype.connect` is done by - among others -
21 const Socket = net.Socket;
23 // Monkey patch Socket.prototype.connect to check that it's called.
24 const orig = Socket.prototype.connect; class
25 Socket.prototype.connect = common.mustCall(function() {
H A Dtest-net-persistent-nodelay.js16 const Socket = net.Socket;
25 const sock1 = new Socket();
30 assert.ok(s instanceof net.Socket);
H A Dtest-net-socket-constructor.js9 new net.Socket({ fd: -1 });
13 new net.Socket({ fd: 'foo' });
18 if (sock instanceof net.Socket) {
21 socket = new net.Socket(sock);
H A Dtest-stdout-stderr-reading.js7 const read = net.Socket.prototype.read;
9 net.Socket.prototype.read = function() {
63 net.Socket.prototype.read = function() {
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
H A Dsocket.h21 /// Socket provides an OS abstraction to a TCP socket.
22 class Socket { class
30 /// @returns the connected Socket, or nullptr on failure
31 static std::shared_ptr<Socket> Connect(const char* address,
36 /// Call Accept() on the returned Socket to block and wait for a connection.
41 /// @returns the Socket that listens for connections
42 static std::shared_ptr<Socket> Listen(const char* address, const char* port);
66 /// Socket to be closed.
68 virtual std::shared_ptr<Socket> Accept() = 0;
H A Dsocket.cc87 class Impl : public Socket {
217 std::shared_ptr<Socket> Accept() override {
237 std::shared_ptr<Socket> Socket::Listen(const char* address, const char* port) { in Listen()
256 std::shared_ptr<Socket> Socket::Connect(const char* address, in Connect()
264 std::shared_ptr<Socket> out; in Connect()
/third_party/vk-gl-cts/execserver/
H A DxsTcpServer.hpp44 virtual ConnectionHandler* createHandler (de::Socket* socket, const de::SocketAddress& clientAddress) = DE_NULL;
52 de::Socket m_socket;
69 ConnectionHandler (TcpServer* server, de::Socket* socket) : m_server(server), m_socket(socket) {} in ConnectionHandler()
79 de::Socket* m_socket;
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/Test/
H A DUtils.pm172 require IO::Socket::IP;
173 my $s = IO::Socket::IP->new(
186 require IO::Socket::INET6;
187 my $s = IO::Socket::INET6->new(
200 require IO::Socket::INET;
201 my $s = IO::Socket::INET->new(
/third_party/openssl/util/perl/OpenSSL/Test/
H A DUtils.pm172 require IO::Socket::IP;
173 my $s = IO::Socket::IP->new(
186 require IO::Socket::INET6;
187 my $s = IO::Socket::INET6->new(
200 require IO::Socket::INET;
201 my $s = IO::Socket::INET->new(
/third_party/vk-gl-cts/executor/
H A DxeTcpIpLink.hpp74 TcpIpSendThread (de::Socket& socket, TcpIpLinkState& state);
86 de::Socket& m_socket;
97 TcpIpRecvThread (de::Socket& socket, TcpIpLinkState& state);
109 de::Socket& m_socket;
144 de::Socket m_socket;
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DSwiftConfig.hpp22 #include "Common/Socket.hpp"
92 void respond(Socket *clientSocket, const char *request);
95 void send(Socket *clientSocket, Status code, std::string body = "");
109 Socket *listenSocket;
/third_party/node/lib/internal/bootstrap/switches/
H A Dis_main_thread.js74 stream = new net.Socket({
80 stream = new net.Socket({
217 stdin = new net.Socket({
224 stdin = new net.Socket({
/third_party/vk-gl-cts/execserver/tools/
H A DxsTest.cpp70 void sendMessage (de::Socket& socket, const Message& message) in sendMessage()
91 void readBytes (de::Socket& socket, vector<deUint8>& dst, size_t numBytes) in readBytes()
108 Message* readMessage (de::Socket& socket) in readMessage()
192 virtual void runClient (de::Socket& socket) = DE_NULL;
299 de::Socket socket; in runCase()
344 void runClient (de::Socket& socket) in runClient()
360 void runClient (de::Socket& socket) in runClient()
377 void runClient (de::Socket& socket) in runClient()
417 void runClient (de::Socket& socket) in runClient()
476 void runClient (de::Socket
[all...]

Completed in 10 milliseconds

1234