Lines Matching refs:i
152 size_t i; in ntfs_ucsncmp() local
154 for (i = 0; i < n; ++i) { in ntfs_ucsncmp()
155 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp()
156 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp()
188 size_t i; in ntfs_ucsncasecmp() local
191 for (i = 0; i < n; ++i) { in ntfs_ucsncasecmp()
192 if ((c1 = le16_to_cpu(s1[i])) < upcase_size) in ntfs_ucsncasecmp()
194 if ((c2 = le16_to_cpu(s2[i])) < upcase_size) in ntfs_ucsncasecmp()
209 u32 i; in ntfs_upcase_name() local
212 for (i = 0; i < name_len; i++) in ntfs_upcase_name()
213 if ((u = le16_to_cpu(name[i])) < upcase_len) in ntfs_upcase_name()
214 name[i] = upcase[u]; in ntfs_upcase_name()
265 int i, o, wc_len; in ntfs_nlstoucs() local
271 for (i = o = 0; i < ins_len; i += wc_len) { in ntfs_nlstoucs()
272 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs()
301 i = -EILSEQ; in ntfs_nlstoucs()
306 i = -ENAMETOOLONG; in ntfs_nlstoucs()
308 return i; in ntfs_nlstoucs()
341 int i, o, ns_len, wc; in ntfs_ucstonls() local
357 for (i = o = 0; i < ins_len; i++) { in ntfs_ucstonls()
358 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls()