Lines Matching full:string
157 * cifs_from_utf16 - convert utf16le string to local charset
165 * Convert a little-endian utf16le string (as sent by the server) to a string
169 * string is always properly null terminated and fits in the destination
170 * buffer. Returns the length of the destination string in bytes (including
236 /* properly null-terminate string */ in cifs_from_utf16()
246 * FUNCTION: Convert character string to unicode string
296 * cifs_utf16_bytes - how long will a string be after conversion?
297 * @utf16 - pointer to input string
298 * @maxbytes - don't go past this many bytes of input string
301 * Walk a utf16le string and return the number of bytes that the string will
336 * cifs_strndup_from_utf16 - copy a string from wire format to the local
338 * @src - source string
339 * @maxlen - don't walk past this many bytes in the source string
340 * @is_unicode - is this a unicode string?
343 * Take a string given by the server, convert it to the local codepage and
344 * put it in a new buffer. Returns a pointer to the new string or NULL on
454 * Convert 16 bit Unicode pathname to wire format from string in current code
456 * only legal in POSIX-like OS (if they are present in the string). Path
481 /* check if end of string */ in cifsConvertToUTF16()
568 * character may take more than one byte in the source string, in cifsConvertToUTF16()
569 * but will take exactly two bytes in the target string in cifsConvertToUTF16()
576 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
582 * cifs_local_to_utf16_bytes - how long will a string be after conversion?
583 * @from - pointer to input string
584 * @maxbytes - don't go past this many bytes of input string
587 * Walk a string and return the number of bytes that the string will
610 * cifs_strndup_to_utf16 - copy a string to wire format from the local codepage
611 * @src - source string
612 * @maxlen - don't walk past this many bytes in the source string
613 * @utf16_len - the length of the allocated string in bytes (including null)
617 * Take a string convert it from the local codepage to UTF16 and
618 * put it in a new buffer. Returns a pointer to the new string or NULL on