| /components/dfs/dfs_v1/src/ |
| A D | dfs_fs.c | 86 RT_ASSERT(path); in dfs_filesystem_lookup() 100 || (strncmp(iter->path, path, fspath) != 0)) in dfs_filesystem_lookup() 104 if (fspath > 1 && (strlen(path) > fspath) && (path[fspath] != '/')) in dfs_filesystem_lookup() 136 path = iter->path; in dfs_filesystem_get_mounted_path() 144 return path; in dfs_filesystem_get_mounted_path() 298 else if (strcmp(iter->path, path) == 0) in dfs_mount() 388 if ((iter->path != NULL) && (strcmp(iter->path, fullpath) == 0)) in dfs_unmount() 406 if (fs->path != NULL) in dfs_unmount() 597 if (fs->path != NULL) in dfs_unmount_device() 623 int df(const char *path) in df() argument [all …]
|
| A D | dfs_file.c | 120 int hash = bkdr_hash(path); in dfs_vnode_find() 250 vnode->path = rt_strdup(dfs_subdir(fs->path, fullpath)); in dfs_file_open() 268 rt_free(vnode->path); in dfs_file_open() 295 rt_free(vnode->path); in dfs_file_open() 361 rt_free(vnode->path); in dfs_file_close() 791 char *fullpath, *path; in ls() local 800 path = rt_strdup("/"); in ls() 802 if (path == NULL) in ls() 807 path = (char *)pathname; in ls() 854 rt_free(path); in ls() [all …]
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_dentry.c | 41 if (path) in _dentry_hash() 43 while (*path) in _dentry_hash() 45 val = ((val << 5) + val) + *path++; in _dentry_hash() 66 if (mnt == RT_NULL || path == RT_NULL) in _dentry_create() 74 char *dentry_path = path; in _dentry_create() 289 path += mntpoint_len; in dfs_dentry_lookup() 290 if ((*path) == '\0') in dfs_dentry_lookup() 293 path = "/"; in dfs_dentry_lookup() 367 char *path = NULL; in dfs_dentry_full_path() local 375 if (path) in dfs_dentry_full_path() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/makefsdata/ |
| A D | tinydir.h | 263 if (dir == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open() 286 _tinydir_strcpy(dir->path, path); in tinydir_open() 288 pathp = &dir->path[_tinydir_strlen(dir->path) - 1]; in tinydir_open() 412 memset(dir->path, 0, sizeof(dir->path)); in tinydir_open() 501 if (_tinydir_strlen(dir->path) + in tinydir_open() 527 _tinydir_strcpy(file->path, dir->path); in tinydir_open() 543 file->path, &file->_s) == -1) in tinydir_open() 613 _tinydir_strcpy(path, dir->_files[i].path); in tinydir_open() 639 if (file == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open() 654 path, in tinydir_open() [all …]
|
| /components/drivers/usb/cherryusb/class/mtp/ |
| A D | usbd_mtp.h | 39 int usbd_mtp_notify_object_add(const char *path); 40 int usbd_mtp_notify_object_remove(const char *path); 45 int usbd_mtp_mkdir(const char *path); 46 int usbd_mtp_rmdir(const char *path); 51 int usbd_mtp_statfs(const char *path, struct mtp_statfs *buf); 54 int usbd_mtp_open(const char *path, uint8_t mode); 59 int usbd_mtp_unlink(const char *path);
|
| /components/utilities/libadt/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/net/lwip/ |
| A D | SConscript | 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/legacy/usb/ |
| A D | SConscript | 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/net/ |
| A D | SConscript | 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/drivers/ |
| A D | SConscript | 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/utilities/rt-link/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/drivers/usb/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/libc/compilers/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/libc/posix/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/libc/posix/io/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 group = group + SConscript(os.path.join(d, 'SConscript'))
|
| /components/utilities/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/libc/compilers/common/extension/fcntl/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/dfs/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/dfs/dfs_v1/filesystems/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/dfs/dfs_v2/filesystems/ |
| A D | SConscript | 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/libc/ |
| A D | SConscript | 12 path = os.path.join(cwd, d) 13 if os.path.isfile(os.path.join(path, 'SConscript')): 14 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/legacy/fdt/ |
| A D | SConscript | 12 path = os.path.join(cwd, d) 13 if os.path.isfile(os.path.join(path, 'SConscript')): 14 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/legacy/fdt/src/ |
| A D | SConscript | 12 path = os.path.join(cwd, d) 13 if os.path.isfile(os.path.join(path, 'SConscript')): 14 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
| /components/dfs/dfs_v1/filesystems/devfs/ |
| A D | devfs.c | 53 if ((file->vnode->path[0] == '/') && (file->vnode->path[1] == '\0')) in dfs_device_fs_ioctl() 75 if ((file->vnode->path[0] == '/') && (file->vnode->path[1] == '\0')) in dfs_device_fs_read() 96 if ((file->vnode->path[0] == '/') && (file->vnode->path[1] == '\0')) in dfs_device_fs_write() 119 …if (file->vnode->type == FT_DIRECTORY && (file->vnode->path[0] == '/') && (file->vnode->path[1] ==… in dfs_device_fs_close() 159 if ((file->vnode->path[0] == '/') && (file->vnode->path[1] == '\0') && in dfs_device_fs_open() 227 device = rt_device_find(&file->vnode->path[1]); in dfs_device_fs_open() 268 int dfs_device_fs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_device_fs_unlink() argument 273 dev_id = rt_device_find(&path[1]); in dfs_device_fs_unlink() 289 st->st_dev = (dev_t)((size_t)dfs_filesystem_lookup(fs->path)); in dfs_device_fs_stat() 291 if ((path[0] == '/') && (path[1] == '\0')) in dfs_device_fs_stat() [all …]
|
| /components/drivers/pinctrl/ |
| A D | SConscript | 18 path = os.path.join(cwd, d) 19 if os.path.isfile(os.path.join(path, 'SConscript')): 20 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|