Home
last modified time | relevance | path

Searched refs:real_path (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Mac/Tools/
H A Dpythonw.c158 static char real_path[PATH_MAX * 2]; in main() local
179 if (realpath(path, real_path) == NULL) { in main()
183 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
189 if (realpath(".", real_path) == NULL) { in main()
192 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) { in main()
196 if (strlcat(real_path, pat in main()
[all...]
/third_party/curl/lib/
H A Dfile.c145 char *real_path; in file_connect() local
164 result = Curl_urldecode(data->state.up.path, 0, &real_path, in file_connect()
184 actual_path = real_path; in file_connect()
198 Curl_safefree(real_path); in file_connect()
205 if(memchr(real_path, 0, real_path_len)) { in file_connect()
207 Curl_safefree(real_path); in file_connect()
220 file->path = real_path; in file_connect()
222 if(real_path[0] == '/') { in file_connect()
224 if(strchr(real_path + 1, ':')) { in file_connect()
226 fd = open_readonly(real_path in file_connect()
[all...]
/third_party/node/deps/uvwasi/src/
H A Dfd_table.h16 char* real_path; member
41 const char* real_path,
51 const char* real_path);
H A Dfd_table.c64 const char* real_path, in uvwasi_fd_table_insert()
85 rp_len = strlen(real_path); in uvwasi_fd_table_insert()
106 memcpy(rp_copy, real_path, rp_len); in uvwasi_fd_table_insert()
168 entry->real_path = rp_copy; in uvwasi_fd_table_insert()
274 const char* real_path) { in uvwasi_fd_table_insert_preopen()
280 if (table == NULL || path == NULL || real_path == NULL) in uvwasi_fd_table_insert_preopen()
299 real_path, in uvwasi_fd_table_insert_preopen()
59 uvwasi_fd_table_insert(uvwasi_t* uvwasi, struct uvwasi_fd_table_t* table, uv_file fd, uv_tcp_t* sock, const char* mapped_path, const char* real_path, uvwasi_filetype_t type, uvwasi_rights_t rights_base, uvwasi_rights_t rights_inheriting, int preopen, struct uvwasi_fd_wrap_t** wrap) uvwasi_fd_table_insert() argument
270 uvwasi_fd_table_insert_preopen(uvwasi_t* uvwasi, struct uvwasi_fd_table_t* table, const uv_file fd, const char* path, const char* real_path) uvwasi_fd_table_insert_preopen() argument
H A Dpath_resolver.c315 real_path_len = strlen(fd->real_path); in uvwasi__resolve_path_to_host()
336 memcpy(res_path, fd->real_path, real_path_len); in uvwasi__resolve_path_to_host()
H A Duvwasi.c337 if (options->preopens[i].real_path == NULL || in uvwasi_init()
359 options->preopens[i].real_path, in uvwasi_init()
1384 r = uv_fs_opendir(NULL, &req, wrap->real_path, NULL); in uvwasi_fd_readdir()
/third_party/vulkan-loader/tests/framework/shim/
H A Dunix_shim.cpp176 auto real_path = it->folder_path; in READDIR_FUNC_NAME() local
178 real_path = platform_shim.redirection_map.at(it->folder_path).str(); in READDIR_FUNC_NAME()
180 auto filenames = get_folder_contents(platform_shim.folders, real_path); in READDIR_FUNC_NAME()
224 fs::path real_path = platform_shim.get_real_path_from_fake_path(path.parent_path()); in ACCESS_FUNC_NAME() local
225 real_path /= path.filename(); in ACCESS_FUNC_NAME()
226 return real_access(real_path.c_str(), mode); in ACCESS_FUNC_NAME()
242 auto real_path = platform_shim.get_real_path_from_fake_path(path.parent_path()) / path.filename(); in FOPEN_FUNC_NAME() local
243 f_ptr = real_fopen(real_path.c_str(), mode); in FOPEN_FUNC_NAME()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileCollector.cpp21 if (!sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath()
27 // sensitive in the absence of real_path, since this is the YAMLVFSWriter in isCaseSensitivePath()
30 if (sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)) in isCaseSensitivePath()
47 // Use real_path to fix any symbolic link component present in a path. in getRealPath()
51 auto EC = sys::fs::real_path(Directory, RealPath); in getRealPath()
H A DVirtualFileSystem.cpp248 if (llvm::sys::fs::real_path(PWD, RealPWD)) in RealFileSystem()
328 if (auto Err = llvm::sys::fs::real_path(Absolute, Resolved)) in setCurrentWorkingDirectory()
343 return llvm::sys::fs::real_path(adjustPath(Path, Storage), Output); in getRealPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h41 sys::fs::real_path(ParentPath, RealPath); in resolve()
/third_party/gn/src/base/files/
H A Dfile_util.h216 // Sets |real_path| to |path| with symbolic links and junctions expanded.
221 // or if |real_path| would be longer than MAX_PATH characters.
222 bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
232 // Given an existing file in |path|, set |real_path| to the path
H A Dfile_util_win.cc419 bool NormalizeFilePath(const FilePath& path, FilePath* real_path) { in NormalizeFilePath() argument
427 return DevicePathToDriveLetterPath(mapped_file, real_path); in NormalizeFilePath()
/third_party/libabigail/include/
H A Dabg-tools-utils.h55 void real_path(const string&path, string& realpath);
/third_party/node/deps/uvwasi/include/
H A Duvwasi.h56 const char* real_path; member
/third_party/node/src/
H A Dnode_wasi.cc220 node::Utf8Value real_path(env->isolate(), real); in New()
223 options.preopens[index].real_path = strdup(*real_path); in New()
224 CHECK_NOT_NULL(options.preopens[index].real_path); in New()
243 free(const_cast<char*>(options.preopens[i].real_path)); in New()
/third_party/libabigail/tools/
H A Dabipkgdiff.cc122 using abigail::tools_utils::real_path;
625 real_path(root, root); in convert_path_to_relative()
627 real_path(p, p); in convert_path_to_relative()
2280 real_path(dir, root); in get_interesting_files_under_dir()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFileSystem.h366 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp499 // such a case we must get the real_path.
500 if (sys::fs::real_path(Filename, RealPath)) {
501 // real_path can fail with path like "foo.c".
/third_party/libdrm/
H A Dxf86drm.c3560 char real_path[PATH_MAX + 1] = ""; in drmParseSubsystemType() local
3569 if (!realpath(path, real_path)) in drmParseSubsystemType()
/third_party/libabigail/src/
H A Dabg-tools-utils.cc739 /// @param result the computed real_path;
741 real_path(const string&path, string& result) in real_path() function

Completed in 33 milliseconds