Home
last modified time | relevance | path

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

/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 …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py152 old_dir = os.getcwd()
157 os.chdir(old_dir)
167 old_dir = os.getcwd()
173 os.chdir(old_dir)
182 old_dir = os.getcwd()
187 os.chdir(old_dir)
193 old_dir = os.getcwd()
198 os.chdir(old_dir)
209 old_dir = os.getcwd()
216 os.chdir(old_dir)
[all …]
/external/webrtc/webrtc/base/
Dfileutils.cc162 Pathname old_dir; in DirectoryIterator() local
163 old_dir.SetFolder(old_path.pathname()); in DirectoryIterator()
169 if (di->Iterate(old_dir.pathname())) { in DirectoryIterator()
175 source.SetFolder(old_dir.pathname()); in DirectoryIterator()
/external/chromium-trace/catapult/common/node_runner/node_runner/
Dnode_util.py35 old_dir = os.path.abspath(os.curdir)
39 os.chdir(old_dir)
/external/python/setuptools/tests/
Dmanual_test.py21 old_dir = os.getcwd()
26 os.chdir(old_dir)
/external/toolchain-utils/cros_utils/
Dmisc.py309 old_dir = os.getcwd()
310 if old_dir != new_dir:
315 if old_dir != new_dir:
316 msg = 'cd %s' % old_dir
318 os.chdir(old_dir)
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py167 old_dir = os.getcwd()
168 self.addCleanup(os.chdir, old_dir)
179 os.chdir(old_dir)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_test_utils.py238 old_dir = os.getcwd()
267 os.chdir(old_dir)
/external/autotest/site_utils/
Ddeploy_server_local.py477 self.old_dir = None
480 self.old_dir = os.getcwd()
484 os.chdir(self.old_dir)
Djob_directories_unittest.py296 old_dir = os.getcwd()
302 os.chdir(old_dir)
/external/googletest/googletest/test/
Dgtest_test_utils.py248 old_dir = os.getcwd()
277 os.chdir(old_dir)
/external/yapf/yapftests/
Dfile_resources_test.py75 self.old_dir = os.getcwd()
79 os.chdir(self.old_dir)
/external/u-boot/fs/yaffs2/
Dyaffs_guts.c4039 int yaffs_rename_obj(struct yaffs_obj *old_dir, const YCHAR *old_name, in yaffs_rename_obj() argument
4048 if (!old_dir || old_dir->variant_type != YAFFS_OBJECT_TYPE_DIRECTORY) { in yaffs_rename_obj()
4057 dev = old_dir->my_dev; in yaffs_rename_obj()
4064 if (old_dir == new_dir && in yaffs_rename_obj()
4076 obj = yaffs_find_by_name(old_dir, old_name); in yaffs_rename_obj()
4078 obj = old_dir; in yaffs_rename_obj()
4079 old_dir = obj->parent; in yaffs_rename_obj()
4105 yaffs_update_parent(old_dir); in yaffs_rename_obj()
4106 if (new_dir != old_dir) in yaffs_rename_obj()
Dyaffs_guts.h835 int yaffs_rename_obj(struct yaffs_obj *old_dir, const YCHAR * old_name,
/external/u-boot/fs/ubifs/
Dubifs.h2147 int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir,
/external/python/cpython2/Lib/test/
Dtest_argparse.py45 self.old_dir = os.getcwd()
49 os.chdir(self.old_dir)
/external/python/cpython3/Lib/test/
Dtest_argparse.py36 self.old_dir = os.getcwd()
40 os.chdir(self.old_dir)
Dtest_os.py3475 old_dir = os.getcwd()
3485 os.chdir(old_dir)