Lines Matching refs:from
32 int jfs_strfromUCS_le(char *to, const __le16 * from,
41 for (i = 0; (i < len) && from[i]; i++) {
44 codepage->uni2char(le16_to_cpu(from[i]),
53 for (i = 0; (i < len) && from[i]; i++) {
54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) {
61 le16_to_cpu(from[i]));
68 to[i] = (char) (le16_to_cpu(from[i]));
82 static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len,
89 for (i = 0; len && *from; i++, from += charlen, len -= charlen)
91 charlen = codepage->char2uni(from, len, &to[i]);
96 codepage->charset, *from);
101 for (i = 0; (i < len) && from[i]; i++)
102 to[i] = (wchar_t) from[i];