Searched refs:FileBase (Results 1 – 13 of 13) 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/include/bcc/Renderscript/ |
D | RSExecutable.h | 31 class FileBase; variable 43 FileBase *mObjFile; 58 RSExecutable(RSInfo &pInfo, FileBase &pObjFile, ObjectLoader &pLoader) in RSExecutable() 70 FileBase &pObjFile,
|
D | RSInfo.h | 38 class FileBase; variable
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSCompilerDriver.cpp | 93 FileMutex<FileBase::kReadLock> read_output_mutex(output_path.c_str()); in loadScript() 260 FileMutex<FileBase::kWriteLock> write_output_mutex(pOutputPath); in compileScript() 271 FileBase::kTruncate | FileBase::kBinary); in compileScript() 302 ir_file = new OutputFile(path.string(), FileBase::kTruncate); in compileScript() 324 OutputFile info_file(info_path.string(), FileBase::kTruncate); in compileScript() 332 FileMutex<FileBase::kWriteLock> write_info_mutex(info_path.string()); in compileScript()
|
D | RSExecutable.cpp | 39 FileBase &pObjFile, in Create() 133 OutputFile info_file(info_path.string(), FileBase::kTruncate); in syncInfo() 143 if (!mObjFile->lock(FileBase::kWriteLock)) { in syncInfo()
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
D | ObjectLoader.h | 28 class FileBase; variable 54 static ObjectLoader *Load(FileBase &pFile,
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
D | ObjectLoader.cpp | 102 ObjectLoader *ObjectLoader::Load(FileBase &pFile, in Load()
|