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()
179 if (isOpen) { in DiskSync()
202 if (!isOpen) { in Seek()
206 if (isOpen) { in Seek()
228 if (!isOpen) { in Read()
232 if (isOpen) { in Read()
272 if ((!isOpen) || (!openForWrite)) { in Write()
276 if (isOpen) { in Write()
319 if (!isOpen) { in DiskSize()
323 if (isOpen) { in DiskSize()