HomeSort by relevance Sort by last modified time
    Searched refs:SyncSocket (Results 1 - 3 of 3) sorted by null

  /external/libchrome/base/
sync_socket.h 33 class BASE_EXPORT SyncSocket {
44 SyncSocket();
46 // Creates a SyncSocket from a Handle. Used in transport.
47 explicit SyncSocket(Handle handle) : handle_(handle) {}
48 virtual ~SyncSocket();
53 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b);
64 // Closes the SyncSocket. Returns true on success, false on failure.
67 // Sends the message to the remote peer of the SyncSocket.
75 // Receives a message from an SyncSocket
    [all...]
sync_socket_posix.cc 34 size_t SendHelper(SyncSocket::Handle handle,
39 DCHECK_NE(handle, SyncSocket::kInvalidHandle);
46 bool CloseHandle(SyncSocket::Handle handle) {
47 if (handle != SyncSocket::kInvalidHandle && close(handle) < 0) {
57 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1;
59 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {}
61 SyncSocket::~SyncSocket() {
    [all...]
sync_socket_unittest.cc 17 explicit HangingReceiveThread(base::SyncSocket* socket)
40 base::SyncSocket* socket_;
49 void SendReceivePeek(base::SyncSocket* socket_a, base::SyncSocket* socket_b) {
100 TEST(SyncSocket, NormalSendReceivePeek) {
101 NormalSendReceivePeek<base::SyncSocket>();
104 TEST(SyncSocket, ClonedSendReceivePeek) {
105 ClonedSendReceivePeek<base::SyncSocket>();

Completed in 5308 milliseconds