Home
last modified time | relevance | path

Searched refs:FSResult (Results 1 – 21 of 21) sorted by relevance

/TwlSDK-5.1.0/include/nitro/fs/
Darchive.h41 FSResult (*ReadFile)(struct FSArchive*, struct FSFile*, void *buffer, u32 *length);
42 FSResult (*WriteFile)(struct FSArchive*, struct FSFile*, const void *buffer, u32 *length);
43 FSResult (*SeekDirectory)(struct FSArchive*, struct FSFile*, u32 id, u32 position);
44 FSResult (*ReadDirectory)(struct FSArchive*, struct FSFile*, FSDirectoryEntryInfo *info);
45FSResult (*FindPath)(struct FSArchive*, u32 base_dir_id, const char *path, u32 *target_id, BOOL ta…
46FSResult (*GetPath)(struct FSArchive*, struct FSFile*, BOOL is_directory, char *buffer, u32 *lengt…
47 FSResult (*OpenFileFast)(struct FSArchive*, struct FSFile*, u32 id, u32 mode);
48 FSResult (*OpenFileDirect)(struct FSArchive*, struct FSFile*, u32 top, u32 bottom, u32 *id);
49 FSResult (*CloseFile)(struct FSArchive*, struct FSFile*);
55FSResult (*OpenFile)(struct FSArchive*, struct FSFile*, u32 base_dir_id, const char *path, u32 mod…
[all …]
Dfile.h44 FSResult error;
170 SDK_INLINE FSResult FS_GetResultCode(volatile const FSFile *file) in FS_GetResultCode()
598 FSResult FS_SetFileLength(FSFile *file, u32 length);
737 FSResult FS_FlushFile(FSFile *file);
926 FSResult FS_GetFileInfo(const char *path, FSFileInfo *info);
Dapi.h302 FSResult FSi_MountSpecialArchive(u64 param, const char *arcname, FSFATFSArchiveWork* pWork);
315 FSResult FSi_FormatSpecialArchive(const char *path);
Dromfat.h89 typedef FSResult (*FS_ARCHIVE_PROC_FUNC) (struct FSFile *, FSCommandType);
90 typedef FSResult (*FS_ARCHIVE_READ_FUNC) (struct FSArchive *p, void *dst, u32 pos, u32 size);
91 typedef FSResult (*FS_ARCHIVE_WRITE_FUNC) (struct FSArchive *p, const void *src, u32 pos, u32 size);
Dtypes.h38 typedef enum FSResult enum
63 FSResult; typedef
/TwlSDK-5.1.0/include/twl/na/ARM9/
Darchive.h40 FSResult NAi_LoadOtherTitleArchive(const char* initialCode, NATitleArchive archive);
41 FSResult NAi_UnloadOtherTitleArchive(void);
42 FSResult NAi_FormatTitleArchive(NATitleArchive archive);
44 static inline FSResult NA_LoadOtherTitleArchive(const char* initialCode, NATitleArchive archive) in NA_LoadOtherTitleArchive()
46 static inline FSResult NA_UnloadOtherTitleArchive(void) in NA_UnloadOtherTitleArchive()
48 static inline FSResult NA_FormatTitleArchive(NATitleArchive archive) in NA_FormatTitleArchive()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOHostio.c206 static FSResult DEMOi_HIO_ConvertError(u32 error) in DEMOi_HIO_ConvertError()
276 static FSResult DEMOi_HIO_GetArchiveCaps(FSArchive *arc, u32 *caps) in DEMOi_HIO_GetArchiveCaps()
295 static FSResult DEMOi_HIO_GetPathInfo(FSArchive *arc, u32 baseid, const char *relpath, FSPathInfo *… in DEMOi_HIO_GetPathInfo()
297 FSResult result = FS_RESULT_ERROR; in DEMOi_HIO_GetPathInfo()
329 static FSResult DEMOi_HIO_CreateFile(FSArchive *arc, u32 baseid, const char *relpath, u32 permit) in DEMOi_HIO_CreateFile()
331 FSResult result = FS_RESULT_ERROR; in DEMOi_HIO_CreateFile()
367 static FSResult DEMOi_HIO_DeleteFile(FSArchive *arc, u32 baseid, const char *relpath) in DEMOi_HIO_DeleteFile()
369 FSResult result = FS_RESULT_ERROR; in DEMOi_HIO_DeleteFile()
387 static FSResult DEMOi_HIO_RenameFileOrDirectory(FSArchive *arc, in DEMOi_HIO_RenameFileOrDirectory()
391 FSResult result = FS_RESULT_ERROR; in DEMOi_HIO_RenameFileOrDirectory()
[all …]
/TwlSDK-5.1.0/build/libraries/fs/common/src/
Dfs_archive_fatfs.c399 FSResult FSi_ConvertError(u32 error) in FSi_ConvertError()
488 static FSResult FSi_FATFS_GetArchiveCaps(FSArchive *arc, u32 *caps) in FSi_FATFS_GetArchiveCaps()
507 static FSResult FSi_FATFS_GetPathInfo(FSArchive *arc, u32 baseid, const char *relpath, FSPathInfo *… in FSi_FATFS_GetPathInfo()
509 FSResult result = FS_RESULT_ERROR; in FSi_FATFS_GetPathInfo()
555 static FSResult FSi_FATFS_SetPathInfo(FSArchive *arc, u32 baseid, const char *relpath, FSPathInfo *… in FSi_FATFS_SetPathInfo()
557 FSResult result = FS_RESULT_ERROR; in FSi_FATFS_SetPathInfo()
599 static FSResult FSi_FATFS_CreateFile(FSArchive *arc, u32 baseid, const char *relpath, u32 permit) in FSi_FATFS_CreateFile()
601 FSResult result = FS_RESULT_ERROR; in FSi_FATFS_CreateFile()
645 static FSResult FSi_FATFS_DeleteFile(FSArchive *arc, u32 baseid, const char *relpath) in FSi_FATFS_DeleteFile()
647 FSResult result = FS_RESULT_ERROR; in FSi_FATFS_DeleteFile()
[all …]
Dfs_proc_default.c107 static FSResult FSi_TranslateCommand(FSFile *p_file, FSCommandType command, BOOL block);
120 static FSResult FSi_ReadTable(FSiSyncReadParam * p, void *dst, u32 len) in FSi_ReadTable()
122 FSResult result; in FSi_ReadTable()
169 static FSResult FSi_SeekDirDefault(FSFile *file) in FSi_SeekDirDefault()
171 FSResult result; in FSi_SeekDirDefault()
203 static FSResult FSi_ReadDirDefault(FSFile *file) in FSi_ReadDirDefault()
205 FSResult result; in FSi_ReadDirDefault()
276 static FSResult FSi_FindPathDefault(FSFile *p_dir) in FSi_FindPathDefault()
386 static FSResult FSi_GetPathDefault(FSFile *file) in FSi_GetPathDefault()
388 FSResult result; in FSi_GetPathDefault()
[all …]
Dfs_proc_rom.c105 static FSResult FSi_ReadRomCallback(FSArchive *p_arc, void *dst, u32 src, u32 len) in FSi_ReadRomCallback()
121 static FSResult FSi_RomArchiveProc(FSFile *p_file, FSCommandType cmd) in FSi_RomArchiveProc()
159 static FSResult FSi_EmptyArchiveProc(FSFile *p_file, FSCommandType cmd) in FSi_EmptyArchiveProc()
170 static FSResult FSi_ReadDummyCallback(FSArchive *p_arc, void *dst, u32 src, u32 len) in FSi_ReadDummyCallback()
178 static FSResult FSi_WriteDummyCallback(FSArchive *p_arc, const void *src, u32 dst, u32 len) in FSi_WriteDummyCallback()
Dfs_proc_mem.c50 static FSResult FSi_MemArchiveProc(FSFile *p_file, FSCommandType cmd) in FSi_MemArchiveProc()
58 FSResult result; in FSi_MemArchiveProc()
Dfs_archive.c97 static void FSi_EndCommand(FSFile *file, FSResult ret) in FSi_EndCommand()
138 FSResult FSi_WaitForArchiveCompletion(FSFile *file, FSResult result) in FSi_WaitForArchiveCompletion()
160 static FSResult FSi_InvokeCommand(FSFile *file, FSCommandType command) in FSi_InvokeCommand()
162 FSResult result = FS_RESULT_UNSUPPORTED; in FSi_InvokeCommand()
493 FSResult result; in FSi_ExecuteSyncCommand()
649 FSResult FS_GetArchiveResultCode(const void *path_or_archive) in FS_GetArchiveResultCode()
1230 void FS_NotifyArchiveAsyncEnd(FSArchive *arc, FSResult ret) in FS_NotifyArchiveAsyncEnd()
Dfs_file.c1104 FSResult FS_FlushFile(FSFile *file) in FS_FlushFile()
1106 FSResult retval = FS_RESULT_ERROR; in FS_FlushFile()
1127 FSResult FS_SetFileLength(FSFile *file, u32 length) in FS_SetFileLength()
1129 FSResult retval = FS_RESULT_ERROR; in FS_SetFileLength()
2384 FSResult FS_GetFileInfo(const char *path, FSFileInfo *info) in FS_GetFileInfo()
/TwlSDK-5.1.0/build/libraries/wfs/common/src/
Dwfs_archive.c34 static FSResult WFSi_ArchiveReadCallback(FSArchive *archive, void *buffer, u32 offset, u32 length) in WFSi_ArchiveReadCallback()
36 FSResult result = FS_RESULT_ERROR; in WFSi_ArchiveReadCallback()
61 FSResult result = FS_RESULT_ERROR; in WFSi_ArchiveReadDoneCallback()
81 static FSResult WFSi_RomArchiveProc(FSFile *file, FSCommandType command) in WFSi_RomArchiveProc()
83 FSResult result = FS_RESULT_ERROR; in WFSi_RomArchiveProc()
129 static FSResult WFSi_EmptyArchiveProc(FSFile *file, FSCommandType command) in WFSi_EmptyArchiveProc()
131 FSResult result = FS_RESULT_PROC_UNKNOWN; in WFSi_EmptyArchiveProc()
/TwlSDK-5.1.0/build/demos/fs/arc-1/src/
Dmain.c40 static FSResult MyRom_ReadCallback(FSArchive *arc, void *dst, u32 src, u32 len) in MyRom_ReadCallback()
51 static FSResult MyRom_WriteDummyCallback(FSArchive *arc, const void *src, u32 dst, u32 len) in MyRom_WriteDummyCallback()
64 static FSResult MyRom_ArchiveProc(FSFile *file, FSCommandType cmd) in MyRom_ArchiveProc()
/TwlSDK-5.1.0/build/libraries/fs/common/include/
Dcommand.h256 FSResult FSi_WaitForArchiveCompletion(FSFile *file, FSResult result);
Drom.h90 FSResult FSi_ConvertError(u32 error);
/TwlSDK-5.1.0/build/demos/fs/arc-2/src/
Dmain.c99 static FSResult CustomRom_ReadCallback(FSArchive *arc, void *dst, u32 pos, u32 size) in CustomRom_ReadCallback()
105 static FSResult CustomRom_WriteCallback(FSArchive *arc, const void *src, u32 pos, u32 size) in CustomRom_WriteCallback()
113 static FSResult CustomRom_ArchiveProc(FSFile *file, FSCommandType cmd) in CustomRom_ArchiveProc()
/TwlSDK-5.1.0/build/demos.TWL/nandApp/other_backup/src/
Dmain.c213 FSResult fsResult; in SaveFile()
222 FSResult res = FS_GetArchiveResultCode(path); in SaveFile()
661 FSResult result; in MountOtherSaveData()
/TwlSDK-5.1.0/build/demos.TWL/nandApp/backup/src/
Dmain.c189 FSResult fsResult; in SaveFile()
198 FSResult res = FS_GetArchiveResultCode(path); in SaveFile()
/TwlSDK-5.1.0/build/demos/fs/explorer/src/
Dmain.c214 FSResult result = FS_GetResultCode(file); in NitroMain()