/external/python/cpython2/Lib/distutils/tests/ |
D | test_archive_util.py | 74 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/ |
D | test_support.py | 164 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 …]
|
D | test_posix.py | 599 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/ |
D | camera_hal3.py | 15 dst_path = os.path.join(os.getcwd(), 'bin') 21 utils.update_version(os.getcwd(), True, version, setup, os.getcwd())
|
/external/skqp/infra/bots/assets/ |
D | asset_utils_test.py | 88 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/ |
D | asset_utils_test.py | 88 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/ |
D | test_archive_util.py | 151 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/ |
D | mock_calls_test.py | 71 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/ |
D | mock_calls_test.py | 71 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/ |
D | heat_map.py | 77 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/ |
D | test_posixpath.py | 305 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/ |
D | touchpad-tests.py | 24 pwd = os.getcwd() 25 utils.update_version(os.getcwd(), True, version, setup, pwd)
|
/external/ltp/lib/tests/ |
D | tst_tmpdir_test.c | 52 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/ |
D | shell_util.py | 15 old_path = _os.getcwd() 17 print '> cd', _os.getcwd()
|
/external/python/cpython2/Python/ |
D | getcwd.c | 27 getcwd(char *buf, int size) in getcwd() function 58 getcwd(char *buf, int size) in getcwd() function
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd03.c | 52 res1 = getcwd(NULL, 0); in verify_getcwd() 62 res2 = getcwd(NULL, 0); in verify_getcwd()
|
/external/icu/tools/ |
D | icuutil.py | 67 original_working_dir = os.getcwd() 118 original_working_dir = os.getcwd() 160 original_working_dir = os.getcwd()
|
/external/skqp/infra/bots/ |
D | upload_skps.py | 31 gen_tasks = os.path.join(os.getcwd(), 'infra', 'bots', 'gen_tasks.go') 54 os.getcwd(), 'infra', 'bots', 'assets', 'skp', 'upload.py')
|
D | zip_utils_test.py | 24 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/ |
D | upload_skps.py | 31 gen_tasks = os.path.join(os.getcwd(), 'infra', 'bots', 'gen_tasks.go') 54 os.getcwd(), 'infra', 'bots', 'assets', 'skp', 'upload.py')
|
D | zip_utils_test.py | 24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input')) 45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
|
/external/v8/tools/ |
D | gyp_flag_compare.py | 135 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/ |
D | common_unittest_utils.py | 13 pwd = os.getcwd() 27 return os.path.join(os.getcwd(), 'tests')
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
D | fchdir01.c | 92 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/ |
D | stacktrace_handler_test.py | 51 [sys.executable, sys.argv[0], '--child=True'], cwd=os.getcwd(), 55 [sys.argv[0], '--child=True'], cwd=os.getcwd(),
|