Searched refs:ScopedStdioFile (Results 1 - 5 of 5) sorted by relevance
/external/qemu/android/base/files/ |
H A D | ScopedStdioFile.h | 24 class ScopedStdioFile { class in namespace:android::base 27 ScopedStdioFile() : mFile(NULL) {} function in class:android::base::ScopedStdioFile 30 explicit ScopedStdioFile(FILE* file) : mFile(file) {} function in class:android::base::ScopedStdioFile 33 ~ScopedStdioFile() { close(); } 47 void swap(ScopedStdioFile* other) {
|
H A D | ScopedStdioFile_unittest.cpp | 12 #include "android/base/files/ScopedStdioFile.h" 26 TEST(ScopedStdioFile, DefaultConstructor) { 27 ScopedStdioFile f; 31 TEST(ScopedStdioFile, Constructor) { 32 ScopedStdioFile f(fopen(kNullFile, "rb")); 36 TEST(ScopedStdioFile, Release) { 38 ScopedStdioFile f(fopen(kNullFile, "rb")); 46 TEST(ScopedStdioFile, Close) { 47 ScopedStdioFile f(fopen(kNullFile, "rb")); 53 TEST(ScopedStdioFile, Swa [all...] |
/external/qemu/android/filesystems/ |
H A D | ext4_utils_unittest.cpp | 16 #include "android/base/files/ScopedStdioFile.h" 32 using android::base::ScopedStdioFile; 56 ScopedStdioFile file(fopen(mTempFilePath.c_str(), "wb"));
|
H A D | ext4_utils.cpp | 15 #include "android/base/files/ScopedStdioFile.h" 43 android::base::ScopedStdioFile file(::fopen(path, "rb"));
|
H A D | partition_types_unittest.cpp | 15 #include "android/base/files/ScopedStdioFile.h" 30 using android::base::ScopedStdioFile;
|
Completed in 619 milliseconds