Home
last modified time | relevance | path

Searched refs:new_file_path (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_suppressions.cc34 /*out*/char *new_file_path, in GetPathAssumingFileIsRelativeToExec() argument
40 internal_strncat(new_file_path, exec.data(), in GetPathAssumingFileIsRelativeToExec()
42 internal_strncat(new_file_path, file_path, in GetPathAssumingFileIsRelativeToExec()
43 new_file_path_size - internal_strlen(new_file_path) - 1); in GetPathAssumingFileIsRelativeToExec()
55 InternalScopedString new_file_path(kMaxPathLength); in ParseFromFile() local
57 GetPathAssumingFileIsRelativeToExec(filename, new_file_path.data(), in ParseFromFile()
58 new_file_path.size())) { in ParseFromFile()
59 filename = new_file_path.data(); in ParseFromFile()
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py889 new_file_path = self.os.path.join(directory, 'plugh_new')
892 self.assertFalse(self.os.path.exists(new_file_path))
893 self.os.rename(old_file_path, new_file_path)
895 self.assertTrue(self.os.path.exists(new_file_path))
896 self.check_contents(new_file_path, 'test contents')
987 new_file_path = self.os.path.join(dir_path, 'new_file')
989 self.os.rename(file_path, new_file_path)
1166 new_file_path = self.os.path.join(directory, 'plugh_new')
1168 self.create_file(new_file_path, contents='test contents 2')
1170 self.assertTrue(self.os.path.exists(new_file_path))
[all …]
Dfake_filesystem_shutil_test.py73 new_file_path = self.os.path.join(dir1_path, 'f1.txt')
77 shutil.move(old_file_path, new_file_path)
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py2196 new_file_path: AnyPath,
2223 new_path = make_string_path(new_file_path)
2292 def _handle_posix_dir_link_errors(self, new_file_path: AnyStr,
2296 self.islink(new_file_path)):
2297 self.raise_os_error(errno.ENOTDIR, new_file_path)
2298 if (self.isdir(new_file_path, follow_symlinks=False) and
2303 self.raise_os_error(error, new_file_path)
2305 old_file_path == new_file_path and not self.is_windows_fs):
2306 self.raise_os_error(errno.ENOTDIR, new_file_path)
2309 new_file_path: AnyStr,
[all …]
/external/python/mobly/tests/mobly/controllers/android_device_lib/services/
Dlogcat_test.py149 new_file_path = 'some/path/log.txt'
151 output_file_path=new_file_path)
/external/python/mobly/tests/mobly/controllers/
Dandroid_device_test.py961 new_file_path = os.path.join(new_log_path, 'file.txt')
962 with io.open(new_file_path, 'w', encoding='utf-8') as f: