Lines Matching refs:path

335 static BOOL FSi_UsingInvalidCharacterW(const u16 *path)  in FSi_UsingInvalidCharacterW()  argument
344 while (path[pos] && (path[pos] != L':')) in FSi_UsingInvalidCharacterW()
349 pos += (path[pos] == L':'); in FSi_UsingInvalidCharacterW()
350 pos += (path[pos] == L'/'); in FSi_UsingInvalidCharacterW()
352 if (path[pos] == L'<') in FSi_UsingInvalidCharacterW()
358 while (path[pos]) in FSi_UsingInvalidCharacterW()
360 pos += FSi_GetUnicodeSpanExcluding(&path[pos], list); in FSi_UsingInvalidCharacterW()
361 if (path[pos]) in FSi_UsingInvalidCharacterW()
363 if (foundLT && (path[pos] == L'>') && (path[pos + 1] == L'\0')) in FSi_UsingInvalidCharacterW()
382 OS_TWarning("specified path includes invalid character '%c'\n", (char)path[pos]); in FSi_UsingInvalidCharacterW()
512 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_GetPathInfo() local
516 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_GetPathInfo()
520 else if (FATFS_GetFileInfoW(path, stat)) in FSi_FATFS_GetPathInfo()
538 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_GetPathInfo()
560 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_SetPathInfo() local
573 else if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_SetPathInfo()
577 else if (FATFS_SetFileInfoW(path, stat)) in FSi_FATFS_SetPathInfo()
585 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_SetPathInfo()
606 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_CreateFile() local
618 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_CreateFile()
622 else if (FATFS_CreateFileW(path, tranc, permitstring)) in FSi_FATFS_CreateFile()
630 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_CreateFile()
649 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_DeleteFile() local
652 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_DeleteFile()
656 else if (FATFS_DeleteFileW(path)) in FSi_FATFS_DeleteFile()
664 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_DeleteFile()
726 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_CreateDirectory() local
738 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_CreateDirectory()
742 else if (FATFS_CreateDirectoryW(path, permitstring)) in FSi_FATFS_CreateDirectory()
750 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_CreateDirectory()
769 u16 *path = FSi_AllocUnicodeFullPath(context, relpath); in FSi_FATFS_DeleteDirectory() local
772 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_DeleteDirectory()
776 else if (FATFS_DeleteDirectoryW(path)) in FSi_FATFS_DeleteDirectory()
784 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_DeleteDirectory()
845 u16 *path = FSi_AllocUnicodeFullPath(context, "/"); in FSi_FATFS_GetArchiveResource() local
848 if (FSi_UsingInvalidCharacterW(path)) in FSi_FATFS_GetArchiveResource()
852 else if (FATFS_GetDriveResourceW(path, context->resource)) in FSi_FATFS_GetArchiveResource()
871 FSi_ReleaseUnicodeBuffer(path); in FSi_FATFS_GetArchiveResource()
889 static FSResult FSi_FATFS_OpenFile(FSArchive *arc, FSFile *file, u32 baseid, const char *path, u32 … in FSi_FATFS_OpenFile() argument
921 unipath = (const u16 *)path; in FSi_FATFS_OpenFile()
928 fpath = FSi_AllocUnicodeFullPath(context, path); in FSi_FATFS_OpenFile()
1364 static FSResult FSi_FATFS_OpenDirectory(FSArchive *arc, FSFile *file, u32 baseid, const char *path,… in FSi_FATFS_OpenDirectory() argument
1392 unipath = (u16 *)path; in FSi_FATFS_OpenDirectory()
1399 fpath = FSi_AllocUnicodeFullPath(context, path); in FSi_FATFS_OpenDirectory()
1709 FSResult FSi_FormatSpecialArchive(const char *path) in FSi_FormatSpecialArchive() argument
1714 if (!FATFS_FormatSpecial(path)) in FSi_FormatSpecialArchive()