Lines Matching full:string

156  * cifs_from_utf16 - convert utf16le string to local charset
164 * Convert a little-endian utf16le string (as sent by the server) to a string
168 * string is always properly null terminated and fits in the destination
169 * buffer. Returns the length of the destination string in bytes (including
235 /* properly null-terminate string */ in cifs_from_utf16()
245 * FUNCTION: Convert character string to unicode string
295 * cifs_utf16_bytes - how long will a string be after conversion?
296 * @utf16 - pointer to input string
297 * @maxbytes - don't go past this many bytes of input string
300 * Walk a utf16le string and return the number of bytes that the string will
335 * cifs_strndup_from_utf16 - copy a string from wire format to the local
337 * @src - source string
338 * @maxlen - don't walk past this many bytes in the source string
339 * @is_unicode - is this a unicode string?
342 * Take a string given by the server, convert it to the local codepage and
343 * put it in a new buffer. Returns a pointer to the new string or NULL on
448 * Convert 16 bit Unicode pathname to wire format from string in current code
450 * only legal in POSIX-like OS (if they are present in the string). Path
475 /* check if end of string */ in cifsConvertToUTF16()
562 * character may take more than one byte in the source string, in cifsConvertToUTF16()
563 * but will take exactly two bytes in the target string in cifsConvertToUTF16()
570 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
576 * cifs_local_to_utf16_bytes - how long will a string be after conversion?
577 * @from - pointer to input string
578 * @maxbytes - don't go past this many bytes of input string
581 * Walk a string and return the number of bytes that the string will
604 * cifs_strndup_to_utf16 - copy a string to wire format from the local codepage
605 * @src - source string
606 * @maxlen - don't walk past this many bytes in the source string
607 * @utf16_len - the length of the allocated string in bytes (including null)
611 * Take a string convert it from the local codepage to UTF16 and
612 * put it in a new buffer. Returns a pointer to the new string or NULL on