Lines Matching refs:i
35 int i; in jfs_strfromUCS_le() local
41 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le()
44 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le()
53 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le()
54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { in jfs_strfromUCS_le()
55 to[i] = '?'; in jfs_strfromUCS_le()
61 le16_to_cpu(from[i])); in jfs_strfromUCS_le()
68 to[i] = (char) (le16_to_cpu(from[i])); in jfs_strfromUCS_le()
70 outlen = i; in jfs_strfromUCS_le()
86 int i; in jfs_strtoUCS() local
89 for (i = 0; len && *from; i++, from += charlen, len -= charlen) in jfs_strtoUCS()
91 charlen = codepage->char2uni(from, len, &to[i]); in jfs_strtoUCS()
101 for (i = 0; (i < len) && from[i]; i++) in jfs_strtoUCS()
102 to[i] = (wchar_t) from[i]; in jfs_strtoUCS()
105 to[i] = 0; in jfs_strtoUCS()
106 return i; in jfs_strtoUCS()