Lines Matching full:string
155 * cifs_from_utf16 - convert utf16le string to local charset
163 * Convert a little-endian utf16le string (as sent by the server) to a string
167 * string is always properly null terminated and fits in the destination
168 * buffer. Returns the length of the destination string in bytes (including
234 /* properly null-terminate string */ in cifs_from_utf16()
244 * FUNCTION: Convert character string to unicode string
294 * cifs_utf16_bytes - how long will a string be after conversion?
295 * @utf16 - pointer to input string
296 * @maxbytes - don't go past this many bytes of input string
299 * Walk a utf16le string and return the number of bytes that the string will
334 * cifs_strndup_from_utf16 - copy a string from wire format to the local
336 * @src - source string
337 * @maxlen - don't walk past this many bytes in the source string
338 * @is_unicode - is this a unicode string?
341 * Take a string given by the server, convert it to the local codepage and
342 * put it in a new buffer. Returns a pointer to the new string or NULL on
447 * Convert 16 bit Unicode pathname to wire format from string in current code
449 * only legal in POSIX-like OS (if they are present in the string). Path
474 /* check if end of string */ in cifsConvertToUTF16()
561 * character may take more than one byte in the source string, in cifsConvertToUTF16()
562 * but will take exactly two bytes in the target string in cifsConvertToUTF16()
569 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
575 * cifs_local_to_utf16_bytes - how long will a string be after conversion?
576 * @from - pointer to input string
577 * @maxbytes - don't go past this many bytes of input string
580 * Walk a string and return the number of bytes that the string will
603 * cifs_strndup_to_utf16 - copy a string to wire format from the local codepage
604 * @src - source string
605 * @maxlen - don't walk past this many bytes in the source string
606 * @utf16_len - the length of the allocated string in bytes (including null)
610 * Take a string convert it from the local codepage to UTF16 and
611 * put it in a new buffer. Returns a pointer to the new string or NULL on