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()
488 * They are treated as non-end-of-string to avoid in cifsConvertToUTF16()
572 * character may take more than one byte in the source string, in cifsConvertToUTF16()
573 * but will take exactly two bytes in the target string in cifsConvertToUTF16()
580 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
586 * cifs_local_to_utf16_bytes - how long will a string be after conversion?
587 * @from - pointer to input string
588 * @maxbytes - don't go past this many bytes of input string
591 * Walk a string and return the number of bytes that the string will
614 * cifs_strndup_to_utf16 - copy a string to wire format from the local codepage
615 * @src - source string
616 * @maxlen - don't walk past this many bytes in the source string
617 * @utf16_len - the length of the allocated string in bytes (including null)
621 * Take a string convert it from the local codepage to UTF16 and
622 * put it in a new buffer. Returns a pointer to the new string or NULL on