/third_party/mindspore/mindspore/lite/java/native/common/ |
D | jni_utils.cpp | 33 auto resolved_path = std::make_unique<char[]>(PATH_MAX); in RealPath() local 34 if (resolved_path == nullptr) { in RealPath() 39 char *real_path = _fullpath(resolved_path.get(), path, 1024); in RealPath() 41 char *real_path = realpath(path, resolved_path.get()); in RealPath() 47 std::string res = resolved_path.get(); in RealPath()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/src/misc/ |
D | realpath.c | 53 char *realpath(const char *__restrict path, char *__restrict resolved_path) in realpath() argument 59 if (!path || !*path || !resolved_path) { in realpath() 79 res = strcpy_s(resolved_path, PATH_MAX, path); in realpath() 84 return resolved_path; in realpath()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | realpath.c | 26 char *ntfs_realpath(const char *path, char *resolved_path) in ntfs_realpath() argument 28 strncpy(resolved_path, path, PATH_MAX); in ntfs_realpath() 29 resolved_path[PATH_MAX] = '\0'; in ntfs_realpath() 30 return resolved_path; in ntfs_realpath()
|
/third_party/mindspore/mindspore/lite/src/common/ |
D | config_file.cc | 34 auto resolved_path = std::make_unique<char[]>(PATH_MAX); in GetSectionInfoFromConfigFile() local 35 if (resolved_path == nullptr) { in GetSectionInfoFromConfigFile() 41 char *real_path = _fullpath(resolved_path.get(), file.c_str(), MAX_CONFIG_FILE_LENGTH); in GetSectionInfoFromConfigFile() 43 char *real_path = realpath(file.c_str(), resolved_path.get()); in GetSectionInfoFromConfigFile() 49 std::ifstream ifs(resolved_path.get()); in GetSectionInfoFromConfigFile()
|
D | file_utils.cc | 112 auto resolved_path = std::make_unique<char[]>(PATH_MAX); in RealPath() local 113 if (resolved_path == nullptr) { in RealPath() 118 char *real_path = _fullpath(resolved_path.get(), path, PATH_MAX); in RealPath() 120 char *real_path = realpath(path, resolved_path.get()); in RealPath() 126 std::string res = resolved_path.get(); in RealPath()
|
/third_party/node/deps/uvwasi/src/ |
D | path_resolver.c | 302 char** resolved_path, in uvwasi__resolve_path_to_host() argument 329 *resolved_path = uvwasi__malloc(uvwasi, *resolved_len + 1); in uvwasi__resolve_path_to_host() 331 if (*resolved_path == NULL) in uvwasi__resolve_path_to_host() 334 res_path = *resolved_path; in uvwasi__resolve_path_to_host() 354 res_path = *resolved_path; in uvwasi__resolve_path_to_host() 369 char** resolved_path, in uvwasi__resolve_path() argument 479 *resolved_path = host_path; in uvwasi__resolve_path() 481 *resolved_path = NULL; in uvwasi__resolve_path()
|
D | uvwasi.c | 1569 char* resolved_path; in uvwasi_path_create_directory() local 1593 err = uvwasi__resolve_path(uvwasi, wrap, path, path_len, &resolved_path, 0); in uvwasi_path_create_directory() 1597 r = uv_fs_mkdir(NULL, &req, resolved_path, 0777, NULL); in uvwasi_path_create_directory() 1599 uvwasi__free(uvwasi, resolved_path); in uvwasi_path_create_directory() 1619 char* resolved_path; in uvwasi_path_filestat_get() local 1649 &resolved_path, in uvwasi_path_filestat_get() 1654 r = uv_fs_lstat(NULL, &req, resolved_path, NULL); in uvwasi_path_filestat_get() 1655 uvwasi__free(uvwasi, resolved_path); in uvwasi_path_filestat_get() 1679 char* resolved_path; in uvwasi_path_filestat_set_times() local 1716 &resolved_path, in uvwasi_path_filestat_set_times() [all …]
|
D | path_resolver.h | 16 char** resolved_path,
|
/third_party/musl/porting/uniproton/kernel/src/misc/ |
D | realpath.c | 53 char *realpath(const char *__restrict path, char *__restrict resolved_path) in realpath() argument 79 res = strcpy_s(resolved_path, PATH_MAX, path); in realpath() 84 return resolved_path; in realpath()
|
/third_party/musl/porting/liteos_m/kernel/src/misc/ |
D | realpath.c | 53 char *realpath(const char *__restrict path, char *__restrict resolved_path) in realpath() argument 79 res = strcpy_s(resolved_path, PATH_MAX, path); in realpath() 84 return resolved_path; in realpath()
|
/third_party/mindspore/mindspore/lite/examples/quick_start_cpp/ |
D | main.cc | 40 auto resolved_path = std::make_unique<char[]>(max); in RealPath() local 41 if (resolved_path == nullptr) { in RealPath() 46 char *real_path = _fullpath(resolved_path.get(), path, 1024); in RealPath() 48 char *real_path = realpath(path, resolved_path.get()); in RealPath() 54 std::string res = resolved_path.get(); in RealPath()
|
/third_party/selinux/libselinux/src/ |
D | matchpathcon.c | 387 int realpath_not_final(const char *name, char *resolved_path) in realpath_not_final() argument 406 p = strcpy(resolved_path, ""); in realpath_not_final() 410 p = realpath(tmp_path, resolved_path); in realpath_not_final() 413 p = realpath("./", resolved_path); in realpath_not_final() 432 resolved_path += len; in realpath_not_final() 433 strcpy(resolved_path, "/"); in realpath_not_final() 434 resolved_path += 1; in realpath_not_final() 435 strcpy(resolved_path, last_component); in realpath_not_final()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | realpath.h | 15 extern char *ntfs_realpath(const char *path, char *resolved_path); 19 extern char *ntfs_realpath_canonicalize(const char *path, char *resolved_path);
|
/third_party/node/benchmark/fs/ |
D | bench-realpathSync.js | 8 const resolved_path = path.resolve(__dirname, '../../lib/'); constant 18 const path = pathType === 'relative' ? relative_path : resolved_path;
|
D | bench-realpath.js | 6 const resolved_path = path.resolve(__dirname, '../../lib/'); constant 37 fs.realpath(resolved_path, () => {
|
/third_party/mindspore/mindspore/lite/examples/runtime_gpu_extend/ |
D | main.cc | 44 auto resolved_path = std::make_unique<char[]>(max); in RealPath() local 45 if (resolved_path == nullptr) { in RealPath() 50 char *real_path = realpath(path, resolved_path.get()); in RealPath() 55 std::string res = resolved_path.get(); in RealPath()
|
/third_party/mindspore/mindspore/lite/tools/converter/ |
D | converter_flags.cc | 453 auto resolved_path = std::make_unique<char[]>(PATH_MAX); in GetStrFromConfigFile() local 454 if (resolved_path == nullptr) { in GetStrFromConfigFile() 460 char *real_path = _fullpath(resolved_path.get(), file.c_str(), kPathLengthUpperLimit); in GetStrFromConfigFile() 462 char *real_path = realpath(file.c_str(), resolved_path.get()); in GetStrFromConfigFile() 468 std::ifstream ifs(resolved_path.get()); in GetStrFromConfigFile()
|
/third_party/mesa3d/src/drm-shim/ |
D | drm_shim.c | 625 realpath(const char *path, char *resolved_path) in realpath() argument 630 return real_realpath(path, resolved_path); in realpath() 632 strcpy(resolved_path, path); in realpath() 634 return resolved_path; in realpath()
|
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/ |
D | main.cc | 39 auto resolved_path = std::make_unique<char[]>(max); in RealPath() local 40 if (resolved_path == nullptr) { in RealPath() 45 char *real_path = _fullpath(resolved_path.get(), path, 1024); in RealPath() 47 char *real_path = realpath(path, resolved_path.get()); in RealPath() 53 std::string res = resolved_path.get(); in RealPath()
|
/third_party/python/Lib/urllib/ |
D | parse.py | 569 resolved_path = [] 574 resolved_path.pop() 582 resolved_path.append(seg) 587 resolved_path.append('') 590 resolved_path) or '/', params, query, fragment)))
|
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/ |
D | lookup_dep.py | 283 resolved_path = path.resolve() 285 return str(resolved_path).startswith(str(resolved_other))
|
/third_party/python/Include/cpython/ |
D | fileutils.h | 132 wchar_t *resolved_path,
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/ |
D | shard_writer.cc | 48 char resolved_path[PATH_MAX] = {0}; in GetFullPathFromFileName() local 53 RETURN_UNEXPECTED_IF_NULL(_fullpath(resolved_path, dirname(&(buf[0])), PATH_MAX)); in GetFullPathFromFileName() 54 RETURN_UNEXPECTED_IF_NULL(_fullpath(resolved_path, common::SafeCStr(path), PATH_MAX)); in GetFullPathFromFileName() 56 CHECK_FAIL_RETURN_UNEXPECTED(realpath(dirname(&(buf[0])), resolved_path) != nullptr, in GetFullPathFromFileName() 57 "Invalid file, path: " + std::string(resolved_path)); in GetFullPathFromFileName() 58 if (realpath(common::SafeCStr(path), resolved_path) == nullptr) { in GetFullPathFromFileName() 62 file_paths_.emplace_back(string(resolved_path)); in GetFullPathFromFileName()
|
/third_party/selinux/libselinux/include/selinux/ |
D | selinux.h | 494 extern int realpath_not_final(const char *name, char *resolved_path);
|
/third_party/python/Python/ |
D | fileutils.c | 1944 wchar_t *resolved_path, size_t resolved_path_len) in _Py_wrealpath() argument 1972 wcsncpy(resolved_path, wresolved_path, resolved_path_len); in _Py_wrealpath() 1974 return resolved_path; in _Py_wrealpath()
|