Searched refs:RandomAccessFile (Results 1 – 12 of 12) sorted by relevance
22 class RandomAccessFile; variable26 bool CopyFile(const RandomAccessFile& src, RandomAccessFile* dst);
35 virtual RandomAccessFile* MakeTestFile() = 0;54 static bool ReadString(RandomAccessFile* f, std::string* s) { in ReadString()68 std::unique_ptr<RandomAccessFile> file(MakeTestFile()); in TestRead()83 void TestReadContent(const std::string& content, RandomAccessFile* file) { in TestReadContent()115 std::unique_ptr<RandomAccessFile> file(MakeTestFile()); in TestSetLength()142 std::unique_ptr<RandomAccessFile> file(MakeTestFile()); in TestWrite()174 virtual void CleanUp(RandomAccessFile* file) { in CleanUp()
23 bool CopyFile(const RandomAccessFile& src, RandomAccessFile* dst) { in CopyFile()
37 class RandomAccessFile {39 virtual ~RandomAccessFile() { } in ~RandomAccessFile()
4 RandomAccessFile and related classes. The usual C++ idioms of RAII and "you7 In particular, the basic RandomAccessFile interface is kept small and simple so
25 virtual RandomAccessFile* MakeTestFile() { in MakeTestFile()
31 class NullFile : public RandomAccessFile {
34 class StringFile : public RandomAccessFile {
26 virtual RandomAccessFile* MakeTestFile() { in MakeTestFile()
33 class FdFile : public RandomAccessFile {
53 virtual RandomAccessFile* MakeTestFile() { in MakeTestFile()60 void CleanUp(RandomAccessFile* file) OVERRIDE { in CleanUp()
20 import java.io.RandomAccessFile;142 RandomAccessFile raf; in findClassNonDalvik()145 raf = new RandomAccessFile(path, "r"); in findClassNonDalvik()