Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 - 25 of 295) sorted by relevance

12345678910>>...12

/third_party/skia/third_party/externals/abseil-cpp/
H A Dgenerate_def_files.py84 cwd=os.getcwd())
88 cwd=os.getcwd())
106 exports_out = subprocess.check_output(['dumpbin', '/directives', f], cwd=os.getcwd())
113 stdout = subprocess.check_output(symbol_dumper + [f], cwd=os.getcwd())
167 if not os.getcwd().endswith('src') or not os.path.exists('chrome/browser'):
H A Droll_abseil.py100 chromium_dir = os.getcwd()
122 if os.getcwd().endswith('src') and os.path.exists('chrome/browser'):
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetcwd.c37 result = getcwd(buf, sizeof(buf)); in getcwd_0100()
40 t_error("%s getcwd failed, except result is %s when manual or %s when hdc test\n", __func__, manual, hdc_auto); in getcwd_0100()
52 result = getcwd(NULL, 200); in getcwd_0200()
54 t_error("%s getcwd failed, except result is %s when manual or %s when hdc test\n", __func__, manual, hdc_auto); in getcwd_0200()
67 result = getcwd(buf, 0); in getcwd_0300()
69 t_error("%s getcwd should failed, the result should be null\n", __func__); in getcwd_0300()
/third_party/rust/crates/rustix/tests/process/
H A Dworking_directory.rs19 let orig_cwd = rustix::process::getcwd(Vec::new()).expect("get the cwd"); in test_changing_working_directory()
26 let ch1_cwd = rustix::process::getcwd(Vec::new()).expect("get the cwd"); in test_changing_working_directory()
39 let ch2_cwd = rustix::process::getcwd(ch1_cwd).expect("get the cwd"); in test_changing_working_directory()
/third_party/python/Lib/distutils/tests/
H A Dtest_archive_util.py154 old_dir = os.getcwd()
169 old_dir = os.getcwd()
184 old_dir = os.getcwd()
195 old_dir = os.getcwd()
211 old_dir = os.getcwd()
225 old_dir = os.getcwd()
290 current_dir = os.getcwd()
299 self.assertEqual(os.getcwd(), current_dir)
370 old_dir = os.getcwd()
/third_party/python/Lib/test/
H A Dtest_support.py232 original_cwd = os.getcwd()
237 self.assertEqual(os.getcwd(), new_cwd)
239 self.assertEqual(os.getcwd(), original_cwd)
243 original_cwd = os.getcwd()
254 self.assertEqual(os.getcwd(), original_cwd)
258 original_cwd = os.getcwd()
265 self.assertEqual(os.getcwd(), new_cwd)
295 here = os.getcwd()
297 self.assertEqual(os.path.basename(os.getcwd()), TESTFN)
299 self.assertEqual(os.getcwd(), her
[all...]
H A Dtest_contextlib.py1214 old_cwd = os.getcwd()
1219 self.assertEqual(os.getcwd(), target)
1220 self.assertEqual(os.getcwd(), old_cwd)
1223 old_cwd = os.getcwd()
1230 self.assertEqual(os.getcwd(), target1)
1232 self.assertEqual(os.getcwd(), target2)
1234 self.assertEqual(os.getcwd(), target1)
1235 self.assertEqual(os.getcwd(), target2)
1236 self.assertEqual(os.getcwd(), target1)
1237 self.assertEqual(os.getcwd(), old_cw
[all...]
/third_party/ltp/lib/tests/
H A Dtst_tmpdir_test.c52 char *start_dir = getcwd(NULL, PATH_MAX); in main()
59 changed_dir = getcwd(NULL, PATH_MAX); in main()
/third_party/musl/libc-test/src/functionalext/common/
H A Dfilepath_util.h44 if(!getcwd(path, sizeof(path))) { \
45 t_error("%s getcwd for path failed\n", __func__); \
53 if(!getcwd(path, sizeof(path))) { \
54 t_error("%s getcwd for dir failed\n", __func__); \
/third_party/skia/third_party/externals/angle2/scripts/
H A Dapply_clang_format_on_all_sources.py48 main(os.path.join(os.getcwd(), sys.argv[1]))
51 main(os.getcwd())
/third_party/curl/tests/
H A Dglobalconfig.pm69 use Cwd qw(getcwd);
88 our $pwd = getcwd(); # current working directory
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Ddeperiodize_vuids.py39 deperiodizeFolder(os.getcwd() + '/chapters')
40 deperiodizeFolder(os.getcwd() + '/appendices')
/third_party/ltp/testcases/kernel/syscalls/getcwd/
H A Dgetcwd03.c8 * Testcase to check the basic functionality of the getcwd(2)
40 res1 = getcwd(NULL, 0); in verify_getcwd()
42 tst_res(TFAIL | TERRNO, "getcwd() failed to " in verify_getcwd()
50 res2 = getcwd(NULL, 0); in verify_getcwd()
52 tst_res(TFAIL | TERRNO, "getcwd() failed to get " in verify_getcwd()
59 "getcwd() got mismatched working directories (%s, %s)", in verify_getcwd()
73 tst_res(TPASS, "getcwd() succeeded on a symbolic link"); in verify_getcwd()
/third_party/skia/infra/bots/
H A 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'))
H A Dutils.py48 self._orig_dir = os.getcwd()
69 self._orig_dir = os.getcwd()
/third_party/rust/crates/rustix/src/process/
H A Dchdir.rs35 /// `getcwd()`—Return the current working directory.
43 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getcwd.html
44 /// [Linux]: https://man7.org/linux/man-pages/man3/getcwd.3.html
47 pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> io::Result<CString> { in getcwd() functions
59 match backend::process::syscalls::getcwd(&mut buffer) { in _getcwd()
/third_party/rust/crates/nix/test/
H A Dtest.rs67 use nix::unistd::{chdir, getcwd, read};
112 d: getcwd().unwrap(), in new()
/third_party/musl/porting/linux/user/include/fortify/
H A Dunistd.h57 char* getcwd(char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
59 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(size, __DIAGNOSE_BOS(buf), getcwd) in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
68 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(getcwd)(buf, size); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
/third_party/musl/include/fortify/linux/
H A Dunistd.h57 char* getcwd(char* const __DIAGNOSE_PASS_OBJECT_SIZE buf, size_t size)
59 __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE(size, __DIAGNOSE_BOS(buf), getcwd) in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
68 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(getcwd)(buf, size); in __DIAGNOSE_ERROR_IF_OVERFLOWS_OBJECTSIZE()
/third_party/ltp/lib/
H A Dself_exec.c82 start_cwd = getcwd(NULL, 0); in maybe_run_child()
173 if ((tmp_cwd = getcwd(NULL, 0)) == NULL) { in self_exec()
174 tst_resm(TBROK, "Could not getcwd()"); in self_exec()
/third_party/ltp/testcases/kernel/syscalls/vfork/
H A Dvfork01.c167 if ((Ccwd = (char *)getcwd(NULL, in main()
169 tst_resm(TFAIL, "getcwd failed for the " in main()
320 if ((Pcwd = (char *)getcwd(NULL, BUFSIZ)) == NULL) { in setup()
322 "getcwd failed for the parent process"); in setup()
/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone02.c209 if (getcwd(cwd_parent, sizeof(cwd_parent)) == NULL) { in test_setup()
210 tst_resm(TWARN | TERRNO, "getcwd() failed in test_setup()"); in test_setup()
426 if ((getcwd(cwd, sizeof(cwd))) == NULL) in modified_FS()
427 tst_resm(TWARN | TERRNO, "getcwd() failed"); in modified_FS()
/third_party/mindspore/
H A Dbuild_helper.py82 cwd = os.getcwd()
84 print('Change dir to', os.getcwd())
/third_party/skia/tools/
H A Dparse_llvm_coverage.py63 for root, dirs, files in os.walk(os.getcwd()):
69 all_files.append(os.path.join(root[(len(os.getcwd()) + 1):], name))
/third_party/skia/infra/bots/assets/skp/
H A Dcreate.py113 '--output_dir', os.getcwd(),
159 src = os.path.join(os.getcwd(), 'playback', 'skps')

Completed in 10 milliseconds

12345678910>>...12