Home
last modified time | relevance | path

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

/external/libchrome/base/
Dsync_socket_posix.cc39 DCHECK_NE(handle, SyncSocket::kInvalidHandle); in SendHelper()
47 if (handle != SyncSocket::kInvalidHandle && close(handle) < 0) { in CloseHandle()
57 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1; member in base::SyncSocket
59 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} in SyncSocket()
68 DCHECK_EQ(socket_a->handle_, kInvalidHandle); in CreatePair()
69 DCHECK_EQ(socket_b->handle_, kInvalidHandle); in CreatePair()
75 Handle handles[2] = { kInvalidHandle, kInvalidHandle }; in CreatePair()
113 return descriptor->fd != kInvalidHandle; in PrepareTransitDescriptor()
118 handle_ = kInvalidHandle; in Close()
131 DCHECK_NE(handle_, kInvalidHandle); in Receive()
[all …]
Dsync_socket.h42 static const Handle kInvalidHandle; variable
153 const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;
/external/webrtc/webrtc/modules/desktop_capture/
Dshared_memory.cc16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL; member in webrtc::SharedMemory
18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1;
Dshared_memory.h35 static const Handle kInvalidHandle; variable
38 static const Handle kInvalidHandle;