Searched refs:realFilename (Results 1 – 5 of 5) sorted by relevance
/external/gptfdisk/ |
D | diskio-windows.cc | 43 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()
|
D | diskio.cc | 45 realFilename = ""; in DiskIO() 60 if (((realFilename != filename) && (userFilename != filename)) || (openForWrite)) { in OpenForRead() 81 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { in OpenForWrite() 88 realFilename = userFilename = ""; in OpenForWrite()
|
D | diskio-unix.cc | 45 realFilename = userFilename; in MakeRealName() 64 fd = open(realFilename.c_str(), O_RDONLY); in OpenForRead() 66 cerr << "Problem opening " << realFilename << " for reading! Error is " << errno << ".\n"; in OpenForRead() 71 realFilename = ""; in OpenForRead() 95 if (isOpen && realFilename.substr(0,4) == "/dev") { in OpenForRead() 97 modelNameFilename << "/sys/block" << realFilename.substr(4,512) << "/device/model"; in OpenForRead() 120 fd = open(realFilename.c_str(), O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); in OpenForWrite() 125 fd = open(realFilename.c_str(), O_WRONLY | O_SHLOCK); in OpenForWrite() 187 cout << "Disk device is " << realFilename << "\n"; in GetBlockSize()
|
D | diskio.h | 51 string realFilename; variable 89 string GetName(void) const {return realFilename;} in GetName()
|
D | diskio-heap.cc | 30 realFilename = userFilename; in MakeRealName()
|