/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | vfs_posix.c | 70 int ret = f(vfs_posix_get_path_str(self, path_in)); in vfs_posix_fun1_helper() 136 if (!mp_obj_is_small_int(path_in)) { in vfs_posix_open() 137 path_in = vfs_posix_get_path_obj(self, path_in); in vfs_posix_open() 144 return vfs_posix_fun1_helper(self_in, path_in, chdir); in vfs_posix_chdir() 232 iter->is_str = mp_obj_get_type(path_in) == &mp_type_str; in vfs_posix_ilistdir() 233 const char *path = vfs_posix_get_path_str(self, path_in); in vfs_posix_ilistdir() 255 const char *path = vfs_posix_get_path_str(self, path_in); in vfs_posix_mkdir() 267 return vfs_posix_fun1_helper(self_in, path_in, unlink); in vfs_posix_remove() 286 return vfs_posix_fun1_helper(self_in, path_in, rmdir); in vfs_posix_rmdir() 293 const char *path = vfs_posix_get_path_str(self, path_in); in vfs_posix_stat() [all …]
|
A D | vfs.c | 97 const char *path = mp_obj_str_get_str(path_in); in lookup_path() 322 mp_obj_t mp_vfs_chdir(mp_obj_t path_in) { in mp_vfs_chdir() argument 324 mp_vfs_mount_t *vfs = lookup_path(path_in, &path_out); in mp_vfs_chdir() 408 mp_obj_t path_in; in mp_vfs_ilistdir() local 410 path_in = args[0]; in mp_vfs_ilistdir() 412 path_in = MP_OBJ_NEW_QSTR(MP_QSTR_); in mp_vfs_ilistdir() 444 mp_obj_t mp_vfs_mkdir(mp_obj_t path_in) { in mp_vfs_mkdir() argument 454 mp_obj_t mp_vfs_remove(mp_obj_t path_in) { in mp_vfs_remove() argument 473 mp_obj_t mp_vfs_rmdir(mp_obj_t path_in) { in mp_vfs_rmdir() argument 480 mp_obj_t mp_vfs_stat(mp_obj_t path_in) { in mp_vfs_stat() argument [all …]
|
A D | vfs.h | 94 mp_obj_t mp_vfs_chdir(mp_obj_t path_in); 98 mp_obj_t mp_vfs_mkdir(mp_obj_t path_in); 99 mp_obj_t mp_vfs_remove(mp_obj_t path_in); 101 mp_obj_t mp_vfs_rmdir(mp_obj_t path_in); 102 mp_obj_t mp_vfs_stat(mp_obj_t path_in); 103 mp_obj_t mp_vfs_statvfs(mp_obj_t path_in);
|
A D | vfs_fat.c | 195 const char *path = mp_obj_str_get_str(path_in); in fat_vfs_remove_internal() 217 STATIC mp_obj_t fat_vfs_remove(mp_obj_t vfs_in, mp_obj_t path_in) { in fat_vfs_remove() argument 222 STATIC mp_obj_t fat_vfs_rmdir(mp_obj_t vfs_in, mp_obj_t path_in) { in fat_vfs_rmdir() argument 223 return fat_vfs_remove_internal(vfs_in, path_in, AM_DIR); in fat_vfs_rmdir() 229 const char *old_path = mp_obj_str_get_str(path_in); in fat_vfs_rename() 260 STATIC mp_obj_t fat_vfs_chdir(mp_obj_t vfs_in, mp_obj_t path_in) { in fat_vfs_chdir() argument 263 path = mp_obj_str_get_str(path_in); in fat_vfs_chdir() 288 STATIC mp_obj_t fat_vfs_stat(mp_obj_t vfs_in, mp_obj_t path_in) { in fat_vfs_stat() argument 290 const char *path = mp_obj_str_get_str(path_in); in fat_vfs_stat() 337 STATIC mp_obj_t fat_vfs_statvfs(mp_obj_t vfs_in, mp_obj_t path_in) { in fat_vfs_statvfs() argument [all …]
|
A D | vfs_lfs.c | 74 const char *mp_vfs_lfs1_make_path(mp_obj_vfs_lfs1_t *self, mp_obj_t path_in); 75 mp_obj_t mp_vfs_lfs1_file_open(mp_obj_t self_in, mp_obj_t path_in, mp_obj_t mode_in); 126 const char *mp_vfs_lfs2_make_path(mp_obj_vfs_lfs2_t *self, mp_obj_t path_in); 127 mp_obj_t mp_vfs_lfs2_file_open(mp_obj_t self_in, mp_obj_t path_in, mp_obj_t mode_in);
|
A D | vfs_lfsx.c | 104 const char *path = mp_obj_str_get_str(path_in); in MP_VFS_LFSx() 219 STATIC mp_obj_t MP_VFS_LFSx(remove)(mp_obj_t self_in, mp_obj_t path_in) { in MP_VFS_LFSx() 221 const char *path = MP_VFS_LFSx(make_path)(self, path_in); in MP_VFS_LFSx() 230 STATIC mp_obj_t MP_VFS_LFSx(rmdir)(mp_obj_t self_in, mp_obj_t path_in) { in MP_VFS_LFSx() 232 const char *path = MP_VFS_LFSx(make_path)(self, path_in); in MP_VFS_LFSx() 271 STATIC mp_obj_t MP_VFS_LFSx(chdir)(mp_obj_t self_in, mp_obj_t path_in) { in MP_VFS_LFSx() 275 const char *path = MP_VFS_LFSx(make_path)(self, path_in); in MP_VFS_LFSx() 350 STATIC mp_obj_t MP_VFS_LFSx(stat)(mp_obj_t self_in, mp_obj_t path_in) { in MP_VFS_LFSx() 352 const char *path = MP_VFS_LFSx(make_path)(self, path_in); in MP_VFS_LFSx() 396 STATIC mp_obj_t MP_VFS_LFSx(statvfs)(mp_obj_t self_in, mp_obj_t path_in) { in MP_VFS_LFSx() [all …]
|
A D | vfs_lfsx_file.c | 47 mp_obj_t MP_VFS_LFSx(file_open)(mp_obj_t self_in, mp_obj_t path_in, mp_obj_t mode_in) { in MP_VFS_LFSx() 115 const char *path = MP_VFS_LFSx(make_path)(self, path_in); in MP_VFS_LFSx()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | moduos.c | 230 STATIC mp_obj_t mod_os_stat(mp_obj_t path_in) in mod_os_stat() argument 233 const char *path = mp_obj_str_get_str(path_in); in mod_os_stat() 251 STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) in mod_os_statvfs() argument 254 const char *path = mp_obj_str_get_str(path_in); in mod_os_statvfs() 271 STATIC mp_obj_t mod_os_remove(mp_obj_t path_in) in mod_os_remove() argument 273 const char *path = mp_obj_str_get_str(path_in); in mod_os_remove() 444 STATIC mp_obj_t mod_os_rmdir(mp_obj_t path_in) in mod_os_rmdir() argument 446 const char *path = mp_obj_str_get_str(path_in); in mod_os_rmdir() 569 STATIC mp_obj_t mod_os_mkdir(mp_obj_t path_in) in mod_os_mkdir() argument 572 const char *path = mp_obj_str_get_str(path_in); in mod_os_mkdir() [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | moduos.c | 227 STATIC mp_obj_t mod_os_stat(mp_obj_t path_in) { in mod_os_stat() argument 229 const char *path = mp_obj_str_get_str(path_in); in mod_os_stat() 247 STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) { in mod_os_statvfs() argument 249 const char *path = mp_obj_str_get_str(path_in); in mod_os_statvfs() 267 STATIC mp_obj_t mod_os_remove(mp_obj_t path_in) { in mod_os_remove() argument 268 const char *path = mp_obj_str_get_str(path_in); in mod_os_remove() 439 STATIC mp_obj_t mod_os_rmdir(mp_obj_t path_in) { in mod_os_rmdir() argument 440 const char *path = mp_obj_str_get_str(path_in); in mod_os_rmdir() 558 STATIC mp_obj_t mod_os_mkdir(mp_obj_t path_in) { in mod_os_mkdir() argument 668 STATIC mp_obj_t mod_os_chdir(mp_obj_t path_in) { in mod_os_chdir() argument [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | moduos.c | 227 STATIC mp_obj_t mod_os_stat(mp_obj_t path_in) { in mod_os_stat() argument 229 const char *path = mp_obj_str_get_str(path_in); in mod_os_stat() 247 STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) { in mod_os_statvfs() argument 249 const char *path = mp_obj_str_get_str(path_in); in mod_os_statvfs() 267 STATIC mp_obj_t mod_os_remove(mp_obj_t path_in) { in mod_os_remove() argument 268 const char *path = mp_obj_str_get_str(path_in); in mod_os_remove() 439 STATIC mp_obj_t mod_os_rmdir(mp_obj_t path_in) { in mod_os_rmdir() argument 440 const char *path = mp_obj_str_get_str(path_in); in mod_os_rmdir() 558 STATIC mp_obj_t mod_os_mkdir(mp_obj_t path_in) { in mod_os_mkdir() argument 668 STATIC mp_obj_t mod_os_chdir(mp_obj_t path_in) { in mod_os_chdir() argument [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | modio.c | 208 STATIC mp_obj_t resource_stream(mp_obj_t package_in, mp_obj_t path_in) { in resource_stream() argument 230 const char *path = mp_obj_str_get_data(path_in, &len); in resource_stream()
|