Searched refs:kInvalidFileDescriptor (Results 1 – 2 of 2) sorted by relevance
58 mFd = kInvalidFileDescriptor; in ~Autoclose()68 mFd = kInvalidFileDescriptor; in release()96 kInvalidFileDescriptor = -1, enumerator
140 static const int kInvalidFileDescriptor = -1; variable145 UInputDescriptor() : mFd(kInvalidFileDescriptor) { in UInputDescriptor()157 bool IsValid() const { return mFd != kInvalidFileDescriptor; } in IsValid()176 if (mFd != kInvalidFileDescriptor) { in ~UInputDescriptor()178 mFd = kInvalidFileDescriptor; in ~UInputDescriptor()184 mFd = kInvalidFileDescriptor; in Detach()197 mFd = kInvalidFileDescriptor; in Open()