Lines Matching defs:file
115 std::ifstream file(path, std::ios_base::binary | std::ios_base::ate);
116 if (file) {
119 return newIncludeResult(path, file, (int)file.tellg());
133 // Do actual reading of the file, filling in a new include result.
134 virtual IncludeResult* newIncludeResult(const std::string& path, std::ifstream& file, int length) const
137 file.seekg(0, file.beg);
138 file.read(content, length);
143 // Otherwise, strip file name and return path leading up to it.