Home
last modified time | relevance | path

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

/external/syslinux/extlinux/
Dmountinfo.c198 char *real_path; in find_mount() local
211 real_path = realpath(path, NULL); in find_mount()
212 if (!real_path) in find_mount()
219 len = strlen(real_path); in find_mount()
233 !memcmp(m->path, real_path, m->pathlen) && in find_mount()
234 (real_path[m->pathlen] == '/' || real_path[m->pathlen] == '\0')) { in find_mount()
241 if (real_path[best->pathlen] == '\0') in find_mount()
244 *subpath = strdup(real_path + best->pathlen); in find_mount()
/external/curl/lib/
Dfile.c189 char *real_path; in file_connect() local
198 CURLcode result = Curl_urldecode(data, data->state.path, 0, &real_path, in file_connect()
218 actual_path = real_path; in file_connect()
232 Curl_safefree(real_path); in file_connect()
239 if(memchr(real_path, 0, real_path_len)) { in file_connect()
241 Curl_safefree(real_path); in file_connect()
245 fd = open_readonly(real_path, O_RDONLY); in file_connect()
246 file->path = real_path; in file_connect()
248 file->freepath = real_path; /* free this when done */ in file_connect()
Dssh.c417 char *real_path = NULL; in ssh_getworkingpath() local
428 real_path = malloc(working_path_len+1); in ssh_getworkingpath()
429 if(real_path == NULL) { in ssh_getworkingpath()
435 memcpy(real_path, working_path+3, 4 + working_path_len-3); in ssh_getworkingpath()
437 memcpy(real_path, working_path, 1 + working_path_len); in ssh_getworkingpath()
442 real_path = malloc(homelen + working_path_len + 1); in ssh_getworkingpath()
443 if(real_path == NULL) { in ssh_getworkingpath()
449 memcpy(real_path, homedir, homelen); in ssh_getworkingpath()
450 real_path[homelen] = '/'; in ssh_getworkingpath()
451 real_path[homelen+1] = '\0'; in ssh_getworkingpath()
[all …]
/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/libcxx/
Drun_tests.py131 real_path = os.path.realpath(arg)
132 if not real_path.startswith(default_test_path):
134 if not os.path.exists(real_path):
/external/toolchain-utils/binary_search_tool/
Dbinary_search_perforce.py35 real_path = p4_path[1]
36 if real_path.endswith('...'):
37 real_path = real_path.replace('/...', '')
39 '; mkdir -p ' + checkoutdir + '/' + os.path.dirname(real_path))
40 command += ('&& rsync -lr ' + p4_snapshot + '/' + real_path + ' ' +
41 checkoutdir + '/' + os.path.dirname(real_path))
/external/autotest/client/bin/result_tools/
Dutils.py88 real_path = os.path.realpath(path)
95 if ((os.path.islink(path) and real_path.startswith(top_dir)) or
96 real_path in all_dirs):
99 all_dirs.add(real_path)
/external/toolchain-utils/
Dtest_toolchains.py74 real_path = os.path.realpath(sym_path)
77 path_pieces = real_path.split('/')
/external/libchrome/base/files/
Dfile_util.h281 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
Dfile_util_posix.cc85 bool RealPath(const FilePath& path, FilePath* real_path) { in RealPath() argument
91 *real_path = FilePath(buf); in RealPath()
/external/libcxx/src/experimental/filesystem/
Doperations.cpp313 const path real_path(__read_symlink(existing_symlink, ec)); in __copy_symlink() local
318 __create_symlink(real_path, new_symlink, ec); in __copy_symlink()