/third_party/node/test/parallel/ |
H A D | test-fs-opendir.js | 45 // Check the opendir Sync version 69 // Check the opendir async version 70 fs.opendir(testDir, common.mustSucceed((dir) => { 90 // opendir() on file should throw ENOTDIR 96 fs.opendir(__filename); 99 fs.opendir(__filename, common.mustCall(function(e) { 105 () => fs.opendir(i, common.mustNotCall()), 122 // Check the opendir Promise version 123 const dir = await fs.promises.opendir(testDir); 145 for await (const dirent of await fs.promises.opendir(testDi [all...] |
H A D | test-trace-events-fs-async.js | 191 function opendir() { function 193 fs.opendir('./', () => {}); 291 tests.opendir = wrapper(opendir);
|
/third_party/musl/libc-test/src/common/ |
H A D | cfi_util.h | 38 dir = opendir(UBSAN_LOG_DIR);
in ShowCfiLogFile() 56 dir = opendir(log_dir);
in ClearCfiLog() 129 DIR *ubsanDir = opendir(UBSAN_LOG_DIR);
in FindAndCheck() 130 DIR *faultlogDir = opendir(FAULTLOG_DIR);
in FindAndCheck() 140 DIR *faultlogDir = opendir(log_dir);
in FindAndCheck() 148 DIR *ubsanDir = opendir(UBSAN_LOG_DIR);
in ExpectCfiOk() 149 DIR *faultlogDir = opendir(FAULTLOG_DIR);
in ExpectCfiOk()
|
H A D | check_log.c | 75 DIR *dir = opendir(log_dir);
in find_and_check_file() 99 DIR *dir = opendir(log_dir);
in clear_log()
|
/third_party/musl/libc-test/src/functionalext/supplement/dirent/ |
H A D | opendir.c | 38 DIR *dir = opendir(path); in opendir_0100() 40 t_error("%s opendir failed\n", __func__); in opendir_0100() 51 t_error("%s opendir is not right", __func__); in opendir_0100() 67 DIR *dir1 = opendir("/dev/null"); in opendir_0200() 73 DIR *dir2 = opendir("/does/not/exit/folder"); in opendir_0200() 89 DIR *dir = opendir(NULL); in opendir_0300()
|
H A D | seekdir.c | 39 DIR *dir = opendir(path); in seekdir_0100() 41 t_error("%s failed: opendir. path = %s\n", __func__, path); in seekdir_0100() 89 DIR *dir = opendir(path); in seekdir_0200() 91 t_error("%s failed: opendir. path = %s\n", __func__, path); in seekdir_0200()
|
H A D | dirfd.c | 26 DIR *dir = opendir("."); in dirfd_0100() 28 t_error("%s opendir failed\n", __func__); in dirfd_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/dirent/dirent_gtest/ |
H A D | dirent_opendir_test.cpp | 14 * @tc.desc: Verify that after using the opendir function to open a directory, the readdir function can read the list of 20 DIR* dir = opendir("/proc/self"); in HWTEST_F() 29 * @tc.desc: Verify the correctness of opendir in handling error paths. 34 EXPECT_EQ(opendir("/fake/dir"), nullptr); in HWTEST_F() 36 EXPECT_EQ(opendir("/dev/null"), nullptr); in HWTEST_F()
|
H A D | dirent_closedir_test.cpp | 19 DIR* dir = opendir("/proc/self"); in HWTEST_F()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_dirent.cpp | 28 DIR *dir = opendir("/dev/block"); in Bm_function_Opendir() 30 perror("opendir proc"); in Bm_function_Opendir() 61 DIR *dir = opendir("/dev/block"); in Bm_function_Closedir() 63 perror("opendir proc"); in Bm_function_Closedir() 73 DIR *dir = opendir("/dev/block"); in Bm_function_Readdir() 75 perror("opendir proc"); in Bm_function_Readdir() 107 DIR *dir = opendir("/data/local"); in Bm_function_Rewinddir() 109 perror("opendir rewinddir"); in Bm_function_Rewinddir()
|
/third_party/node/lib/internal/fs/ |
H A D | dir.js | 166 const handle = dirBinding.opendir( 296 function opendir(path, options, callback) { function 316 dirBinding.opendir( 330 const handle = dirBinding.opendir( 343 opendir,
|
H A D | recursive_watch.js | 48 const { opendir } = lazyLoadFsPromises(); 50 const filenames = await opendir(dir); 139 const { opendir } = lazyLoadFsPromises(); 142 const files = await opendir(folder);
|
/third_party/node/test/sequential/ |
H A D | test-fs-opendir-recursive.js | 161 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 199 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 211 const dir = await fsPromises.opendir(testDir, { recursive: true });
|
/third_party/eudev/src/udev/ |
H A D | udevadm-info.c | 229 dir = opendir(UDEV_ROOT_RUN "/udev/data"); in cleanup_db() 235 dir = opendir(UDEV_ROOT_RUN "/udev/links"); in cleanup_db() 241 dir = opendir(UDEV_ROOT_RUN "/udev/tags"); in cleanup_db() 247 dir = opendir(UDEV_ROOT_RUN "/udev/static_node-tags"); in cleanup_db() 253 dir = opendir(UDEV_ROOT_RUN "/udev/watch"); in cleanup_db()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | symlinkat.c | 43 dp = opendir(path_name); in symlinkat_0100() 45 t_error("%s opendir failed", __func__); in symlinkat_0100() 90 dp = opendir(path_name); in symlinkat_0200() 92 t_error("%s opendir failed", __func__); in symlinkat_0200()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | filetools.cpp | 55 if ((pDir= opendir(checkAgainst)) != NULL) { in isFileModTimeLater() 70 if ((subDirp = opendir(newpath.data())) != NULL) { in isFileModTimeLater()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | filetools.cpp | 55 if ((pDir= opendir(checkAgainst)) != nullptr) { in isFileModTimeLater() 70 if ((subDirp = opendir(newpath.data())) != nullptr) { in isFileModTimeLater()
|
/third_party/ltp/testcases/kernel/syscalls/getcpu/ |
H A D | getcpu01.c | 76 directory_parent = opendir("/sys/devices/system/node"); in get_nodeid() 91 directory_node = opendir(directory_path); in get_nodeid()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | filetools.cpp | 55 if ((pDir= opendir(checkAgainst)) != NULL) { in isFileModTimeLater() 70 if ((subDirp = opendir(newpath.data())) != NULL) { in isFileModTimeLater()
|
/third_party/node/test/wasi/c/ |
H A D | notdir.c | 6 DIR* dir = opendir("/sandbox/notadir"); in main()
|
/third_party/vulkan-loader/loader/ |
H A D | dirent_on_windows.h | 26 DIR *opendir(const VkAllocationCallbacks *pAllocator, const char *);
|
/third_party/curl/scripts/ |
H A D | cdall | 30 opendir(my $dh, $dir) || die "could not open $dir";
|
/third_party/ltp/lib/ |
H A D | tst_fs_setup.c | 16 DIR *dir = opendir(OVL_LOWER); in create_overlay_dirs()
|
/third_party/musl/porting/linux/user/src/dirent/ |
H A D | opendir.c | 14 DIR *opendir(const char *name) in opendir() function
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
H A D | dirent.h | 69 DIR *opendir(const char *dirName);
|