/third_party/node/deps/v8/tools/unittests/testdata/testroot2/ |
H A D | d8_mocked.py | 15 PATH = os.path.dirname(os.path.abspath(__file__)) 24 flake_state = os.path.join(PATH, arg) 25 if os.path.exists(flake_state):
|
/third_party/node/test/sequential/ |
H A D | test-init.js | 38 const path = `"${process.execPath}" ${file}`; 39 child.exec(path, { env: process.env }, common.mustSucceed((out) => { 54 process.chdir(fixtures.path()); 62 process.chdir(fixtures.path('test-init-native'));
|
/third_party/node/deps/v8/tools/ |
H A D | update-object-macros-undef.py | 12 import os.path namespace 26 """.format(os.path.basename(__file__)) 30 if not os.path.isfile(INPUT): 33 if not os.path.isfile(OUTPUT):
|
/third_party/node/deps/v8/tools/v8windbg/ |
H A D | copy-prereqs.py | 20 sys.path.insert(0, vs_toolchain_dir) 28 full_path = os.path.join(win_sdk_dir, 'Debuggers', target_cpu, debug_file) 29 if not os.path.exists(full_path): 32 target_path = os.path.join(target_dir, debug_file)
|
/third_party/musl/src/process/ |
H A D | posix_spawn_file_actions_addchdir.c | 7 int posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *restrict fa, const char *restrict path) in posix_spawn_file_actions_addchdir_np() argument 9 struct fdop *op = malloc(sizeof *op + strlen(path) + 1); in posix_spawn_file_actions_addchdir_np() 13 strcpy(op->path, path); in posix_spawn_file_actions_addchdir_np()
|
H A D | posix_spawn_file_actions_addopen.c | 8 int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *restrict fa, int fd, const char *restrict path, int flags, mode_t mode) in posix_spawn_file_actions_addopen() argument 12 struct fdop *op = malloc(sizeof *op + strlen(path) + 1); in posix_spawn_file_actions_addopen() 18 strcpy(op->path, path); in posix_spawn_file_actions_addopen()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
H A D | posix_spawn_file_actions_addopen.c | 8 int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *restrict fa, int fd, const char *restrict path, int flags, mode_t mode) in posix_spawn_file_actions_addopen() argument 12 struct fdop *op = malloc(sizeof *op + strlen(path) + 1); in posix_spawn_file_actions_addopen() 18 strcpy(op->path, path); in posix_spawn_file_actions_addopen()
|
/third_party/ltp/testcases/kernel/syscalls/execle/ |
H A D | execle01.c | 22 char path[512]; in verify_execle() local 28 if (tst_get_path("execle01_child", path, sizeof(path))) in verify_execle() 33 TEST(execle(path, "execle01_child", "canary", NULL, envp)); in verify_execle()
|
/third_party/ltp/testcases/kernel/syscalls/execve/ |
H A D | execve06.c | 24 char path[512]; in verify_execve() local 32 if (tst_get_path("execve06_child", path, sizeof(path))) in verify_execve() 37 execve(path, argv, envp); in verify_execve()
|
H A D | execve01.c | 24 char path[512]; in verify_execve() local 31 if (tst_get_path("execve01_child", path, sizeof(path))) in verify_execve() 36 execve(path, args, envp); in verify_execve()
|
/third_party/ltp/testcases/kernel/syscalls/execv/ |
H A D | execv01.c | 23 char path[512]; in verify_execv() local 25 if (tst_get_path("execv01_child", path, sizeof(path))) in verify_execv() 30 TEST(execv(path, args)); in verify_execv()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 8-1.c | 38 char path[25] = "/tmp/posixtestXXXXXX"; in main() local 40 fd1 = mkstemp(path); in main() 49 unlink(path); in main() 53 unlink(path); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | swapon.c | 37 char path[PATH_MAX] = {0}; in swapon_0100() local 38 FILE_ABSOLUTE_PATH(STR_FILE_SWAP, path); in swapon_0100() 39 int result = swapon(path, SWAP_FLAG_PREFER); in swapon_0100() 42 remove(path); in swapon_0100()
|
H A D | syncfs.c | 31 char path[PATH_MAX] = {0}; in syncfs_0100() local 32 FILE_ABSOLUTE_PATH("syncfs.txt", path); in syncfs_0100() 33 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in syncfs_0100() 47 remove(path); in syncfs_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | mkfifo.c | 29 const char *path = "/data/test_fifo"; in mkfifo_0100() local 30 int ret = mkfifo(path, S_IFIFO | TEST_FIFO_MODE); in mkfifo_0100() 32 ret = stat(path, &sb); in mkfifo_0100() 35 unlink(path); in mkfifo_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/ |
H A D | stat_stat_test.cpp | 22 const char* path = "test_stat"; in HWTEST_F() local 24 EXPECT_EQ(0, stat(path, &fileStat)); in HWTEST_F() 36 const char* path = "not_exist.txt"; in HWTEST_F() local 39 EXPECT_EQ(-1, stat(path, &fileStat)); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | getchar_unlocked.c | 20 const char *path = "/data/readtest.txt"; variable 30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in getchar_unlocked_0100() 39 FILE *fp = freopen(path, "r", stdin); in getchar_unlocked_0100() 51 remove(path); in getchar_unlocked_0100()
|
H A D | getchar.c | 20 const char *path = "/data/readtest.txt"; variable 30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in getchar_0100() 39 FILE *fp = freopen(path, "r", stdin); in getchar_0100() 50 remove(path); in getchar_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | fsync.c | 20 const char *path = "/data/test.txt"; variable 29 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in fsync_0100() 36 fd = open(path, O_RDONLY); in fsync_0100() 41 remove(path); in fsync_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_readlink_test.cpp | 30 * @tc.desc: Verify the correctness of the readlink function for symbolic link files in a specific path. 35 char path[PATH_MAX]; in HWTEST_F() local 36 size_t length = readlink("/dev/fd", path, sizeof(path)); in HWTEST_F() 38 EXPECT_EQ("/proc/self/fd", std::string(path, length)); in HWTEST_F()
|
/third_party/rust/crates/link-cplusplus/ |
H A D | build.rs | 3 use std::path::PathBuf; 29 let path = PathBuf::from(out_dir).join("dummy.cc"); in main() 30 fs::write(&path, "int rust_link_cplusplus;\n").unwrap(); in main() 31 cc::Build::new().cpp(true).file(&path).compile("link-cplusplus"); in main()
|
/third_party/vk-gl-cts/external/amber/src/tools/ |
H A D | check_language_test.py | 23 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/util/ |
H A D | util.go | 22 // IsFile returns true if path is a file. 23 func IsFile(path string) bool { 24 s, err := os.Stat(path) 31 // IsDir returns true if path is a directory. 32 func IsDir(path string) bool { 33 s, err := os.Stat(path)
|
/third_party/skia/third_party/externals/angle2/tools/flex-bison/ |
H A D | update_flex_bison_binaries.py | 20 sys.path.append('tools/') 38 files = [os.path.join(sys.path[0], subdir, f) for f in files] 57 print('These binaries were updated using %s.' % os.path.basename(__file__))
|
/third_party/python/Mac/IDLE/IDLE.app/Contents/Resources/ |
H A D | idlemain.py | 8 os.chdir(os.path.expanduser('~/Documents')) 47 # Reset sys.executable to its normal value, the actual path of 51 sys.executable = os.path.join(sys.prefix, 'bin', 'python%d.%d'%(sys.version_info[:2])) 53 # Remove any sys.path entries for the Resources dir in the IDLE.app bundle. 56 sys.path = [value for value in sys.path if
|