Searched refs:readFileIntoString (Results 1 – 3 of 3) sorted by relevance
44 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()
40 bool readFileIntoString(int fd, std::string* file_contents) { in readFileIntoString() function80 base::Optional<std::string> readFileIntoString(const std::string& name) { in readFileIntoString() function
25 bool readFileIntoString(int fd, std::string* file_contents);28 base::Optional<std::string> readFileIntoString(const std::string& filename);