Home
last modified time | relevance | path

Searched refs:readFileIntoString (Results 1 – 3 of 3) sorted by relevance

/hardware/google/aemu/base/
DFileUtils_unittest.cpp44 EXPECT_FALSE(readFileIntoString(-1, &dummy_buffer)); in TEST()
48 EXPECT_TRUE(readFileIntoString(fd.get(), &read_buffer)); in TEST()
53 auto readFailedRes = readFileIntoString("!@#%R#$%W$*@#$*"); in TEST()
56 auto readSucceededRes = readFileIntoString(tempfile_path(tf)); in TEST()
82 const auto testOutput = readFileIntoString(tempfile_path(tf)); in TEST()
DFileUtils.cpp40 bool readFileIntoString(int fd, std::string* file_contents) { in readFileIntoString() function
80 base::Optional<std::string> readFileIntoString(const std::string& name) { in readFileIntoString() function
/hardware/google/aemu/base/include/aemu/base/misc/
DFileUtils.h25 bool readFileIntoString(int fd, std::string* file_contents);
28 base::Optional<std::string> readFileIntoString(const std::string& filename);