/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 34 m_sock(-1), 42 m_sock(sock), 50 if (m_sock >= 0) { 52 closesocket(m_sock); 54 ::close(m_sock); 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); 122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); 159 res = ::recv(m_sock, (char *)buf, len, 0);
|
TcpStream.cpp | 52 m_sock = socket_loopback_server(port, SOCK_STREAM); 65 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len); 88 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
|
SocketStream.h | 38 bool valid() { return m_sock >= 0; } 43 int m_sock; member in class:SocketStream
|
UnixStream.cpp | 97 m_sock = socket_local_server(path, ANDROID_SOCKET_NAMESPACE_FILESYSTEM, SOCK_STREAM); 110 clientSock = ::accept(m_sock, (sockaddr *)&addr, &len); 133 m_sock = socket_local_client(path, ANDROID_SOCKET_NAMESPACE_FILESYSTEM, SOCK_STREAM);
|
/sdk/emulator/opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 26 m_sock(-1), 34 m_sock(sock), 42 if (m_sock >= 0) { 43 ::close(m_sock); 53 m_sock = qemu_pipe_open("opengles"); 94 ssize_t stat = ::write(m_sock, (const char *)(buf) + (len - res), res); 125 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, len); 171 int res = ::read(m_sock, p, len);
|
QemuPipeStream.h | 39 bool valid() { return m_sock >= 0; } 45 int m_sock; member in class:QemuPipeStream
|