Home
last modified time | relevance | path

Searched refs:LFSx_MACRO (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_lfsx_file.c57 new_flags = LFSx_MACRO(_O_RDONLY); in MP_VFS_LFSx()
60 new_flags = LFSx_MACRO(_O_WRONLY) | LFSx_MACRO(_O_CREAT) | LFSx_MACRO(_O_TRUNC); in MP_VFS_LFSx()
63 new_flags = LFSx_MACRO(_O_WRONLY) | LFSx_MACRO(_O_CREAT) | LFSx_MACRO(_O_EXCL); in MP_VFS_LFSx()
66 new_flags = LFSx_MACRO(_O_WRONLY) | LFSx_MACRO(_O_CREAT) | LFSx_MACRO(_O_APPEND); in MP_VFS_LFSx()
69 flags |= LFSx_MACRO(_O_RDWR); in MP_VFS_LFSx()
88 flags = LFSx_MACRO(_O_RDONLY); in MP_VFS_LFSx()
A Dvfs_lfs.c50 #define LFSx_MACRO(s) LFS1##s macro
81 #undef LFSx_MACRO
96 #define LFSx_MACRO(s) LFS2##s macro
A Dvfs_lfsx.c186 … t->items[1] = MP_OBJ_NEW_SMALL_INT(info.type == LFSx_MACRO(_TYPE_REG) ? MP_S_IFREG : MP_S_IFDIR);
280 if (ret < 0 || info.type != LFSx_MACRO(_TYPE_DIR)) { in MP_VFS_LFSx()
374 …t->items[0] = MP_OBJ_NEW_SMALL_INT(info.type == LFSx_MACRO(_TYPE_REG) ? MP_S_IFREG : MP_S_IFDIR); … in MP_VFS_LFSx()
393 return LFSx_MACRO(_ERR_OK); in LFSx_API()
419 t->items[9] = MP_OBJ_NEW_SMALL_INT(LFSx_MACRO(_NAME_MAX)); // f_namemax in MP_VFS_LFSx()
472 if (info.type == LFSx_MACRO(_TYPE_REG)) { in MP_VFS_LFSx()

Completed in 9 milliseconds