Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_vs_real_test.py62 real_path, fake_path = self._Paths(path)
64 os.mkdir(real_path)
67 fh = open(real_path, 'w')
75 fh = open(real_path, 'wb')
89 os.symlink(real_target, real_path)
92 os.link(real_target, real_path)
129 real_path, fake_path = self._Paths(info[1])
132 os.rmdir(real_path)
136 real_path, e, os.listdir(real_path)))
141 os.remove(real_path)
[all …]
Dfake_filesystem.py1928 real_path = self.filesystem.ResolvePath(file_path)
1930 file_object = self.filesystem.GetObjectFromNormalizedPath(real_path)
1945 real_path, create_missing_dirs=False, apply_umask=True)
/external/curl/lib/
Dfile.c190 char *real_path; in file_connect() local
199 real_path = curl_easy_unescape(data, data->state.path, 0, &real_path_len); in file_connect()
200 if(!real_path) in file_connect()
218 actual_path = real_path; in file_connect()
237 if(memchr(real_path, 0, real_path_len)) in file_connect()
241 fd = open_readonly(real_path, O_RDONLY); in file_connect()
242 file->path = real_path; in file_connect()
244 file->freepath = real_path; /* free this when done */ in file_connect()
Dssh.c408 char *real_path = NULL; in ssh_getworkingpath() local
419 real_path = malloc(working_path_len+1); in ssh_getworkingpath()
420 if(real_path == NULL) { in ssh_getworkingpath()
426 memcpy(real_path, working_path+3, 4 + working_path_len-3); in ssh_getworkingpath()
428 memcpy(real_path, working_path, 1 + working_path_len); in ssh_getworkingpath()
433 real_path = malloc(homelen + working_path_len + 1); in ssh_getworkingpath()
434 if(real_path == NULL) { in ssh_getworkingpath()
440 memcpy(real_path, homedir, homelen); in ssh_getworkingpath()
441 real_path[homelen] = '/'; in ssh_getworkingpath()
442 real_path[homelen+1] = '\0'; in ssh_getworkingpath()
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dstatus.py284 real_path, content_type = self._RESOURCE_MAP[relative]
285 path = os.path.join(os.path.dirname(__file__), "static", real_path)
294 data = pkgutil.get_data(__name__, "static/" + real_path)
/external/libchrome/base/files/
Dfile_util.h276 BASE_EXPORT bool NormalizeFilePath(const FilePath& path, FilePath* real_path);
Dfile_util_posix.cc84 bool RealPath(const FilePath& path, FilePath* real_path) { in RealPath() argument
90 *real_path = FilePath(buf); in RealPath()
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py1951 real_path = self.filesystem.ResolvePath(file_path)
1953 file_object = self.filesystem.GetObjectFromNormalizedPath(real_path)
1968 real_path, create_missing_dirs=False, apply_umask=True)