Lines Matching refs:pos

216         int     pos = 0;  in FSi_AllocUnicodeFullPath()  local
219 dstlen = FS_ARCHIVE_FULLPATH_MAX - pos - 2; in FSi_AllocUnicodeFullPath()
220 …(void)FSi_ConvertStringSjisToUnicode(&dst[pos], &dstlen, FS_GetArchiveName(context->arc), NULL, NU… in FSi_AllocUnicodeFullPath()
221 pos += dstlen; in FSi_AllocUnicodeFullPath()
222 dst[pos++] = L':'; in FSi_AllocUnicodeFullPath()
223 dst[pos++] = L'/'; in FSi_AllocUnicodeFullPath()
224 dstlen = FS_ARCHIVE_FULLPATH_MAX - pos; in FSi_AllocUnicodeFullPath()
225 (void)FSi_ConvertStringSjisToUnicode(&dst[pos], &dstlen, relpath, NULL, NULL); in FSi_AllocUnicodeFullPath()
226 pos += dstlen; in FSi_AllocUnicodeFullPath()
228 if ((pos > 0) && ((dst[pos - 1] == L'\\') || (dst[pos - 1] == L'/'))) in FSi_AllocUnicodeFullPath()
230 --pos; in FSi_AllocUnicodeFullPath()
232 dst[pos] = L'\0'; in FSi_AllocUnicodeFullPath()
304 int pos = 0; in FSi_GetUnicodeSpanExcluding() local
306 for (; src[pos]; ++pos) in FSi_GetUnicodeSpanExcluding()
311 if (src[pos] == pattern[i]) in FSi_GetUnicodeSpanExcluding()
322 return pos; in FSi_GetUnicodeSpanExcluding()
342 int pos = 0; in FSi_UsingInvalidCharacterW() local
344 while (path[pos] && (path[pos] != L':')) in FSi_UsingInvalidCharacterW()
346 ++pos; 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()
355 ++pos; 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()
366 pos += 1; in FSi_UsingInvalidCharacterW()
382 OS_TWarning("specified path includes invalid character '%c'\n", (char)path[pos]); in FSi_UsingInvalidCharacterW()
1407 int pos; in FSi_FATFS_OpenDirectory() local
1408 for (pos = 0; unipath[pos]; ++pos) in FSi_FATFS_OpenDirectory()
1411 for (--pos; (pos > 0) && (unipath[pos] == L'*'); --pos) in FSi_FATFS_OpenDirectory()
1414 if (unipath[pos] != L'/') in FSi_FATFS_OpenDirectory()
1416 unipath[++pos] = L'/'; in FSi_FATFS_OpenDirectory()
1418 unipath[++pos] = L'*'; in FSi_FATFS_OpenDirectory()
1419 unipath[++pos] = L'\0'; in FSi_FATFS_OpenDirectory()