Home
last modified time | relevance | path

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

/external/gptfdisk/
Ddiskio-windows.cc43 realFilename = "\\\\.\\physicaldrive"; in MakeRealName()
44 realFilename += userFilename.substr(0, colonPos); in MakeRealName()
46 realFilename = userFilename; in MakeRealName()
63 fd = CreateFile(realFilename.c_str(),GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, in OpenForRead()
67 cerr << "Problem opening " << realFilename << " for reading!\n"; in OpenForRead()
68 realFilename = ""; in OpenForRead()
91 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
98 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
Ddiskio.cc43 realFilename = ""; in DiskIO()
57 if (((realFilename != filename) && (userFilename != filename)) || (openForWrite)) { in OpenForRead()
78 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { in OpenForWrite()
85 realFilename = userFilename = ""; in OpenForWrite()
Ddiskio-unix.cc41 realFilename = userFilename; in MakeRealName()
60 fd = open(realFilename.c_str(), O_RDONLY); in OpenForRead()
62 cerr << "Problem opening " << realFilename << " for reading! Error is " << errno << ".\n"; in OpenForRead()
67 realFilename = ""; in OpenForRead()
104 fd = open(realFilename.c_str(), O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); in OpenForWrite()
109 fd = open(realFilename.c_str(), O_WRONLY | O_SHLOCK); in OpenForWrite()
171 cout << "Disk device is " << realFilename << "\n"; in GetBlockSize()
Ddiskio.h51 string realFilename; variable
78 string GetName(void) const {return realFilename;} in GetName()