Lines Matching refs:fno
2641 FILINFO* fno /* Pointer to the file information to be filled */ argument
2655 fno->fname[0] = 0; /* Invaidate file info */
2674 …nw = put_utf((DWORD)hs << 16 | wc, &fno->fname[di], FF_LFN_BUF - di); /* Store it in API encoding …
2682 if (di == 0) fno->fname[di++] = '\?'; /* Inaccessible object name? */
2683 fno->fname[di] = 0; /* Terminate the name */
2684 fno->altname[0] = 0; /* exFAT does not support SFN */
2686 fno->fattrib = fs->dirbuf[XDIR_Attr] & AM_MASKX; /* Attribute */
2687 fno->fsize = (fno->fattrib & AM_DIR) ? 0 : ld_qword(fs->dirbuf + XDIR_FileSize); /* Size */
2688 fno->ftime = ld_word(fs->dirbuf + XDIR_ModTime + 0); /* Time */
2689 fno->fdate = ld_word(fs->dirbuf + XDIR_ModTime + 2); /* Date */
2702 …nw = put_utf((DWORD)hs << 16 | wc, &fno->fname[di], FF_LFN_BUF - di); /* Store it in API encoding …
2710 fno->fname[di] = 0; /* Terminate the LFN (null string means LFN is invalid) */
2719 if (si == 9 && di < FF_SFN_BUF) fno->altname[di++] = '.'; /* Insert a . if extension is exist */
2728 nw = put_utf(wc, &fno->altname[di], FF_SFN_BUF - di); /* Store it in API encoding */
2734 fno->altname[di++] = (TCHAR)wc; /* Store it without any conversion */
2737 fno->altname[di] = 0; /* Terminate the SFN (null string means SFN is invalid) */
2739 if (fno->fname[0] == 0) { /* If LFN is invalid, altname[] needs to be copied to fname[] */
2741 fno->fname[di++] = '\?';
2743 …for (si = di = 0, lcf = NS_BODY; fno->altname[si]; si++, di++) { /* Copy altname[] to fname[] with…
2744 wc = (WCHAR)fno->altname[si];
2747 fno->fname[di] = (TCHAR)wc;
2750 fno->fname[di] = 0; /* Terminate the LFN */
2751 …if (!dp->dir[DIR_NTres]) fno->altname[0] = 0; /* Altname is not needed if neither LFN nor case inf…
2760 if (si == 9) fno->fname[di++] = '.';/* Insert a . if extension is exist */
2761 fno->fname[di++] = c;
2763 fno->fname[di] = 0; /* Terminate the SFN */
2766 fno->fattrib = dp->dir[DIR_Attr] & AM_MASK; /* Attribute */
2767 fno->fsize = ld_dword(dp->dir + DIR_FileSize); /* Size */
2768 fno->ftime = ld_word(dp->dir + DIR_ModTime + 0); /* Time */
2769 fno->fdate = ld_word(dp->dir + DIR_ModTime + 2); /* Date */
4363 FILINFO fno; local
4394 get_fileinfo(&dj, &fno); /* Get the directory name and push it to the buffer */
4395 for (n = 0; fno.fname[n]; n++) ; /* Name length */
4399 while (n) buff[--i] = fno.fname[--n]; /* Stack the name */
4710 FILINFO* fno /* Pointer to file information to return */ argument
4720 if (!fno) {
4727 get_fileinfo(dp, fno); /* Get the object information */
4746 FILINFO* fno /* Pointer to the file information structure */ argument
4753 res = f_readdir(dp, fno); /* Get a directory item */
4754 …if (res != FR_OK || !fno || !fno->fname[0]) break; /* Terminate if any error or end of directory */
4755 if (pattern_match(dp->pat, fno->fname, 0, FIND_RECURS)) break; /* Test for the file name */
4757 …if (pattern_match(dp->pat, fno->altname, 0, FIND_RECURS)) break; /* Test for alternative name if e…
4771 FILINFO* fno, /* Pointer to the file information structure */ argument
4782 res = f_findnext(dp, fno); /* Find the first item */
4798 FILINFO* fno /* Pointer to file information to return */ argument
4815 if (fno) get_fileinfo(&dj, fno);
5314 const FILINFO* fno /* Pointer to the timestamp to be set */ argument
5332 st_dword(fs->dirbuf + XDIR_ModTime, (DWORD)fno->fdate << 16 | fno->ftime);
5337 st_dword(dj.dir + DIR_ModTime, (DWORD)fno->fdate << 16 | fno->ftime);