Home
last modified time | relevance | path

Searched refs:charlen (Results 1 – 4 of 4) sorted by relevance

/fs/cifs/
Dcifs_unicode.c44 int charlen, outlen = 0; in cifs_utf16_bytes() local
54 charlen = codepage->uni2char(ftmp, tmp, NLS_MAX_CHARSET_SIZE); in cifs_utf16_bytes()
55 if (charlen > 0) in cifs_utf16_bytes()
56 outlen += charlen; in cifs_utf16_bytes()
150 int i, charlen, safelen; in cifs_from_utf16() local
175 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in cifs_from_utf16()
176 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
181 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in cifs_from_utf16()
182 outlen += charlen; in cifs_from_utf16()
202 int charlen; in cifs_strtoUTF16() local
[all …]
/fs/jfs/
Djfs_unicode.c42 int charlen; in jfs_strfromUCS_le() local
43 charlen = in jfs_strfromUCS_le()
47 if (charlen > 0) in jfs_strfromUCS_le()
48 outlen += charlen; in jfs_strfromUCS_le()
85 int charlen; 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()
92 if (charlen < 1) { in jfs_strtoUCS()
94 charlen); in jfs_strtoUCS()
97 return charlen; in jfs_strtoUCS()
/fs/fat/
Ddir.c152 int charlen; in uni16_to_x8() local
159 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
160 if (charlen > 0) { in uni16_to_x8()
161 op += charlen; in uni16_to_x8()
162 len -= charlen; in uni16_to_x8()
199 int charlen; in fat_short2uni() local
201 charlen = t->char2uni(c, clen, uni); in fat_short2uni()
202 if (charlen < 0) { in fat_short2uni()
204 charlen = 1; in fat_short2uni()
206 return charlen; in fat_short2uni()
[all …]
Dnamei_vfat.c512 int charlen; in xlate_to_uni() local
553 charlen = nls->char2uni(ip, len - i, in xlate_to_uni()
555 if (charlen < 0) in xlate_to_uni()
557 ip += charlen; in xlate_to_uni()
558 i += charlen; in xlate_to_uni()