Home
last modified time | relevance | path

Searched refs:real_path (Results 1 – 25 of 25) sorted by relevance

/external/curl/lib/
Dcurl_path.c40 char *real_path = NULL; in Curl_getworkingpath() local
51 real_path = malloc(working_path_len + 1); in Curl_getworkingpath()
52 if(real_path == NULL) { in Curl_getworkingpath()
58 memcpy(real_path, working_path + 3, 4 + working_path_len-3); in Curl_getworkingpath()
60 memcpy(real_path, working_path, 1 + working_path_len); in Curl_getworkingpath()
65 real_path = malloc(homelen + working_path_len + 1); in Curl_getworkingpath()
66 if(real_path == NULL) { in Curl_getworkingpath()
72 memcpy(real_path, homedir, homelen); in Curl_getworkingpath()
73 real_path[homelen] = '/'; in Curl_getworkingpath()
74 real_path[homelen + 1] = '\0'; in Curl_getworkingpath()
[all …]
Dfile.c137 char *real_path; in file_connect() local
146 CURLcode result = Curl_urldecode(data, data->state.up.path, 0, &real_path, in file_connect()
166 actual_path = real_path; in file_connect()
180 Curl_safefree(real_path); in file_connect()
187 if(memchr(real_path, 0, real_path_len)) { in file_connect()
189 Curl_safefree(real_path); in file_connect()
193 fd = open_readonly(real_path, O_RDONLY); in file_connect()
194 file->path = real_path; in file_connect()
196 file->freepath = real_path; /* free this when done */ in file_connect()
/external/python/cpython3/Mac/Tools/
Dpythonw.c155 static char real_path[PATH_MAX * 2]; in main() local
176 if (realpath(path, real_path) == NULL) { in main()
180 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
186 if (realpath(".", real_path) == NULL) { in main()
189 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) { in main()
193 if (strlcat(real_path, path, sizeof(real_path)) > sizeof(real_path)) { in main()
199 setenv("__PYVENV_LAUNCHER__", real_path, 1); in main()
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp84 static bool real_path(StringRef SrcPath, SmallVectorImpl<char> &RealPath) { in real_path() function
113 if (!real_path(Path, TmpDest)) in isCaseSensitivePath()
123 if (real_path(UpperDest, RealDest) && Path.equals(RealDest)) in isCaseSensitivePath()
169 if (!real_path(Dir, RealPath)) in getRealPath()
/external/autotest/client/site_tests/security_DeviceJail_Filesystem/
Dsecurity_DeviceJail_Filesystem.py78 real_path = os.path.realpath(os.path.join(dirpath, filename))
80 mode = os.stat(real_path).st_mode
85 self._check_device(real_path)
/external/toolchain-utils/binary_search_tool/android/
Dgenerate_cmd.sh21 real_path=$(realpath --relative-to="${BISECT_WORK_BUILD}" "${abs_path}")
22 item="-o $real_path "
/external/toolchain-utils/binary_search_tool/
Dbinary_search_perforce.py39 real_path = p4_path[1]
40 if real_path.endswith('...'):
41 real_path = real_path.replace('/...', '')
43 '; mkdir -p ' + checkoutdir + '/' + os.path.dirname(real_path))
44 command += ('&& rsync -lr ' + p4_snapshot + '/' + real_path + ' ' +
45 checkoutdir + '/' + os.path.dirname(real_path))
/external/v8/tools/clang/scripts/
Drun_tool.py119 real_path = os.path.realpath(p)
120 if os.path.isfile(real_path):
121 files.append(real_path)
123 partial_paths.append(real_path)
/external/libcxx/
Drun_tests.py184 real_path = os.path.realpath(arg)
185 if not any(real_path.startswith(path) for path in default_test_paths):
187 if not os.path.exists(real_path):
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp39 using llvm::sys::fs::real_path;
213 assert(!real_path(*main_source_file_, main_source_file_real_path)); in EndOfMainFile()
214 assert(!real_path(main_file->getName(), main_file_name_real_path)); in EndOfMainFile()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
Ddiscovery.py74 real_path = os.path.realpath(path)
75 res = cache.get(real_path)
77 cache[real_path] = res = search1(path)
/external/autotest/client/bin/result_tools/
Dresult_info.py277 real_path = os.path.realpath(path)
285 if ((os.path.islink(path) and real_path.startswith(top_dir)) or
286 real_path in all_dirs):
288 all_dirs.add(real_path)
/external/python/setuptools/pkg_resources/
D__init__.py1672 real_path = manager.get_cache_path(
1676 if self._is_current(real_path, zip_path):
1677 return real_path
1681 dir=os.path.dirname(real_path),
1686 manager.postprocess(tmpnam, real_path)
1689 rename(tmpnam, real_path)
1692 if os.path.isfile(real_path):
1693 if self._is_current(real_path, zip_path):
1696 return real_path
1699 unlink(real_path)
[all …]
/external/toolchain-utils/
Dtest_toolchains.py73 real_path = os.path.realpath(sym_path)
76 path_pieces = real_path.split('/')
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCFBundle.cpp124 sys::fs::real_path(Path, RealPath, /*expand_tilde*/ true); in SetFromPath()
DDeclContext.h43 sys::fs::real_path(ParentPath, RealPath); in resolve()
/external/libchrome/base/process/
Dlaunch.h224 base::FilePath real_path; member
Dlaunch_posix.cc507 const char* executable_path = !options.real_path.empty() ? in LaunchProcess()
508 options.real_path.value().c_str() : argv_cstr[0]; in LaunchProcess()
/external/tensorflow/tensorflow/tools/pip_package/
Dbuild_pip_package.sh24 function real_path() { function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp539 ASSERT_NO_ERROR(fs::real_path(TestDirectory, RealBase)); in TEST_F()
542 ASSERT_NO_ERROR(fs::real_path( in TEST_F()
550 ASSERT_NO_ERROR(fs::real_path(HomeDir, Expected)); in TEST_F()
551 ASSERT_NO_ERROR(fs::real_path("~", Actual, true)); in TEST_F()
553 ASSERT_NO_ERROR(fs::real_path("~/", Actual, true)); in TEST_F()
571 ASSERT_NO_ERROR(fs::real_path(Twine(TestDirectory) + "/noreadperm", Expanded, in TEST_F()
/external/libchrome/base/files/
Dfile_util.h320 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
/external/libcxx/src/filesystem/
Doperations.cpp823 const path real_path(__read_symlink(existing_symlink, ec)); in __copy_symlink() local
830 __create_symlink(real_path, new_symlink, ec); in __copy_symlink()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc889 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &dest,
899 return real_path(Storage, dest, false);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h349 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &output,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DPath.inc1229 std::error_code real_path(const Twine &path, SmallVectorImpl<char> &dest,
1239 return real_path(Storage, dest, false);