Lines Matching refs:dst

214     u16        *dst = FSi_GetUnicodeBuffer(NULL);  in FSi_AllocUnicodeFullPath()  local
220 …(void)FSi_ConvertStringSjisToUnicode(&dst[pos], &dstlen, FS_GetArchiveName(context->arc), NULL, NU… in FSi_AllocUnicodeFullPath()
222 dst[pos++] = L':'; in FSi_AllocUnicodeFullPath()
223 dst[pos++] = L'/'; in FSi_AllocUnicodeFullPath()
225 (void)FSi_ConvertStringSjisToUnicode(&dst[pos], &dstlen, relpath, NULL, NULL); in FSi_AllocUnicodeFullPath()
228 if ((pos > 0) && ((dst[pos - 1] == L'\\') || (dst[pos - 1] == L'/'))) in FSi_AllocUnicodeFullPath()
232 dst[pos] = L'\0'; in FSi_AllocUnicodeFullPath()
234 return dst; in FSi_AllocUnicodeFullPath()
247 static void FSi_DostimeToFstime(FSDateTime *dst, u32 src) in FSi_DostimeToFstime() argument
249 dst->year = FATFS_DOSTIME_TO_YEAR(src); in FSi_DostimeToFstime()
250 dst->month = FATFS_DOSTIME_TO_MON(src); in FSi_DostimeToFstime()
251 dst->day = FATFS_DOSTIME_TO_MDAY(src); in FSi_DostimeToFstime()
252 dst->hour = FATFS_DOSTIME_TO_HOUR(src); in FSi_DostimeToFstime()
253 dst->minute = FATFS_DOSTIME_TO_MIN(src); in FSi_DostimeToFstime()
254 dst->second = FATFS_DOSTIME_TO_SEC(src); in FSi_DostimeToFstime()
267 static void FSi_FstimeToDostime(u32 *dst, const FSDateTime *src) in FSi_FstimeToDostime() argument
269 *dst = FATFS_DATETIME_TO_DOSTIME(src->year, src->month, src->day, in FSi_FstimeToDostime()
684 u16 *dst = FSi_AllocUnicodeFullPath(context, relpath_dst); in FSi_FATFS_RenameFile() local
691 else if (FSi_UsingInvalidCharacterW(dst)) in FSi_FATFS_RenameFile()
695 else if (FATFS_RenameFileW(src, dst)) in FSi_FATFS_RenameFile()
704 FSi_ReleaseUnicodeBuffer(dst); in FSi_FATFS_RenameFile()
804 u16 *dst = FSi_AllocUnicodeFullPath(context, relpath_dst); in FSi_FATFS_RenameDirectory() local
811 else if (FSi_UsingInvalidCharacterW(dst)) in FSi_FATFS_RenameDirectory()
815 else if (FATFS_RenameDirectoryW(src, dst)) in FSi_FATFS_RenameDirectory()
824 FSi_ReleaseUnicodeBuffer(dst); in FSi_FATFS_RenameDirectory()
1008 void *dst = buffer; in FSi_FATFS_ReadFile() local
1014 dst = context->tmpbuf; in FSi_FATFS_ReadFile()
1023 dst = context->tmpbuf; in FSi_FATFS_ReadFile()
1029 dst = context->tmpbuf; in FSi_FATFS_ReadFile()
1040 if ((dst == buffer) && in FSi_FATFS_ReadFile()
1041 (((u32)dst >= HW_TWL_MAIN_MEM) && ((u32)dst + len <= HW_TWL_MAIN_MEM_END))) in FSi_FATFS_ReadFile()
1043 DC_FlushRange(dst, len); in FSi_FATFS_ReadFile()
1047 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_ReadFile()
1053 read = FATFS_ReadFile(handle, dst, (int)len); in FSi_FATFS_ReadFile()
1061 if ((dst != buffer) && (read > 0)) in FSi_FATFS_ReadFile()
1063 DC_InvalidateRange(dst, (u32)read); in FSi_FATFS_ReadFile()
1064 MI_CpuCopy8(dst, buffer, (u32)read); in FSi_FATFS_ReadFile()
1103 const void *dst = buffer; in FSi_FATFS_WriteFile() local
1108 dst = context->tmpbuf; in FSi_FATFS_WriteFile()
1117 dst = context->tmpbuf; in FSi_FATFS_WriteFile()
1123 dst = context->tmpbuf; in FSi_FATFS_WriteFile()
1133 if (dst != buffer) in FSi_FATFS_WriteFile()
1138 if (((u32)dst >= HW_TWL_MAIN_MEM) && ((u32)dst + len <= HW_TWL_MAIN_MEM_END)) in FSi_FATFS_WriteFile()
1140 DC_StoreRange(dst, len); in FSi_FATFS_WriteFile()
1144 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_WriteFile()
1150 written = FATFS_WriteFile(handle, dst, (int)len); in FSi_FATFS_WriteFile()