Home
last modified time | relevance | path

Searched refs:pdir (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/amp_adapter/platform/aos/
A Daos_fs.c27 aos_dir_t *pdir = NULL; in aos_rmdir_r() local
51 pdir = aos_opendir(dir); in aos_rmdir_r()
52 if (!pdir) { in aos_rmdir_r()
58 while ((ret == 0) && (entry = aos_readdir(pdir))) { in aos_rmdir_r()
80 aos_closedir(pdir); in aos_rmdir_r()
/AliOS-Things-master/components/cli/src/iobox/
A Drm.c23 DIR *pdir = NULL; in rrmdir() local
43 pdir = opendir(dir); in rrmdir()
44 if (!pdir) { in rrmdir()
50 while ((ret == 0) && (entry = readdir(pdir))) { in rrmdir()
72 closedir(pdir); in rrmdir()
A Dcp.c111 DIR *pdir = NULL; in cp_dir_to_dir() local
123 pdir = opendir(from); in cp_dir_to_dir()
124 if (!pdir) { in cp_dir_to_dir()
129 while ((entry = readdir(pdir))) { in cp_dir_to_dir()
140 closedir(pdir); in cp_dir_to_dir()
A Dls.c134 DIR *pdir = NULL; in ls_do() local
203 pdir = opendir(dir); in ls_do()
204 if (!pdir) { in ls_do()
209 while ((entry = readdir(pdir))) { in ls_do()
244 closedir(pdir); in ls_do()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_fs.c118 DIR *pdir = NULL; in aos_rmdir_r() local
143 pdir = opendir(dir); in aos_rmdir_r()
144 if (!pdir) { in aos_rmdir_r()
150 while ((ret == 0) && (entry = (struct dirent *)aos_readdir(pdir))) { in aos_rmdir_r()
172 closedir(pdir); in aos_rmdir_r()
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/
A Dlfs1.c723 lfs1_dir_t pdir; in lfs1_dir_remove() local
729 if (pdir.d.size & 0x80000000) { in lfs1_dir_remove()
731 pdir.d.tail[0] = dir->d.tail[0]; in lfs1_dir_remove()
732 pdir.d.tail[1] = dir->d.tail[1]; in lfs1_dir_remove()
2335 while (!lfs1_pairisnull(pdir->d.tail)) { in lfs1_pred()
2340 err = lfs1_dir_fetch(lfs1, pdir, pdir->d.tail); in lfs1_pred()
2482 lfs1_dir_t pdir = {.d.size = 0x80000000}; in lfs1_deorphan() local
2497 if (!(0x80000000 & pdir.d.size)) { in lfs1_deorphan()
2509 pdir.d.tail[0], pdir.d.tail[1]); in lfs1_deorphan()
2511 pdir.d.tail[0] = cwd.d.tail[0]; in lfs1_deorphan()
[all …]
A Dlfs2.c474 lfs2_mdir_t *pdir);
1864 lfs2_mdir_t pdir; in lfs2_dir_commit() local
3878 pdir->tail[0] = 0;
3879 pdir->tail[1] = 1;
3881 while (!lfs2_pair_isnull(pdir->tail)) {
3892 int err = lfs2_dir_fetch(lfs2, pdir, pdir->tail);
4118 while (!lfs2_pair_isnull(pdir.tail)) {
4125 if (!pdir.split) {
4136 pdir.tail[0], pdir.tail[1]);
4159 pdir.tail[0], pdir.tail[1], pair[0], pair[1]);
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmoduos.c384 DIR *pdir = NULL; in py_rrmdir() local
404 pdir = opendir(dir); in py_rrmdir()
405 if (!pdir) { in py_rrmdir()
411 while ((ret == 0) && (entry = readdir(pdir))) { in py_rrmdir()
433 closedir(pdir); in py_rrmdir()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmoduos.c378 DIR *pdir = NULL; in py_rrmdir() local
398 pdir = opendir(dir); in py_rrmdir()
399 if (!pdir) { in py_rrmdir()
405 while ((ret == 0) && (entry = readdir(pdir))) { in py_rrmdir()
427 closedir(pdir); in py_rrmdir()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmoduos.c378 DIR *pdir = NULL; in py_rrmdir() local
398 pdir = opendir(dir); in py_rrmdir()
399 if (!pdir) { in py_rrmdir()
405 while ((ret == 0) && (entry = readdir(pdir))) { in py_rrmdir()
427 closedir(pdir); in py_rrmdir()
/AliOS-Things-master/components/cli/src/
A Dcli.c395 DIR *pdir = NULL; in cli_tab_complete_path() local
459 pdir = opendir(dir); in cli_tab_complete_path()
460 if (!pdir) { in cli_tab_complete_path()
466 closedir(pdir); in cli_tab_complete_path()
476 while ((entry = readdir(pdir))) { in cli_tab_complete_path()
537 closedir(pdir); in cli_tab_complete_path()
/AliOS-Things-master/components/littlefs/src/littlefs-v220/
A Dlfs.c440 lfs_mdir_t *pdir);
1785 lfs_mdir_t pdir; in lfs_dir_commit() local
4234 pdir->tail[0] = 0; in lfs_fs_pred()
4235 pdir->tail[1] = 1; in lfs_fs_pred()
4237 while (!lfs_pair_isnull(pdir->tail)) { in lfs_fs_pred()
4248 int err = lfs_dir_fetch(lfs, pdir, pdir->tail); in lfs_fs_pred()
4458 while (!lfs_pair_isnull(pdir.tail)) { in lfs_fs_deorphan()
4465 if (!pdir.split) { in lfs_fs_deorphan()
4476 pdir.tail[0], pdir.tail[1]); in lfs_fs_deorphan()
4499 pdir.tail[0], pdir.tail[1], pair[0], pair[1]); in lfs_fs_deorphan()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_dirread.c164 static uint16 TIFFFetchDirectory(TIFF* tif, uint64 diroff, TIFFDirEntry** pdir, uint64* nextdiroff);
4661 TIFFFetchDirectory(TIFF* tif, uint64 diroff, TIFFDirEntry** pdir, in TIFFFetchDirectory() argument
4674 assert(pdir); in TIFFFetchDirectory()
4908 *pdir = dir; in TIFFFetchDirectory()

Completed in 51 milliseconds