Lines Matching full:path
854 bool IsAbsolutePath(const std::string& path) {
858 return path.find(':') != std::string::npos;
860 return path[0] == '/';
879 // Returns the directory part of path, without the trailing '/'.
880 std::string DirName(const std::string& path) {
881 DCHECK(IsAbsolutePath(path));
882 size_t last_slash = path.find_last_of('/');
884 return path.substr(0, last_slash);
887 // Resolves path to an absolute path if necessary, and does some
890 std::string NormalizePath(const std::string& path,
893 if (IsAbsolutePath(path)) {
894 absolute_path = path;
896 absolute_path = dir_name + '/' + path;
909 // Join path segments.
3308 const char* path) {
3309 return Shell::ReadFile(isolate, path, false).ToLocalChecked();
4377 // Enable support for unicode filename path on windows.
4382 // the filename path arg. And because Execute may be called multiple
4543 } else if (strncmp(argv[i], "--trace-path=", 13) == 0) {