Lines Matching defs:source
109 * @src_char - 2 byte host-endian source character
157 * @from - source buffer
159 * @fromlen - source buffer size (in bytes)
166 * a danger if the alignment of the source buffer is off). The destination
271 * currently can fail only if source contains
301 * termination required. Don't walk past maxbytes in the source buffer.
336 * @src - source string
337 * @maxlen - don't walk past this many bytes in the source string
453 cifsConvertToUTF16(__le16 *target, const char *source, int srclen,
466 return cifs_strtoUTF16(target, source, PATH_MAX, cp);
471 src_char = source[i];
490 if ((i == srclen - 1) || (source[i+1] == '\\'))
504 charlen = cp->char2uni(source + i, srclen - i, &tmp);
517 if (*(source + i) & 0x80) {
518 charlen = utf8_to_utf32(source + i, 6, &u);
523 ret = utf8s_to_utf16s(source + i, charlen,
561 * character may take more than one byte in the source string,
578 * @codepage - source codepage
582 * termination required. Don't walk past maxbytes in the source buffer.
604 * @src - source string
605 * @maxlen - don't walk past this many bytes in the source string
607 * @cp - source codepage