Home
last modified time | relevance | path

Searched refs:opendir (Results 1 - 25 of 206) sorted by relevance

123456789

/third_party/node/test/parallel/
H A Dtest-fs-opendir.js45 // 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 Dtest-trace-events-fs-async.js191 function opendir() { function
193 fs.opendir('./', () => {});
291 tests.opendir = wrapper(opendir);
/third_party/musl/libc-test/src/common/
H A Dcfi_util.h38 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 Dcheck_log.c75 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 Dopendir.c38 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 Dseekdir.c39 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 Ddirfd.c26 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 Ddirent_opendir_test.cpp14 * @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 Ddirent_closedir_test.cpp19 DIR* dir = opendir("/proc/self"); in HWTEST_F()
/third_party/musl/Benchmark/musl/
H A Dlibc_dirent.cpp28 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 Ddir.js166 const handle = dirBinding.opendir(
296 function opendir(path, options, callback) { function
316 dirBinding.opendir(
330 const handle = dirBinding.opendir(
343 opendir,
H A Drecursive_watch.js48 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 Dtest-fs-opendir-recursive.js161 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 Dudevadm-info.c229 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 Dsymlinkat.c43 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 Dfiletools.cpp55 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 Dfiletools.cpp55 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 Dgetcpu01.c76 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 Dfiletools.cpp55 if ((pDir= opendir(checkAgainst)) != NULL) { in isFileModTimeLater()
70 if ((subDirp = opendir(newpath.data())) != NULL) { in isFileModTimeLater()
/third_party/node/test/wasi/c/
H A Dnotdir.c6 DIR* dir = opendir("/sandbox/notadir"); in main()
/third_party/vulkan-loader/loader/
H A Ddirent_on_windows.h26 DIR *opendir(const VkAllocationCallbacks *pAllocator, const char *);
/third_party/curl/scripts/
H A Dcdall30 opendir(my $dh, $dir) || die "could not open $dir";
/third_party/ltp/lib/
H A Dtst_fs_setup.c16 DIR *dir = opendir(OVL_LOWER); in create_overlay_dirs()
/third_party/musl/porting/linux/user/src/dirent/
H A Dopendir.c14 DIR *opendir(const char *name) in opendir() function
/third_party/musl/porting/liteos_a_newlib/kernel/include/
H A Ddirent.h69 DIR *opendir(const char *dirName);

Completed in 9 milliseconds

123456789