Home
last modified time | relevance | path

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

/aosp12/system/tools/aidl/tests/
H A Dfake_io_delegate.cpp49 auto it = file_contents_.find(filename); in GetFileContents()
50 if (it == file_contents_.end()) { in GetFileContents()
63 const auto& it = file_contents_.find(CleanPath(file_path)); in GetLineReader()
64 if (it != file_contents_.cend()) { in GetLineReader()
71 return file_contents_.find(CleanPath(path)) != file_contents_.end(); in FileIsReadable()
90 file_contents_[filename] = contents; in SetFileContents()
96 for (auto it = file_contents_.begin(); it != file_contents_.end(); it++) { in ListFiles()
156 return file_contents_; in InputFiles()
H A Dfake_io_delegate.h74 std::map<std::string, std::string> file_contents_; variable
/aosp12/system/tools/aidl/
H A Dgenerate_cpp_unittest.cpp43 : options_(Options::From(cmdline)), file_contents_(file_contents) { in ASTTest()
47 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface()
66 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleEnumDeclaration()
96 const string file_contents_; member in android::aidl::cpp::ASTTest