Lines Matching refs:mFD
48 : mFD(-1), in FileBase()
85 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
86 if (mFD > 0) { in open()
107 if (::fstat(mFD, &fd_stat) == 0) { in checkFileIntegrity()
142 if ((mFD < 0) || hasError()) { in lock()
166 if (::flock(mFD, lock_operation) == 0) { in lock()
210 if (mFD < 0) { in unlock()
215 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
227 if (mFD < 0 || hasError()) { in createMap()
237 if (!map->create(NULL, mFD, pOffset, pLength, pIsReadOnly)) { in createMap()
247 if (mFD < 0 || hasError()) { in getSize()
253 if (::fstat(mFD, &file_stat) == 0) { in getSize()
265 if ((mFD < 0) || hasError()) { in seek()
270 off_t result = ::lseek(mFD, pOffset, SEEK_SET); in seek()
281 if ((mFD < 0) || hasError()) { in tell()
286 off_t result = ::lseek(mFD, 0, SEEK_CUR); in tell()
301 if (mFD > 0) { in close()
302 ::close(mFD); in close()
303 mFD = -1; in close()