Home
last modified time | relevance | path

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

/system/tools/aidl/tests/
Dfake_io_delegate.cpp48 auto it = file_contents_.find(filename); in GetFileContents()
49 if (it == file_contents_.end()) { in GetFileContents()
62 const auto& it = file_contents_.find(CleanPath(file_path)); in GetLineReader()
63 if (it != file_contents_.cend()) { in GetLineReader()
70 return file_contents_.find(CleanPath(path)) != file_contents_.end(); in FileIsReadable()
89 file_contents_[filename] = contents; in SetFileContents()
95 for (auto it = file_contents_.begin(); it != file_contents_.end(); it++) { in ListFiles()
Dfake_io_delegate.h70 std::map<std::string, std::string> file_contents_; variable
/system/tools/aidl/
Dgenerate_cpp_unittest.cpp1374 : options_(Options::From(cmdline)), file_contents_(file_contents) { in ASTTest()
1379 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface()
1411 const string file_contents_; member in android::aidl::cpp::ASTTest