/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | encodings.cpp | 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 [all …]
|
H A D | encodings.h | 37 status_t unicode_to_utf8(const uchar *uni, uint32 unilen, uint8 *utf8, 43 bool requires_long_name(const char *utf8, const uchar *unicode); 44 status_t utf8_to_unicode(const char *utf8, uchar *uni, uint32 unilen); 49 status_t generate_short_name_sjis(const uchar *utf8, const uint16 *uni, 52 status_t msdos_to_utf8(uchar *msdos, uchar *utf8, uint32 utf8len,
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfString.cpp | 111 UdfString::UdfString(const char *utf8) in UdfString() argument 116 SetTo(utf8); in UdfString() 138 UdfString::SetTo(const char *utf8) in SetTo() argument 141 utf8, utf8 ? strlen(utf8) : 0)); in SetTo() 144 if (utf8 == NULL) { in SetTo() 149 uint32 length = strlen(utf8); in SetTo() 158 memcpy(fUtf8String, utf8, length + 1); in SetTo() 173 const char *in = utf8; in SetTo() 175 for (uint32 i = 0; i < length && uint32(in - utf8) < length; i++, rawLength++) in SetTo()
|
H A D | DString.cpp | 47 DString::DString(const char *utf8, uint8 fieldLength) in DString() argument 52 SetTo(utf8, fieldLength); in DString() 120 DString::SetTo(const char *utf8, uint8 fieldLength) in SetTo() argument 122 UdfString string(utf8); in SetTo()
|
H A D | DString.h | 28 DString(const char *utf8, uint8 fieldLength); 35 void SetTo(const char *utf8, uint8 fieldLength);
|
H A D | UdfString.h | 29 UdfString(const char *utf8); 36 void SetTo(const char *utf8);
|
/haiku/src/kits/storage/ |
H A D | QueryPredicate.cpp | 199 char *utf8 = utf8Buffer; in StringNode() local 204 BUnicodeChar::ToUTF8(codePoint, &utf8); in StringNode() 205 fValue.Append(utf8Buffer, utf8 - utf8Buffer); in StringNode() 208 BUnicodeChar::ToUTF8(lower, &utf8); in StringNode() 209 fValue.Append(utf8Buffer, utf8 - utf8Buffer); in StringNode() 210 utf8 = utf8Buffer; in StringNode() 211 BUnicodeChar::ToUTF8(upper, &utf8); in StringNode() 212 fValue.Append(utf8Buffer, utf8 - utf8Buffer); in StringNode() 218 BUnicodeChar::ToUTF8(codePoint, &utf8); in StringNode() 219 fValue.Append(utf8Buffer, utf8 - utf8Buffer); in StringNode()
|
/haiku/src/system/boot/loader/file_systems/fat/ |
H A D | Directory.cpp | 164 uint8 utf8[4]; in ConvertNameToUTF8() local 168 utf8[0] = c; in ConvertNameToUTF8() 171 utf8[0] = 0xc0 | (c >> 6); in ConvertNameToUTF8() 172 utf8[1] = 0x80 | (c & 0x3f); in ConvertNameToUTF8() 175 utf8[0] = 0xe0 | (c >> 12); in ConvertNameToUTF8() 176 utf8[1] = 0x80 | ((c >> 6) & 0x3f); in ConvertNameToUTF8() 177 utf8[2] = 0x80 | (c & 0x3f); in ConvertNameToUTF8() 189 utf8[0] = 0xf0 | (value >> 18); in ConvertNameToUTF8() 190 utf8[1] = 0x80 | ((value >> 12) & 0x3f); in ConvertNameToUTF8() 191 utf8[2] = 0x80 | ((value >> 6) & 0x3f); in ConvertNameToUTF8() [all …]
|
/haiku/src/apps/terminal/ |
H A D | UTF8Char.h | 93 char* utf8 = character.bytes; in ToLower() local 94 BUnicodeChar::ToUTF8(c, &utf8); in ToLower()
|
/haiku/src/apps/charactermap/ |
H A D | CharacterWindow.cpp | 336 char utf8[16]; in MessageReceived() local 337 CharacterView::UnicodeToUTF8(character, utf8, sizeof(utf8)); in MessageReceived() 348 snprintf(glyph, sizeof(glyph), "'%s'", utf8); in MessageReceived()
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | parser.c | 302 if(c == 0x07 || (c == 0x9c && !vt->mode.utf8)) { in vterm_push_bytes() 309 if(c >= 0x80 && c < 0xa0 && !vt->mode.utf8) { in vterm_push_bytes()
|
H A D | state.c | 216 state->vt->mode.utf8 ? &state->encoding_utf8 : in on_text() 457 char utf8[18]; size_t len = 0; in output_mouse() local 462 len += fill_utf8((code | modifiers) + 0x20, utf8 + len); in output_mouse() 463 len += fill_utf8(col + 0x21, utf8 + len); in output_mouse() 464 len += fill_utf8(row + 0x21, utf8 + len); in output_mouse() 465 utf8[len] = 0; in output_mouse() 467 vterm_push_output_sprintf_ctrl(state->vt, C1_CSI, "M%s", utf8); in output_mouse() 1664 default_enc = state->vt->mode.utf8 ? in vterm_state_reset()
|
H A D | vterm_internal.h | 135 int utf8:1; member
|
H A D | vterm.c | 108 vt->mode.utf8 = is_utf8; in vterm_parser_set_utf8()
|
H A D | screen.c | 680 static size_t _get_chars(const VTermScreen *screen, const int utf8, void *buffer, size_t len, const… in _get_chars() argument 687 if(utf8) { \ in _get_chars()
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.cpp | 104 uint8 utf8[4]; in unicode_to_utf8() local 105 uint8 *UTF8 = utf8; in unicode_to_utf8() 111 utf8Len = UTF8 - utf8; in unicode_to_utf8() 116 dst[dstCount + j] = utf8[j]; in unicode_to_utf8()
|
/haiku/src/libs/iconv/ |
H A D | encodings.def | 61 utf8,
|
H A D | ChangeLog | 3185 * lib/utf8.h (utf8_wctomb): Likewise. 3766 * src/utf8.h: Likewise.
|