Home
last modified time | relevance | path

Searched refs:exec_path (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/v8/src/base/
H A Dfile-utils.cc16 std::unique_ptr<char[]> RelativePath(const char* exec_path, const char* name) { in RelativePath() argument
17 DCHECK(exec_path); in RelativePath()
18 size_t basename_start = strlen(exec_path); in RelativePath()
20 !OS::isDirectorySeparator(exec_path[basename_start - 1])) { in RelativePath()
25 if (basename_start > 0) memcpy(buffer.get(), exec_path, basename_start); in RelativePath()
H A Dfile-utils.h18 std::unique_ptr<char[]> RelativePath(const char* exec_path, const char* name);
/third_party/python/Mac/Tools/
H A Dpythonw.c156 char* exec_path = get_python_path(); in main() local
220 argv[0] = exec_path; in main()
231 posix_spawn(NULL, exec_path, NULL, in main()
233 err(1, "posix_spawn: %s", exec_path); in main()
236 execve(exec_path, argv, environ); in main()
/third_party/node/deps/v8/src/init/
H A Dicu_util.cc39 bool InitializeICUDefaultLocation(const char* exec_path, in InitializeICUDefaultLocation() argument
49 base::RelativePath(exec_path, "icudtl.dat"); in InitializeICUDefaultLocation()
52 base::RelativePath(exec_path, "icudtb.dat"); in InitializeICUDefaultLocation()
H A Dicu_util.h18 bool InitializeICUDefaultLocation(const char* exec_path,
/third_party/node/deps/v8/include/v8-include/
H A Dv8-initialization.h152 static bool InitializeICUDefaultLocation(const char* exec_path,
/third_party/node/deps/v8/include/
H A Dv8-initialization.h155 static bool InitializeICUDefaultLocation(const char* exec_path,
/third_party/node/src/
H A Dnode_process_object.cc230 env->exec_path().c_str(), in PatchProcessObject()
232 env->exec_path().size()) in PatchProcessObject()
H A Denv.cc588 // exec_path. in GetCwd()
589 const std::string& exec_path = exec_path_; in GetCwd() local
590 return exec_path.substr(0, exec_path.find_last_of(kPathSeparator)); in GetCwd()
626 std::string exec_path; in GetExecPath() local
628 exec_path = std::string(exec_path_buf, exec_path_len); in GetExecPath()
630 exec_path = argv[0]; in GetExecPath()
639 uv_fs_realpath(nullptr, &req, exec_path.c_str(), nullptr)) { in GetExecPath()
641 exec_path = std::string(static_cast<char*>(req.ptr)); in GetExecPath()
646 return exec_path; in GetExecPath()
[all...]
H A Denv-inl.h419 inline const std::string& Environment::exec_path() const { in exec_path() function in node::Environment
H A Denv.h602 const std::string& exec_path() const;
/third_party/ltp/testcases/kernel/fs/doio/
H A Dgrowfiles.c390 char *exec_path = NULL; in main() local
1216 if (exec_path == NULL) { in main()
1217 exec_path = argv[0]; in main()
1219 argv[0] = malloc(strlen(exec_path) + 2); in main()
1220 sprintf(argv[0], "-%s", exec_path); in main()
H A Ddoio.c650 char *exec_path; in main() local
652 exec_path = argv[0]; in main()
653 argv[0] = malloc(strlen(exec_path) + 2); in main()
654 sprintf(argv[0], "-%s", exec_path); in main()
656 execvp(exec_path, argv); in main()
659 exec_path, SYSERR, errno); in main()
/third_party/nghttp2/src/
H A Dshrpx.cc524 auto exec_path = in exec_binary() local
527 if (!exec_path) { in exec_binary()
534 argv[0] = exec_path; in exec_binary()
/third_party/node/deps/v8/src/api/
H A Dapi.cc6201 bool v8::V8::InitializeICUDefaultLocation(const char* exec_path, in InitializeICUDefaultLocation() argument
6203 return i::InitializeICUDefaultLocation(exec_path, icu_data_file); in InitializeICUDefaultLocation()

Completed in 68 milliseconds