Lines Matching refs:kInvalidHandle
40 DCHECK_NE(handle, SyncSocket::kInvalidHandle); in SendHelper()
48 if (handle != SyncSocket::kInvalidHandle && close(handle) < 0) { in CloseHandle()
58 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1; member in base::SyncSocket
60 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} in SyncSocket()
69 DCHECK_EQ(socket_a->handle_, kInvalidHandle); in CreatePair()
70 DCHECK_EQ(socket_b->handle_, kInvalidHandle); in CreatePair()
76 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()
144 DCHECK_NE(handle_, kInvalidHandle); in ReceiveWithTimeout()
199 DCHECK_NE(handle_, kInvalidHandle); in Peek()
211 handle_ = kInvalidHandle; in Release()
221 DCHECK_NE(handle_, kInvalidHandle); in Shutdown()
228 DCHECK_NE(handle_, kInvalidHandle); in Send()