Lines Matching refs:std
19 const std::string& SourceFileMap::PathFromV8Root(SourceId file) {
25 std::string SourceFileMap::AbsolutePath(SourceId file) {
26 const std::string& root_path = PathFromV8Root(file);
32 std::string SourceFileMap::PathFromV8RootWithoutExtension(SourceId file) {
33 std::string path_from_root = PathFromV8Root(file);
42 SourceId SourceFileMap::AddSource(std::string path) {
43 Get().sources_.push_back(std::move(path));
48 SourceId SourceFileMap::GetSourceId(const std::string& path) {
58 std::vector<SourceId> SourceFileMap::AllSources() {
60 std::vector<SourceId> result;
69 bool SourceFileMap::FileRelativeToV8RootExists(const std::string& path) {
70 const std::string file = Get().v8_root_ + "/" + path;
71 std::ifstream stream(file);