Lines Matching full:getfile
119 // getFile() returns non-NULL if a real file exists at the given path.
135 const FileEntry *file = manager.getFile("/tmp/test");
144 file = manager.getFile(FileName);
153 // getFile() returns non-NULL if a virtual file exists at the given path.
159 const FileEntry *file = manager.getFile("virtual/dir/bar.h");
168 // getFile() returns different FileEntries for different paths when
179 const FileEntry *fileFoo = manager.getFile("foo.cpp");
180 const FileEntry *fileBar = manager.getFile("bar.cpp");
186 // getFile() returns NULL if neither a real file nor a virtual file
198 const FileEntry *file = manager.getFile("xyz.txt");
206 // getFile() returns the same FileEntry for real files that are aliases.
215 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp"));
218 // getFile() returns the same FileEntry for virtual files that have
231 EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp"));