Lines Matching refs:p_cstring
480 struct exfat_uni_name *p_uniname, unsigned char *p_cstring, in exfat_utf16_to_utf8() argument
488 p_cstring, buflen); in exfat_utf16_to_utf8()
489 p_cstring[len] = '\0'; in exfat_utf16_to_utf8()
494 const unsigned char *p_cstring, const int len, in exfat_utf8_to_utf16() argument
503 unilen = utf8s_to_utf16s(p_cstring, len, UTF16_HOST_ENDIAN, in exfat_utf8_to_utf16()
541 struct exfat_uni_name *p_uniname, unsigned char *p_cstring, in __exfat_utf16_to_nls() argument
582 *p_cstring++ = buf[j]; in __exfat_utf16_to_nls()
584 *p_cstring++ = *buf; in __exfat_utf16_to_nls()
591 *p_cstring = '\0'; in __exfat_utf16_to_nls()
596 const unsigned char *p_cstring, const int len, in exfat_nls_to_ucs2() argument
607 i += exfat_convert_char_to_ucs2(nls, p_cstring + i, len - i, in exfat_nls_to_ucs2()
619 if (p_cstring[i] != '\0') in exfat_nls_to_ucs2()
633 unsigned char *p_cstring, int buflen) in exfat_utf16_to_nls() argument
636 return exfat_utf16_to_utf8(sb, uniname, p_cstring, in exfat_utf16_to_nls()
638 return __exfat_utf16_to_nls(sb, uniname, p_cstring, buflen); in exfat_utf16_to_nls()
641 int exfat_nls_to_utf16(struct super_block *sb, const unsigned char *p_cstring, in exfat_nls_to_utf16() argument
645 return exfat_utf8_to_utf16(sb, p_cstring, len, in exfat_nls_to_utf16()
647 return exfat_nls_to_ucs2(sb, p_cstring, len, uniname, p_lossy); in exfat_nls_to_utf16()