Home
last modified time | relevance | path

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

/art/runtime/base/unix_file/
Drandom_access_file_test.h75 const std::string content("hello"); in TestRead()
76 … ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0))); in TestRead()
78 TestReadContent(content, file.get()); in TestRead()
83 void TestReadContent(const std::string& content, RandomAccessFile* file) { in TestReadContent() argument
84 const int buf_size = content.size() + 10; in TestReadContent()
90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0))); in TestReadContent()
91 ASSERT_EQ(std::string(buf.get(), content.size()), content); in TestReadContent()
95 ASSERT_LT(short_request, content.size()); in TestReadContent()
98 content.substr(0, short_request)); in TestReadContent()
106 content.substr(non_zero_offset, short_request)); in TestReadContent()
[all …]
/art/tools/
Dchecker.py223 def __init__(self, content, variant=Variant.InOrder, fileName=None, lineNo=-1): argument
226 self.content = content.strip()
229 self.lineParts = self.__parse(self.content)
437 Logger.testFailed("Could not match check line \"" + checkLine.content + "\" " +
458 Logger.testFailed("CHECK-NOT line \"" + checkLine.content + "\" matches output line " + \
/art/
DNOTICE154 origin of the Work and reproducing the content of the NOTICE file.