Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py74 old_dir = os.getcwd()
87 old_dir = os.getcwd()
124 old_dir = os.getcwd()
139 old_dir = os.getcwd()
153 old_dir = os.getcwd()
164 old_dir = os.getcwd()
179 old_dir = os.getcwd()
193 old_dir = os.getcwd()
261 old_dir = os.getcwd()
284 current_dir = os.getcwd()
[all …]
/external/python/cpython3/Lib/test/
Dtest_support.py164 original_cwd = os.getcwd()
169 self.assertEqual(os.getcwd(), new_cwd)
171 self.assertEqual(os.getcwd(), original_cwd)
175 original_cwd = os.getcwd()
186 self.assertEqual(os.getcwd(), original_cwd)
190 original_cwd = os.getcwd()
197 self.assertEqual(os.getcwd(), new_cwd)
217 here = os.getcwd()
219 self.assertEqual(os.path.basename(os.getcwd()), TESTFN)
221 self.assertTrue(os.path.basename(os.getcwd()), here)
[all …]
Dtest_posix.py599 f = posix.open(posix.getcwd(), posix.O_RDONLY)
757 curdir = os.getcwd()
777 os.getcwd()
830 f = posix.open(posix.getcwd(), posix.O_RDONLY)
840 f = posix.open(posix.getcwd(), posix.O_RDONLY)
854 f = posix.open(posix.getcwd(), posix.O_RDONLY)
866 f = posix.open(posix.getcwd(), posix.O_RDONLY)
874 posix.stat, support.TESTFN, dir_fd=posix.getcwd())
884 f = posix.open(posix.getcwd(), posix.O_RDONLY)
915 f = posix.open(posix.getcwd(), posix.O_RDONLY)
[all …]
/external/autotest/client/deps/camera_hal3/
Dcamera_hal3.py15 dst_path = os.path.join(os.getcwd(), 'bin')
21 utils.update_version(os.getcwd(), True, version, setup, os.getcwd())
/external/skqp/infra/bots/assets/
Dasset_utils_test.py88 input_dir = os.path.join(os.getcwd(), 'input')
93 output_dir = os.path.join(os.getcwd(), 'output')
102 input_dir = os.path.join(os.getcwd(), 'input')
206 input_dir = os.path.join(os.getcwd(), 'input')
211 output_dir = os.path.join(os.getcwd(), 'output')
220 input_dir = os.path.join(os.getcwd(), 'input')
/external/skia/infra/bots/assets/
Dasset_utils_test.py88 input_dir = os.path.join(os.getcwd(), 'input')
93 output_dir = os.path.join(os.getcwd(), 'output')
102 input_dir = os.path.join(os.getcwd(), 'input')
206 input_dir = os.path.join(os.getcwd(), 'input')
211 output_dir = os.path.join(os.getcwd(), 'output')
220 input_dir = os.path.join(os.getcwd(), 'input')
/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py151 old_dir = os.getcwd()
166 old_dir = os.getcwd()
181 old_dir = os.getcwd()
192 old_dir = os.getcwd()
208 old_dir = os.getcwd()
222 old_dir = os.getcwd()
289 current_dir = os.getcwd()
298 self.assertEqual(os.getcwd(), current_dir)
369 old_dir = os.getcwd()
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py71 self.call_target(mock.call.sys.getcwd)
92 with self.patch_call(mock.call.os.getcwd, return_value='/some/path'):
93 self.assertEquals('/some/path', os.getcwd())
116 (mock.call.os.getcwd(), '/some/path'),
121 self.assertEquals(os.getcwd(), '/some/path')
/external/libmojo/third_party/catapult/devil/devil/utils/
Dmock_calls_test.py71 self.call_target(mock.call.sys.getcwd)
92 with self.patch_call(mock.call.os.getcwd, return_value='/some/path'):
93 self.assertEquals('/some/path', os.getcwd())
116 (mock.call.os.getcwd(), '/some/path'),
121 self.assertEquals(os.getcwd(), '/some/path')
/external/toolchain-utils/
Dheat_map.py77 if os.path.isfile(os.path.join(os.getcwd(), 'out.txt')):
78 os.remove(os.path.join(os.getcwd(), 'out.txt'))
79 if os.path.isfile(os.path.join(os.getcwd(), 'inst-histo.txt')):
80 os.remove(os.path.join(os.getcwd(), 'inst-histo.txt'))
/external/python/cpython2/Lib/test/
Dtest_posixpath.py305 self.assertEqual(realpath('.'), os.getcwd())
306 self.assertEqual(realpath('./.'), os.getcwd())
307 self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd())
311 self.assertEqual(realpath('..'), dirname(os.getcwd()))
312 self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd())))
453 (real_getcwd, os.getcwd) = (os.getcwd, lambda: r"/home/user/bar")
455 curdir = os.path.split(os.getcwd())[-1]
475 os.getcwd = real_getcwd
/external/autotest/client/deps/touchpad-tests/
Dtouchpad-tests.py24 pwd = os.getcwd()
25 utils.update_version(os.getcwd(), True, version, setup, pwd)
/external/ltp/lib/tests/
Dtst_tmpdir_test.c52 char *start_dir = getcwd(NULL, PATH_MAX); in main()
59 changed_dir = getcwd(NULL, PATH_MAX); in main()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dshell_util.py15 old_path = _os.getcwd()
17 print '> cd', _os.getcwd()
/external/python/cpython2/Python/
Dgetcwd.c27 getcwd(char *buf, int size) in getcwd() function
58 getcwd(char *buf, int size) in getcwd() function
/external/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd03.c52 res1 = getcwd(NULL, 0); in verify_getcwd()
62 res2 = getcwd(NULL, 0); in verify_getcwd()
/external/icu/tools/
Dicuutil.py67 original_working_dir = os.getcwd()
118 original_working_dir = os.getcwd()
160 original_working_dir = os.getcwd()
/external/skqp/infra/bots/
Dupload_skps.py31 gen_tasks = os.path.join(os.getcwd(), 'infra', 'bots', 'gen_tasks.go')
54 os.getcwd(), 'infra', 'bots', 'assets', 'skp', 'upload.py')
Dzip_utils_test.py24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
/external/skia/infra/bots/
Dupload_skps.py31 gen_tasks = os.path.join(os.getcwd(), 'infra', 'bots', 'gen_tasks.go')
54 os.getcwd(), 'infra', 'bots', 'assets', 'skp', 'upload.py')
Dzip_utils_test.py24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
/external/v8/tools/
Dgyp_flag_compare.py135 os.path.join(os.getcwd(),
141 os.path.join(os.getcwd(),
225 os.path.join(os.getcwd(), gyp_out_dir))
227 os.path.join(os.getcwd(), gn_out_dir))
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dcommon_unittest_utils.py13 pwd = os.getcwd()
27 return os.path.join(os.getcwd(), 'tests')
/external/ltp/testcases/kernel/syscalls/fchdir/
Dfchdir01.c92 if ((temp_dir = (getcwd(temp_dir, 0))) == NULL) in main()
145 if ((buf = (getcwd(buf, 0))) == NULL) { in check_functionality()
/external/tensorflow/tensorflow/python/platform/
Dstacktrace_handler_test.py51 [sys.executable, sys.argv[0], '--child=True'], cwd=os.getcwd(),
55 [sys.argv[0], '--child=True'], cwd=os.getcwd(),

12345678910>>...25