Searched defs:FileBase (Results 1 - 4 of 4) sorted by relevance
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | FileMutex.h | 22 #include "bcc/Support/FileBase.h" 26 template<enum FileBase::LockModeEnum LockMode> 27 class FileMutex : public FileBase { 30 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, kDeleteOnClose) { } 34 unsigned pMaxRetry = FileBase::kDefaultMaxRetryLock, 36 FileBase::kDefaultRetryLockInterval) { 37 return FileBase::lock(LockMode, pNonblocking, pMaxRetry, pRetryInterval); 33 lock(bool pNonblocking = true, unsigned pMaxRetry = FileBase::kDefaultMaxRetryLock, useconds_t pRetryInterval = FileBase::kDefaultRetryLockInterval) argument
|
H A D | File.h | 20 #include "bcc/Support/FileBase.h" 24 template<enum FileBase::OpenModeEnum OpenMode> 35 struct FileAttribute<FileBase::kReadMode> { 37 enum { kDefaultLockMode = FileBase::kReadLock }; 42 struct FileAttribute<FileBase::kWriteMode> { 44 enum { kDefaultLockMode = FileBase::kWriteLock }; 47 template<enum FileBase::OpenModeEnum OpenMode> 48 class File : public FileBase { 51 : FileBase(pFilename, FileAttribute<OpenMode>::kOpenFlags, pFlags) { } 56 unsigned pMaxRetry = FileBase 53 lock(enum LockModeEnum pMode = static_cast<enum LockModeEnum>( FileAttribute<OpenMode>::kDefaultLockMode), bool pNonblocking = true, unsigned pMaxRetry = FileBase::kDefaultMaxRetryLock, useconds_t pRetryInterval = FileBase::kDefaultRetryLockInterval) argument 62 createMap(off_t pOffset, size_t pLength, bool pIsReadOnly = (OpenMode == FileBase::kReadMode)) argument [all...] |
H A D | FileBase.h | 32 class FileBase { class in namespace:bcc 100 FileBase(FileBase &); // Do not implement. 101 void operator=(const FileBase &); // Do not implement. 105 // FileBase. It's a bit set composed by the value defined in 106 // FileBase::FlagEnum. 107 FileBase(const std::string &pFilename, unsigned pOpenFlags, unsigned pFlags); 151 virtual ~FileBase();
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | FileBase.cpp | 17 #include "bcc/Support/FileBase.h" 45 FileBase::FileBase(const std::string &pFilename, function in class:FileBase 77 FileBase::~FileBase() { 81 bool FileBase::open() { 100 bool FileBase::checkFileIntegrity() { 129 void FileBase::detectError() { 134 bool FileBase::lock(enum LockModeEnum pMode, 209 void FileBase [all...] |
Completed in 163 milliseconds