Lines Matching refs:mFD
45 : mFD(-1), in FileBase()
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
83 if (mFD > 0) { in open()
104 if (::fstat(mFD, &fd_stat) == 0) { in checkFileIntegrity()
139 if ((mFD < 0) || hasError()) { in lock()
163 if (::flock(mFD, lock_operation) == 0) { in lock()
207 if (mFD < 0) { in unlock()
212 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
227 if (mFD > 0) { in close()
228 ::close(mFD); in close()
229 mFD = -1; in close()