Lines Matching defs:source
111 * @src_char - 2 byte host-endian source character
159 * @from - source buffer
161 * @fromlen - source buffer size (in bytes)
168 * a danger if the alignment of the source buffer is off). The destination
273 * currently can fail only if source contains
303 * termination required. Don't walk past maxbytes in the source buffer.
338 * @src - source string
339 * @maxlen - don't walk past this many bytes in the source string
455 cifsConvertToUTF16(__le16 *target, const char *source, int srclen,
468 return cifs_strtoUTF16(target, source, PATH_MAX, cp);
473 src_char = source[i];
492 if ((i == srclen - 1) || (source[i+1] == '\\'))
506 charlen = cp->char2uni(source + i, srclen - i, &tmp);
519 if (*(source + i) & 0x80) {
520 charlen = utf8_to_utf32(source + i, 6, &u);
525 ret = utf8s_to_utf16s(source + i, charlen,
563 * character may take more than one byte in the source string,
580 * @codepage - source codepage
584 * termination required. Don't walk past maxbytes in the source buffer.
606 * @src - source string
607 * @maxlen - don't walk past this many bytes in the source string
609 * @cp - source codepage