Searched refs:FileBase (Results 1 – 8 of 8) sorted by relevance
/frameworks/compile/libbcc/include/bcc/Support/ |
D | File.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::kDefaultMaxRetryLock, 58 FileBase::kDefaultRetryLockInterval) { [all …]
|
D | FileMutex.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);
|
D | FileBase.h | 31 class FileBase { 99 FileBase(FileBase &); // Do not implement. 100 void operator=(const FileBase &); // Do not implement. 106 FileBase(const std::string &pFilename, unsigned pOpenFlags, unsigned pFlags); 150 virtual ~FileBase();
|
D | InputFile.h | 25 class InputFile : public File<FileBase::kReadMode> { 26 typedef File<FileBase::kReadMode> super;
|
D | OutputFile.h | 29 class OutputFile : public File<FileBase::kWriteMode> { 30 typedef File<FileBase::kWriteMode> super;
|
/frameworks/compile/libbcc/lib/Support/ |
D | FileBase.cpp | 45 FileBase::FileBase(const std::string &pFilename, in FileBase() function in FileBase 77 FileBase::~FileBase() { in ~FileBase() 81 bool FileBase::open() { in open() 100 bool FileBase::checkFileIntegrity() { in checkFileIntegrity() 129 void FileBase::detectError() { in detectError() 134 bool FileBase::lock(enum LockModeEnum pMode, in lock() 209 void FileBase::unlock() { in unlock() 225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, in createMap() 246 size_t FileBase::getSize() { in getSize() 264 off_t FileBase::seek(off_t pOffset) { in seek() [all …]
|
D | Android.mk | 27 FileBase.cpp \
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSCompilerDriver.cpp | 159 FileMutex<FileBase::kWriteLock> write_output_mutex(pOutputPath); in compileScript() 170 FileBase::kTruncate | FileBase::kBinary); in compileScript() 201 ir_file = new OutputFile(path.c_str(), FileBase::kTruncate); in compileScript()
|