Lines Matching refs:codepage
178 const struct nls_table *codepage, int map_type) in cifs_from_utf16() argument
182 int nullsize = nls_nullsize(codepage); in cifs_from_utf16()
213 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16()
219 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
249 const struct nls_table *codepage) in cifs_strtoUTF16() argument
256 if (!strcmp(codepage->charset, "utf8")) { in cifs_strtoUTF16()
277 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16()
305 const struct nls_table *codepage) in cifs_utf16_bytes() argument
326 charlen = cifs_mapchar(tmp, ftmp, codepage, NO_MAP_UNI_RSVD); in cifs_utf16_bytes()
347 const bool is_unicode, const struct nls_table *codepage) in cifs_strndup_from_utf16() argument
353 len = cifs_utf16_bytes((__le16 *) src, maxlen, codepage); in cifs_strndup_from_utf16()
354 len += nls_nullsize(codepage); in cifs_strndup_from_utf16()
358 cifs_from_utf16(dst, (__le16 *) src, len, maxlen, codepage, in cifs_strndup_from_utf16()
587 const struct nls_table *codepage) in cifs_local_to_utf16_bytes() argument
594 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_local_to_utf16_bytes()