Home
last modified time | relevance | path

Searched refs:openForWrite (Results 1 – 4 of 4) sorted by relevance

/third_party/gptfdisk/
Ddiskio-windows.cc57 if (openForWrite) { in OpenForRead()
73 openForWrite = 0; in OpenForRead()
76 openForWrite = 0; in OpenForRead()
86 if ((isOpen) && (openForWrite)) in OpenForWrite()
107 openForWrite = 0; in OpenForWrite()
111 openForWrite = 1; in OpenForWrite()
122 openForWrite = 0; in Close()
177 if (!openForWrite) { in DiskSync()
274 if ((!isOpen) || (!openForWrite)) { in Write()
Ddiskio-unix.cc60 if (openForWrite) { in OpenForRead()
79 openForWrite = 0; in OpenForRead()
82 openForWrite = 0; in OpenForRead()
117 if ((isOpen) && (openForWrite)) in OpenForWrite()
134 openForWrite = 1; in OpenForWrite()
137 openForWrite = 0; in OpenForWrite()
149 openForWrite = 0; in Close()
385 if ((!isOpen) || (!openForWrite)) { in Write()
Ddiskio.cc48 openForWrite = 0; in DiskIO()
60 if (((realFilename != filename) && (userFilename != filename)) || (openForWrite)) { in OpenForRead()
81 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { in OpenForWrite()
Ddiskio.h52 int openForWrite; variable
78 int IsOpenForWrite(void) {return openForWrite;} in IsOpenForWrite()