Lines Matching defs:source
3 * Some of the source code in this file came from fs/cifs/cifs_unicode.c
19 * @from: host-endian source string
102 * termination required. Don't walk past maxbytes in the source buffer.
139 * @from: source buffer
141 * @fromlen: source buffer size (in bytes)
148 * a danger if the alignment of the source buffer is off). The destination
227 * @from: source buffer
256 * currently can fail only if source contains
279 * @src: source string
280 * @maxlen: don't walk past this many bytes in the source string
330 * @source: source buffer
331 * @srclen: source buffer size (in bytes)
342 int smbConvertToUTF16(__le16 *target, const char *source, int srclen,
354 return smb_strtoUTF16(target, source, srclen, cp);
357 src_char = source[i];
387 charlen = cp->char2uni(source + i, srclen - i, &tmp);
400 if (*(source + i) & 0x80) {
401 charlen = utf8_to_utf32(source + i, 6, &u);
406 ret = utf8s_to_utf16s(source + i, charlen,
446 * character may take more than one byte in the source string,