Home
last modified time | relevance | path

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

/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/
H A 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()
/aosp_15_r20/external/cronet/net/test/embedded_test_server/
H A Drequest_handler_util.cc112 std::string new_file_path = original_file_path; in GetFilePathWithReplacements() local
118 if (new_file_path == original_file_path) in GetFilePathWithReplacements()
119 new_file_path += "?"; in GetFilePathWithReplacements()
121 new_file_path += "&"; in GetFilePathWithReplacements()
122 new_file_path += "replace_text="; in GetFilePathWithReplacements()
123 new_file_path += base64_old; in GetFilePathWithReplacements()
124 new_file_path += ":"; in GetFilePathWithReplacements()
125 new_file_path += base64_new; in GetFilePathWithReplacements()
128 return new_file_path; in GetFilePathWithReplacements()
/aosp_15_r20/external/cronet/net/test/spawned_test_server/
H A Dbase_test_server.cc197 std::string new_file_path = original_file_path; in GetFilePathWithReplacements() local
206 new_file_path += "?"; in GetFilePathWithReplacements()
209 new_file_path += "&"; in GetFilePathWithReplacements()
211 new_file_path += "replace_text="; in GetFilePathWithReplacements()
212 new_file_path += base64_old; in GetFilePathWithReplacements()
213 new_file_path += ":"; in GetFilePathWithReplacements()
214 new_file_path += base64_new; in GetFilePathWithReplacements()
217 *replacement_path = new_file_path; in GetFilePathWithReplacements()
/aosp_15_r20/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py1785 new_file_path: AnyPath,
1813 new_path = make_string_path(new_file_path)
1890 self, new_file_path: AnyStr, old_file_path: AnyStr, ends_with_sep: bool
1893 new_file_path
1895 self.raise_os_error(errno.ENOTDIR, new_file_path)
1896 if self.isdir(new_file_path, follow_symlinks=False) and self.islink(
1902 self.raise_os_error(error, new_file_path)
1906 and old_file_path == new_file_path
1909 self.raise_os_error(errno.ENOTDIR, new_file_path)
1914 new_file_path: AnyStr,
[all …]
/aosp_15_r20/tools/aadevtools/dev/
H A Dchange_report.py294 new_file_path = pathlib.Path(dircmp.right, file)
295 self._diff_files(old_file_path, new_file_path)
297 def _diff_files(self, old_file_path, new_file_path): argument
300 new_file_stat = FileStat(new_file_path)
301 common_name = str(new_file_path)[self._new_dir_prefix_len:]
309 with open(new_file_path, encoding='utf-8') as f2:
314 new_file_path.name))
321 old_file_path, new_file_path))
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/tests/
Dfs_rename.rs17 let new_file_path = temp_dir.path().join("b.txt"); in rename_file() localVariable
19 fs::rename(&file_path, &new_file_path).await.unwrap(); in rename_file()
21 assert!(fs::try_exists(new_file_path).await.unwrap()); in rename_file()
/aosp_15_r20/external/pytorch/tools/code_coverage/package/tool/
H A Dgcc_coverage.py44 new_file_path = os.path.join(
47 os.rename(gz_file_name, new_file_path)
49 subprocess.check_output(["gzip", "-d", new_file_path])
/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py938 new_file_path = self.os.path.join(directory, "plugh_new")
941 self.assertFalse(self.os.path.exists(new_file_path))
942 self.os.rename(old_file_path, new_file_path)
944 self.assertTrue(self.os.path.exists(new_file_path))
945 self.check_contents(new_file_path, "test contents")
1034 new_file_path = self.os.path.join(dir_path, "new_file")
1036 self.os.rename(file_path, new_file_path)
1209 new_file_path = self.os.path.join(directory, "plugh_new")
1211 self.create_file(new_file_path, contents="test contents 2")
1213 self.assertTrue(self.os.path.exists(new_file_path))
[all …]
Dfake_filesystem_shutil_test.py74 new_file_path = self.os.path.join(dir1_path, "f1.txt")
78 shutil.move(old_file_path, new_file_path)
/aosp_15_r20/external/aws-crt-java/codebuild/
H A DCanaryWrapper_Classes.py1097 new_file_path = "tmp/new_file" + self.s3_file_name_only_extension
1101 … s3_resource.meta.client.download_file(self.s3_bucket_name, self.s3_file_name, new_file_path)
1112 with zipfile.ZipFile(new_file_path, 'r') as zip_file:
1114new_file_path = "tmp/new_file_zip/" + self.s3_file_name_in_zip_only_path + self.s3_file_name_in_zi…
1122 os.replace(new_file_path, self.canary_local_application_path)
/aosp_15_r20/external/cronet/base/metrics/
H A Dpersistent_histogram_allocator.cc1026 FilePath new_file_path = dir.Append(persistent_location_.BaseName()); in MovePersistentFile() local
1030 if (!base::ReplaceFile(persistent_location_, new_file_path, nullptr)) { in MovePersistentFile()
1034 SetPersistentLocation(new_file_path); in MovePersistentFile()
/aosp_15_r20/external/python/mobly/tests/mobly/controllers/android_device_lib/services/
Dlogcat_test.py200 new_file_path = 'some/path/log.txt'
202 logcat_params=new_log_params, output_file_path=new_file_path
/aosp_15_r20/external/python/mobly/tests/mobly/controllers/
Dandroid_device_test.py1274 new_file_path = os.path.join(new_log_path, 'file.txt')
1275 with io.open(new_file_path, 'w', encoding='utf-8') as f:
/aosp_15_r20/system/apex/apexd/
H A Dapexd.cpp1024 auto new_file_path = in ContributeToSharedLibs() local
1026 auto new_file_size = GetFileSize(new_file_path); in ContributeToSharedLibs()
1034 << existing_file_path << " and " << new_file_path; in ContributeToSharedLibs()