Lines Matching refs:file
67 static FSFile file[1]; variable
174 if (!FS_LoadOverlayImageAsync(ovl_info, file)) in PrepareOverlay()
231 FS_InitFile(file); in ModeChild()
315 if (!FS_IsFile(file)) in ModeChildFile()
329 if (!FS_OpenFileEx(file, file_path[file_index], FS_FILEMODE_R)) in ModeChildFile()
356 rest = (int)(FS_GetFileLength(file) - FS_GetFilePosition(file)); in ModeChildFile()
375 ret = FS_ReadFileAsync(file, tmp_buf, sizeof(tmp_buf)); in ModeChildFile()
376 while (FS_IsBusy(file)) in ModeChildFile()
407 (void)FS_CloseFile(file); in ModeChildFile()
449 if (!FS_IsFile(file)) in ModeChildOverlay()
488 if (FS_IsBusy(file)) in ModeChildOverlay()
491 PrintLine(2, 14, "loading...%8d BYTE", FS_GetFileLength(file)); in ModeChildOverlay()
502 PrintLine(2, 14, "loading done. %8d BYTE", FS_GetFileLength(file)); in ModeChildOverlay()
505 (void)FS_CloseFile(file); in ModeChildOverlay()