Lines Matching +full:0 +full:xf001

67 	if (src_char >= 0xF001 && src_char <= 0xF01F) {  in convert_sfm_char()
68 *target = src_char - 0xF000; in convert_sfm_char()
134 if (len <= 0) in cifs_mapchar()
144 if (len <= 0) in cifs_mapchar()
181 int outlen = 0; in cifs_from_utf16()
195 for (i = 0; i < fromwords; i++) { in cifs_from_utf16()
196 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
197 if (ftmp[0] == 0) in cifs_from_utf16()
202 ftmp[1] = 0; in cifs_from_utf16()
206 ftmp[2] = 0; in cifs_from_utf16()
235 for (i = 0; i < nullsize; i++) in cifs_from_utf16()
236 to[outlen++] = 0; in cifs_from_utf16()
266 if (i >= 0) in cifs_strtoUTF16()
276 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_strtoUTF16()
279 cifs_dbg(VFS, "strtoUTF16: char2uni of 0x%x returned %d\n", in cifs_strtoUTF16()
282 wchar_to = 0x003f; in cifs_strtoUTF16()
289 put_unaligned_le16(0, &to[i]); in cifs_strtoUTF16()
308 int charlen, outlen = 0; in cifs_utf16_bytes()
313 for (i = 0; i < maxwords; i++) { in cifs_utf16_bytes()
314 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_utf16_bytes()
315 if (ftmp[0] == 0) in cifs_utf16_bytes()
320 ftmp[1] = 0; in cifs_utf16_bytes()
324 ftmp[2] = 0; in cifs_utf16_bytes()
391 dest_char = 0; in convert_to_sfu_char()
401 if (src_char >= 0x01 && src_char <= 0x1F) { in convert_to_sfm_char()
402 dest_char = cpu_to_le16(src_char + 0xF000); in convert_to_sfm_char()
431 dest_char = 0; in convert_to_sfm_char()
437 dest_char = 0; in convert_to_sfm_char()
440 dest_char = 0; in convert_to_sfm_char()
457 int j = 0; in cifsConvertToUTF16()
470 for (i = 0; i < srclen; j++) { in cifsConvertToUTF16()
475 if (src_char == 0) in cifsConvertToUTF16()
491 if ((i == 0 || source[i-1] == '\\') && in cifsConvertToUTF16()
508 dst_char = 0; in cifsConvertToUTF16()
514 if (dst_char == 0) { in cifsConvertToUTF16()
522 if (charlen > 0) in cifsConvertToUTF16()
528 if (*(source + i) & 0x80) { in cifsConvertToUTF16()
530 if (charlen < 0) in cifsConvertToUTF16()
537 if (ret < 0) in cifsConvertToUTF16()
566 dst_char = cpu_to_le16(0x003f); in cifsConvertToUTF16()
580 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
604 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_local_to_utf16_bytes()
636 *utf16_len = 0; in cifs_strndup_to_utf16()