Home
last modified time | relevance | path

Searched refs:abs_path (Results 1 – 24 of 24) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/premake/util/
Dsdl_depends.lua63 local abs_path = path.getabsolute(result_path)
65 abs_path = abs_path:gsub("\\", "/")
67 local pos = abs_path:indexOf(env_path)
69 abs_path = abs_path:sub(1, pos - 1) .. "$(" .. env .. ")/" .. abs_path:sub(pos + #env_path)
73 return found_dir, abs_path
/third_party/python/Modules/
Dgetpath.c322 copy_absolute(wchar_t *abs_path, const wchar_t *path, size_t abs_path_len) in copy_absolute() argument
325 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
330 if (!_Py_wgetcwd(abs_path, abs_path_len)) { in copy_absolute()
332 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
340 PyStatus status = joinpath(abs_path, path, abs_path_len); in copy_absolute()
355 wchar_t abs_path[MAXPATHLEN+1]; in absolutize() local
358 PyStatus status = copy_absolute(abs_path, path, Py_ARRAY_LENGTH(abs_path)); in absolutize()
364 *path_p = _PyMem_RawWcsdup(abs_path); in absolutize()
886 wchar_t *abs_path; in calculate_which() local
893 abs_path = joinpath2(path, program_name); in calculate_which()
[all …]
/third_party/node/deps/uvwasi/src/
Dpath_resolver.c187 char* abs_path; in uvwasi__normalize_absolute_path() local
193 abs_path = uvwasi__malloc(uvwasi, abs_size); in uvwasi__normalize_absolute_path()
194 if (abs_path == NULL) { in uvwasi__normalize_absolute_path()
200 err = uvwasi__normalize_path(path, path_len, abs_path, path_len); in uvwasi__normalize_absolute_path()
205 if (0 == uvwasi__is_path_sandboxed(abs_path, in uvwasi__normalize_absolute_path()
213 *normalized_path = abs_path; in uvwasi__normalize_absolute_path()
218 uvwasi__free(uvwasi, abs_path); in uvwasi__normalize_absolute_path()
/third_party/gn/src/base/files/
Dfile_enumerator_win.cc159 const FilePath abs_path = root_path_.Append(filename); in Next() local
167 DWORD attributes = GetFileAttributes(ToWCharT(&abs_path.value())); in Next()
169 pending_paths_.push(abs_path); in Next()
173 return abs_path; in Next()
/third_party/ltp/testcases/kernel/syscalls/futimesat/
Dfutimesat01.c104 char *abs_path = tst_get_tmpdir(); in setup() local
106 SAFE_ASPRINTF(cleanup, &testfile3, "%s/futimesatfile3.txt", abs_path); in setup()
107 free(abs_path); in setup()
/third_party/ltp/testcases/kernel/syscalls/faccessat/
Dfaccessat01.c116 char *abs_path = tst_get_tmpdir(); in setup() local
122 sprintf(testfile2, "%s/faccessattestfile%d.txt", abs_path, p); in setup()
125 free(abs_path); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchmodat/
Dfchmodat01.c115 char *abs_path = tst_get_tmpdir(); in setup() local
120 sprintf(testfile2, "%s/fchmodattest%d.txt", abs_path, p); in setup()
123 free(abs_path); in setup()
/third_party/flatbuffers/src/
Dutil.cpp200 char abs_path[MAX_PATH]; in AbsolutePath()
201 return GetFullPathNameA(filepath.c_str(), MAX_PATH, abs_path, nullptr) in AbsolutePath()
205 std::string abs_path; in AbsolutePath()
207 abs_path = abs_path_temp; in AbsolutePath()
212 ? abs_path in AbsolutePath()
/third_party/ltp/testcases/kernel/syscalls/fstatat/
Dfstatat01.c121 char *abs_path = tst_get_tmpdir(); in setup() local
123 SAFE_ASPRINTF(cleanup, &testfile3, "%s/fstatattestfile3.txt", abs_path); in setup()
124 free(abs_path); in setup()
/third_party/boost/libs/beast/test/beast/http/
Dmessage_fuzz.hpp266 abs_path() in abs_path() function in boost::beast::http::message_fuzz_t
290 s += abs_path(); in net_path()
311 s += abs_path(); in abs_uri()
329 case 1: return abs_path(); in target()
/third_party/flutter/skia/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py74 abs_path = '/usr/mips64el-linux-gnuabi64/lib/'
78 contents = contents.replace(abs_path, '')
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dsentence_piece_tokenizer_op.cc107 std::string abs_path = real_path; in GetModelRealPath() local
108 file_path_ = (Path(abs_path) / Path(filename)).ToString(); in GetModelRealPath()
/third_party/curl/tests/
Dsshserver.pl403 my $clipubkeyf_config = abs_path("$path/$clipubkeyf");
404 my $hstprvkeyf_config = abs_path("$path/$hstprvkeyf");
804 my $identity_config = abs_path("$path/$identity");
805 my $knownhosts_config = abs_path("$path/$knownhosts");
Dsecureserver.pl186 $capath = abs_path($path);
188 $certfile = abs_path($certfile);
Dpathhelp.pm306 $path = Cwd::abs_path($path);
426 $path = Cwd::abs_path($path);
/third_party/mindspore/mindspore/explainer/
D_image_classification_runner.py1042 abs_path = None
1044 if abs_path is None:
1045 abs_path = os.path.realpath(token)
1047 abs_path = os.path.join(abs_path, token)
1050 os.mkdir(abs_path, mode=self._DIR_MODE)
1052 os.chmod(abs_path, mode=self._DIR_MODE)
1055 return abs_path
/third_party/ninja/src/
Dincludes_normalize-win32.cc159 string abs_path = AbsPath(path, err); in Relativize() local
162 vector<StringPiece> path_list = SplitStringPiece(abs_path, '/'); in Relativize()
/third_party/mindspore/mindspore/lite/tools/benchmark/
Dbenchmark_base.cc328 auto abs_path = dump_cfg_json_[dump::kSettings][dump::kPath].get<std::string>(); in InitDumpConfigFromJson() local
330 if (abs_path.back() == '\\' || abs_path.back() == '/') { in InitDumpConfigFromJson()
331 dump_file_output_dir_ = abs_path + net_name; in InitDumpConfigFromJson()
334 dump_file_output_dir_ = abs_path + "\\" + net_name; in InitDumpConfigFromJson()
336 dump_file_output_dir_ = abs_path + "/" + net_name; in InitDumpConfigFromJson()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_utils.cc211 std::string abs_path = *parent_dir + std::string(p); in GetDatasetFiles() local
212 (*ds)->emplace_back(abs_path); in GetDatasetFiles()
/third_party/openssl/util/perl/OpenSSL/
DTest.pm873 $directories{SRCTOP} = abs_path($ENV{SRCTOP} || $ENV{TOP});
874 $directories{BLDTOP} = abs_path($ENV{BLDTOP} || $ENV{TOP});
/third_party/ltp/docparse/
Dtestinfo.pl13 use constant OUTDIR => dirname(abs_path($0));
/third_party/python/Lib/test/
Dtest_site.py589 abs_path = os.path.abspath(os.path.join(sys_prefix, line))
590 sys_path.append(abs_path)
/third_party/json/third_party/cpplint/
Dcpplint.py6214 abs_path, base_name = os.path.split(abs_filename)
6218 cfg_file = os.path.join(abs_path, "CPPLINT.cfg")
6219 abs_filename = abs_path
/third_party/ltp/scripts/
Dcheckpatch.pl19 my $D = dirname(abs_path($P));
160 open(my $script, '<', abs_path($P)) or
1090 my $root_path = abs_path($root);