Lines Matching defs:to
18 * along with this program; if not, write to the Free Software
31 * FUNCTION: Convert little-endian unicode string to character string
35 cifs_strfromUCS_le(char *to, const __le16 * from,
45 codepage->uni2char(le16_to_cpu(from[i]), &to[outlen],
50 to[outlen++] = '?';
53 to[outlen] = 0;
60 * FUNCTION: Convert character string to unicode string
64 cifs_strtoUCS(__le16 * to, const char *from, int len,
69 wchar_t * wchar_to = (wchar_t *)to; /* needed to quiet sparse */
80 to[i] = cpu_to_le16(0x003f);
83 to[i] = cpu_to_le16(wchar_to[i]);
87 to[i] = 0;