Lines Matching refs:wchar_to
255 wchar_t wchar_to; /* needed to quiet sparse */ in cifs_strtoUTF16() local
279 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16()
284 wchar_to = 0x003f; in cifs_strtoUTF16()
287 put_unaligned_le16(wchar_to, &to[i]); in cifs_strtoUTF16()
468 wchar_t *wchar_to; /* UTF-16 */ in cifsConvertToUTF16() local
475 wchar_to = kzalloc(6, GFP_KERNEL); in cifsConvertToUTF16()
522 if (strcmp(cp->charset, "utf8") || !wchar_to) in cifsConvertToUTF16()
532 wchar_to, 6); in cifsConvertToUTF16()
537 dst_char = cpu_to_le16(*wchar_to); in cifsConvertToUTF16()
546 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
552 dst_char = cpu_to_le16(*(wchar_to + 1)); in cifsConvertToUTF16()
555 dst_char = cpu_to_le16(*(wchar_to + 2)); in cifsConvertToUTF16()
577 kfree(wchar_to); in cifsConvertToUTF16()
598 wchar_t wchar_to; in cifs_local_to_utf16_bytes() local
601 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()