Lines Matching refs:isOpen
54 if (isOpen) { // file is already open in OpenForRead()
70 isOpen = 0; in OpenForRead()
73 isOpen = 1; in OpenForRead()
78 return isOpen; in OpenForRead()
84 if ((isOpen) && (openForWrite)) in OpenForWrite()
104 isOpen = 0; in OpenForWrite()
108 isOpen = 1; in OpenForWrite()
111 return isOpen; in OpenForWrite()
117 if (isOpen) in Close()
119 isOpen = 0; in Close()
131 if (!isOpen) { in GetBlockSize()
135 if (isOpen) { in GetBlockSize()
172 if (isOpen) { in DiskSync()
195 if (!isOpen) { in Seek()
199 if (isOpen) { in Seek()
221 if (!isOpen) { in Read()
225 if (isOpen) { in Read()
265 if ((!isOpen) || (!openForWrite)) { in Write()
269 if (isOpen) { in Write()
312 if (!isOpen) { in DiskSize()
316 if (isOpen) { in DiskSize()