Lines Matching refs:utf8
944 uchar utf8[4]; in _lendian_unicode_to_utf8() local
945 uchar *UTF8 = utf8; in _lendian_unicode_to_utf8()
951 utf8Len = UTF8 - utf8; in _lendian_unicode_to_utf8()
956 dst[dstCount + j] = utf8[j]; in _lendian_unicode_to_utf8()
1023 uchar utf8[4]; in _one_to_utf8() local
1024 uchar *UTF8 = utf8; in _one_to_utf8()
1026 memset(utf8, 0, 4); in _one_to_utf8()
1029 int32 utf8Len = UTF8 - utf8; in _one_to_utf8()
1034 dst[dstCount + j] = utf8[j]; in _one_to_utf8()
1117 status_t unicode_to_utf8(const uchar *uni, uint32 unilen, uint8 *utf8, in unicode_to_utf8() argument
1126 (int32 *)&unilen, (char *)utf8, (int32 *)&utf8len); in unicode_to_utf8()
1147 bool requires_long_name(const char *utf8, const uchar *unicode) in requires_long_name() argument
1162 if (utf8[i] == 0) return false; in requires_long_name()
1163 if (utf8[i] == '.') break; in requires_long_name()
1166 if (!strchr(sAcceptable, utf8[i])) return true; in requires_long_name()
1169 if (utf8[i] == 0) return false; in requires_long_name()
1170 if ((i == 8) && (utf8[i] != '.')) return true; /* name too long */ in requires_long_name()
1172 if (utf8[i] == 0) return true; /* filenames with trailing periods */ in requires_long_name()
1175 if (utf8[i] == 0) return false; in requires_long_name()
1177 if (!strchr(sAcceptable, utf8[i])) return true; in requires_long_name()
1180 return (utf8[i] == 0) ? false : true; in requires_long_name()
1183 status_t utf8_to_unicode(const char *utf8, uchar *uni, uint32 unilen) in utf8_to_unicode() argument
1190 utf8len = origlen = strlen(utf8) + 1; in utf8_to_unicode()
1192 result = _utf8_to_lendian_unicode(utf8, in utf8_to_unicode()
1296 generate_short_name_msdos(const uchar *utf8, const uint16 *uni, in generate_short_name_msdos() argument
1303 TOUCH(utf8); in generate_short_name_msdos()
1376 generate_short_name_sjis(const uchar *utf8, const uint16 *uni, in generate_short_name_sjis() argument
1391 utf8len = strlen((const char *)utf8) + 1; in generate_short_name_sjis()
1394 result = _utf8_to_sjis_bendian((char *)utf8, in generate_short_name_sjis()
1399 if (utf8len < (int32)strlen((const char *)utf8) + 1) { in generate_short_name_sjis()
1493 status_t msdos_to_utf8(uchar *msdos, uchar *utf8, uint32 utf8len, uint8 toLower) in msdos_to_utf8() argument
1521 (char *)utf8, (int32 *)&utf8len); in msdos_to_utf8()