Searched defs:content (Results 1 - 1 of 1) sorted by relevance
/art/runtime/base/unix_file/ |
H A D | random_access_file_test.h | 73 const std::string content("hello"); 74 ASSERT_EQ(content.size(), file->Write(content.data(), content.size(), 0)); 76 TestReadContent(content, file.get()); 79 void TestReadContent(const std::string& content, RandomAccessFile* file) { argument 80 const int buf_size = content.size() + 10; 86 ASSERT_EQ(content.size(), file->Read(buf.get(), buf_size, 0)); 87 ASSERT_EQ(std::string(buf.get(), content.size()), content); local 155 ASSERT_EQ(std::string(buf, content.size()), content); local [all...] |
Completed in 9551 milliseconds