Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py74 old_dir = os.getcwd()
79 os.chdir(old_dir)
87 old_dir = os.getcwd()
92 os.chdir(old_dir)
124 old_dir = os.getcwd()
129 os.chdir(old_dir)
139 old_dir = os.getcwd()
145 os.chdir(old_dir)
153 old_dir = os.getcwd()
158 os.chdir(old_dir)
[all …]
/aosp_15_r20/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py154 old_dir = os.getcwd()
159 os.chdir(old_dir)
169 old_dir = os.getcwd()
175 os.chdir(old_dir)
184 old_dir = os.getcwd()
189 os.chdir(old_dir)
195 old_dir = os.getcwd()
200 os.chdir(old_dir)
211 old_dir = os.getcwd()
218 os.chdir(old_dir)
[all …]
Dtest_check.py28 old_dir = os.getcwd()
38 os.chdir(old_dir)
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/distutils/tests/
H A Dtest_archive_util.py154 old_dir = os.getcwd()
159 os.chdir(old_dir)
169 old_dir = os.getcwd()
175 os.chdir(old_dir)
184 old_dir = os.getcwd()
189 os.chdir(old_dir)
195 old_dir = os.getcwd()
200 os.chdir(old_dir)
211 old_dir = os.getcwd()
218 os.chdir(old_dir)
[all …]
H A Dtest_check.py28 old_dir = os.getcwd()
38 os.chdir(old_dir)
/aosp_15_r20/external/python/setuptools/setuptools/_distutils/tests/
Dtest_archive_util.py150 old_dir = os.getcwd()
155 os.chdir(old_dir)
165 old_dir = os.getcwd()
171 os.chdir(old_dir)
180 old_dir = os.getcwd()
185 os.chdir(old_dir)
191 old_dir = os.getcwd()
196 os.chdir(old_dir)
207 old_dir = os.getcwd()
214 os.chdir(old_dir)
[all …]
Dtest_check.py28 old_dir = os.getcwd()
38 os.chdir(old_dir)
/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/
Dtest_fcntl.rs63 let old_dir = tempfile::tempdir().unwrap(); in test_renameat() localVariable
65 open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat()
66 let old_path = old_dir.path().join("old"); in test_renameat()
93 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() localVariable
95 open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
96 let old_path = old_dir.path().join("old"); in test_renameat2_behaves_like_renameat_with_no_flags()
137 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_exchange() localVariable
139 open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_exchange()
140 let old_path = old_dir.path().join("old"); in test_renameat2_exchange()
185 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_noreplace() localVariable
[all …]
/aosp_15_r20/tools/aadevtools/dev/
H A Dchange_report.py161 def __init__(self, old_dir, new_dir, ignores=None, state_filter=None): argument
163 self.old_dir = os.path.abspath(old_dir)
164 self._old_dir_prefix_len = len(self.old_dir) + 1
185 self.old_dir, self.new_dir, ignore=self._ignores)
191 self.old_dir, self.new_dir)
378 if not os.path.isdir(args.old_dir):
379 print('ERROR: %s does not exist.' % args.old_dir)
386 change_report = ChangeReport(args.old_dir, args.new_dir, args.ignores,
H A Dchange_report_test.py30 old_dir = str(ChangeReportTest.get_resrouce_path('old_codebase'))
33 old_dir, new_dir, state_filter='0,1,2,3,4')
/aosp_15_r20/external/ltp/testcases/kernel/controllers/cpuset/
H A Dcpuset_regression_test.sh66 local old_dir=$PWD
82 cd $old_dir
93 cd $old_dir
105 local old_dir=$PWD
120 cd $old_dir
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/serialization/test/
Dtest_tools.hpp88 char old_dir[256]; in test_filename() local
89 _getcwd(old_dir, sizeof(old_dir) - 1); in test_filename()
96 chdir(old_dir); in test_filename()
/aosp_15_r20/external/toolchain-utils/cros_utils/
H A Dmisc.py327 old_dir = os.getcwd()
328 if old_dir != new_dir:
333 if old_dir != new_dir:
334 msg = "cd %s" % old_dir
336 os.chdir(old_dir)
/aosp_15_r20/external/chromium-trace/catapult/common/node_runner/node_runner/
H A Dnode_util.py35 old_dir = os.path.abspath(os.curdir)
39 os.chdir(old_dir)
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py176 old_dir = os.getcwd()
177 self.addCleanup(os.chdir, old_dir)
188 os.chdir(old_dir)
/aosp_15_r20/external/autotest/site_utils/
H A Djob_directories_unittest.py298 old_dir = os.getcwd()
304 os.chdir(old_dir)
/aosp_15_r20/tools/acloud/public/actions/
H A Dremote_host_cf_device_factory.py467 def _ReplaceRemoteImageArgs(launch_cvd_args, old_dir, new_dir): argument
482 if any(remote_path.isabs(path) != remote_path.isabs(old_dir) for
487 remote_path.join(new_dir, remote_path.relpath(path, old_dir)))
/aosp_15_r20/art/libartbase/base/unix_file/
H A Dfd_file.cc510 std::string old_dir = android::base::Dirname(old_path); in Rename() local
513 if (new_dir != old_dir) { in Rename()
514 sync_dirs.emplace_back(old_dir); in Rename()
/aosp_15_r20/external/perfetto/tools/
H A Dinstall-build-deps735 for old_dir in CLEANUP_OLD_DIRS:
736 RmtreeIfExists(os.path.join(ROOT_DIR, old_dir))
/aosp_15_r20/external/yapf/yapftests/
H A Dfile_resources_test.py244 self.old_dir = os.getcwd()
247 os.chdir(self.old_dir)
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c76 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, in BPF_PROG() argument
/aosp_15_r20/tools/aadevtools/
H A DREADME.md43 python3 change_report.py --old_dir ~/android/android11-qpr1-release \
/aosp_15_r20/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py1836 old_dir, old_name = self.splitpath(old_path)
1840 old_dir_object = self.resolve(old_dir)
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_argparse.py45 self.old_dir = os.getcwd()
49 os.chdir(self.old_dir)
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_argparse.py84 self.old_dir = os.getcwd()
88 os.chdir(self.old_dir)

12