Lines Matching refs:isOpen
55 if (isOpen) { // file is already open in OpenForRead()
74 isOpen = 0; in OpenForRead()
77 isOpen = 0; in OpenForRead()
92 isOpen = 1; in OpenForRead()
95 if (isOpen && realFilename.substr(0,4) == "/dev") { in OpenForRead()
107 return isOpen; in OpenForRead()
113 if ((isOpen) && (openForWrite)) in OpenForWrite()
129 isOpen = 1; in OpenForWrite()
132 isOpen = 0; in OpenForWrite()
135 return isOpen; in OpenForWrite()
141 if (isOpen) in Close()
144 isOpen = 0; in Close()
158 if (!isOpen) { in GetBlockSize()
162 if (isOpen) { in GetBlockSize()
202 if (!isOpen) { in GetPhysBlockSize()
206 if (isOpen) { in GetPhysBlockSize()
225 if (!isOpen) in GetNumHeads()
243 if (!isOpen) in GetNumSecsPerTrack()
261 if (!isOpen) { in DiskSync()
265 if (isOpen) { in DiskSync()
315 if (!isOpen) { in Seek()
319 if (isOpen) { in Seek()
338 if (!isOpen) { in Read()
342 if (isOpen) { in Read()
381 if ((!isOpen) || (!openForWrite)) { in Write()
385 if (isOpen) { in Write()
437 if (!isOpen) { in DiskSize()
441 if (isOpen) { in DiskSize()