Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 14 of 14) sorted by relevance

/TwlSDK-5.1.0/include/nitro/fs/
Dfile.h42 u32 stat; member
102 return ((file->stat & FS_FILE_STATUS_BUSY) != 0); in FS_IsBusy()
116 return ((file->stat & FS_FILE_STATUS_CANCEL) != 0); in FS_IsCanceling()
144 return ((file->stat & FS_FILE_STATUS_IS_FILE) != 0); in FS_IsFile()
158 return ((file->stat & FS_FILE_STATUS_IS_DIR) != 0); in FS_IsDir()
213 file->stat |= FS_FILE_STATUS_IS_FILE; in FS_SetFileHandle()
214 file->stat &= ~FS_FILE_STATUS_IS_DIR; in FS_SetFileHandle()
235 file->stat |= FS_FILE_STATUS_IS_DIR; in FS_SetDirectoryHandle()
236 file->stat &= ~FS_FILE_STATUS_IS_FILE; in FS_SetDirectoryHandle()
255 file->stat &= ~(FS_FILE_STATUS_IS_FILE | FS_FILE_STATUS_IS_DIR); in FS_DetachHandle()
/TwlSDK-5.1.0/build/libraries/fs/common/src/
Dfs_archive.c124 file->stat &= ~(FS_FILE_STATUS_CANCEL | FS_FILE_STATUS_BUSY | in FSi_EndCommand()
142 FSi_WaitConditionOn(&file->stat, FS_FILE_STATUS_ASYNC_DONE, file->queue); in FSi_WaitForArchiveCompletion()
143 file->stat &= ~FS_FILE_STATUS_ASYNC_DONE; in FSi_WaitForArchiveCompletion()
322 if ((file->stat & FS_FILE_STATUS_BLOCKING) != 0) in FSi_InvokeCommand()
395 next->stat |= FS_FILE_STATUS_OPERATING; in FSi_NextCommand()
398 if (owner && ((next->stat & FS_FILE_STATUS_BLOCKING) != 0)) in FSi_NextCommand()
456 file->stat |= FS_FILE_STATUS_OPERATING; in FSi_ExecuteAsyncCommand()
457 if ((file->stat & FS_FILE_STATUS_BLOCKING) != 0) in FSi_ExecuteAsyncCommand()
495 FSi_WaitConditionOn(&file->stat, FS_FILE_STATUS_OPERATING, file->queue); in FSi_ExecuteSyncCommand()
536 file->stat &= ~(FS_FILE_STATUS_CMD_MASK << FS_FILE_STATUS_CMD_SHIFT); in FSi_SendCommand()
[all …]
Dfs_archive_fatfs.c511 FATFSFileInfoW stat[1]; in FSi_FATFS_GetPathInfo() local
520 else if (FATFS_GetFileInfoW(path, stat)) in FSi_FATFS_GetPathInfo()
522 info->attributes = stat->attributes; in FSi_FATFS_GetPathInfo()
523 if ((stat->attributes & FATFS_ATTRIBUTE_DOS_DIRECTORY) != 0) in FSi_FATFS_GetPathInfo()
527 info->filesize = stat->length; in FSi_FATFS_GetPathInfo()
528 FSi_DostimeToFstime(&info->atime, stat->dos_atime); in FSi_FATFS_GetPathInfo()
529 FSi_DostimeToFstime(&info->mtime, stat->dos_mtime); in FSi_FATFS_GetPathInfo()
530 FSi_DostimeToFstime(&info->ctime, stat->dos_ctime); in FSi_FATFS_GetPathInfo()
559 FATFSFileInfoW stat[1]; in FSi_FATFS_SetPathInfo() local
564 FSi_FstimeToDostime(&stat->dos_atime, &info->atime); in FSi_FATFS_SetPathInfo()
[all …]
Dfs_file.c244 file->stat = 0; in FS_InitFile()
245 file->stat |= (FS_COMMAND_INVALID << FS_FILE_STATUS_CMD_SHIFT); in FS_InitFile()
268 file->stat |= FS_FILE_STATUS_CANCEL; in FS_CancelFile()
1798 file->stat |= FS_FILE_STATUS_IS_DIR; in FS_SeekDir()
2128 file->stat |= FS_FILE_STATUS_UNICODE_MODE; in FS_OpenFileExW()
2178 file->stat |= FS_FILE_STATUS_UNICODE_MODE; in FS_OpenDirectoryW()
2227 file->stat |= FS_FILE_STATUS_UNICODE_MODE; in FS_ReadDirectoryW()
/TwlSDK-5.1.0/build/libraries/card/common/src/
Dcard_spi.c439 const u8 stat = cardi_common.cmd->spec.initial_status; in CARDi_InitStatusRegister() local
440 if (stat != 0xFF) in CARDi_InitStatusRegister()
445 if (CARDi_CommandReadStatus() != stat) in CARDi_InitStatusRegister()
447 CARDi_SetWriteProtectCore(stat); in CARDi_InitStatusRegister()
706 void CARDi_SetWriteProtectCore(u16 stat) in CARDi_SetWriteProtectCore() argument
714 arg[1] = (u8)stat; in CARDi_SetWriteProtectCore()
/TwlSDK-5.1.0/build/demos/tips/SwapCrossOver/src/
Dmain.c326 static void RecordCurrentStat(t_geometry_stat * stat) in RecordCurrentStat() argument
329 stat->vcount = GX_GetVCount(); in RecordCurrentStat()
330 stat->fifo_cnt = G3X_GetCommandFifoCount(); in RecordCurrentStat()
331 stat->frame_cnt = frame_cnt; in RecordCurrentStat()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOHostio.c300 CFIOAtrb stat[1]; in DEMOi_HIO_GetPathInfo() local
303 result = DEMOi_HIO_ConvertError(ISTDFIOGetAttribute(tmppath, stat)); in DEMOi_HIO_GetPathInfo()
306 info->attributes = (stat->m_nAtrb & FS_ATTRIBUTE_DOS_MASK); in DEMOi_HIO_GetPathInfo()
307 if ((stat->m_nAtrb & ISTDFIO_FILEIO_ATTRIBUTE_DIRECTORY) != 0) in DEMOi_HIO_GetPathInfo()
312 DEMOi_HIO_ConvertTime(&info->atime, &stat->m_atime); in DEMOi_HIO_GetPathInfo()
313 DEMOi_HIO_ConvertTime(&info->mtime, &stat->m_mtime); in DEMOi_HIO_GetPathInfo()
314 DEMOi_HIO_ConvertTime(&info->ctime, &stat->m_ctime); in DEMOi_HIO_GetPathInfo()
/TwlSDK-5.1.0/build/libraries/card/common/include/
Dcard_spi.h184 void CARDi_SetWriteProtectCore(u16 stat);
/TwlSDK-5.1.0/build/tools/bin2obj/
Dsection.c96 struct stat st; in read_datasec()
105 if (stat(filename, &st) || !S_ISREG(st.st_mode) || st.st_size < 0 in read_datasec()
/TwlSDK-5.1.0/build/libraries/fs/common/include/
Dcommand.h239 return (FSCommandType)((file->stat >> FS_FILE_STATUS_CMD_SHIFT) & FS_FILE_STATUS_CMD_MASK); in FSi_GetCurrentCommand()
/TwlSDK-5.1.0/build/libraries/el/common/include/
Delf_loader.h120 u32 stat; /* Status */ member
/TwlSDK-5.1.0/build/tools/buryarg.TWL/
Dburyarg.c671 struct stat repFileStat; in openFiles()
672 stat(gReplacementFileName, &repFileStat); in openFiles()
/TwlSDK-5.1.0/build/tools/buryarg/
Dburyarg.c673 struct stat repFileStat; in openFiles()
674 stat(gReplacementFileName, &repFileStat); in openFiles()
/TwlSDK-5.1.0/build/libraries/el/common/src/
Delf_loader.c499 MYObject->stat = elf_num; in ELi_LoadLibrary()
1035 if( (MYObject->stat != 0)&&(MYObject->UnresolvedImportAdrEnt == NULL)) { in EL_IsResolved()
1056 MYObject->stat = 0; in ELi_InitObject()