Lines Matching defs:file
242 static void SetFileToSourceMapMapping(std::string &&file, std::string &&sourceMapUrl) {
243 auto it = sourceMapUrlMap.find(file);
245 sourceMapUrlMap.emplace(file, sourceMapUrl);
252 static std::string GetSourceMapFromFileName(std::string &&file) {
253 auto it = sourceMapUrlMap.find(file);
1362 std::ifstream file(filePath.c_str());
1363 if (!file.is_open()) {
1367 file.seekg(0, std::ios::end);
1368 const long fileLength = file.tellg();
1374 file.seekg(0, std::ios::beg);
1375 std::copy(std::istreambuf_iterator<char>(file), std::istreambuf_iterator<char>(), std::back_inserter(content));