Searched refs:utf8 (Results 1 - 18 of 18) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/
H A Dencodings.h16 status_t unicode_to_utf8(const uchar *uni, uint32 unilen, uint8 *utf8,
22 bool requires_long_name(const char *utf8, const uchar *unicode);
23 status_t utf8_to_unicode(const char *utf8, uchar *uni, uint32 unilen);
29 status_t msdos_to_utf8(uchar *msdos, uchar *utf8, uint32 utf8len,
H A Dencodings.cpp928 // converts LENDIAN unicode to utf8
943 uchar utf8[4]; local
944 uchar *UTF8 = utf8;
950 utf8Len = UTF8 - utf8;
955 dst[dstCount + j] = utf8[j];
965 // utf8 to LENDIAN unicode
1004 // table translation to utf8
1022 uchar utf8[4]; local
1023 uchar *UTF8 = utf8;
1025 *(uint32 *)utf8
1128 unicode_to_utf8(const uchar *uni, uint32 unilen, uint8 *utf8, uint32 utf8len) argument
1158 requires_long_name(const char *utf8, const uchar *unicode) argument
1194 utf8_to_unicode(const char *utf8, uchar *uni, uint32 unilen) argument
1307 generate_short_name_msdos(const uchar *utf8, const uint16 *uni, uint32 unilen, uchar nshort[11]) argument
1387 generate_short_name_sjis(const uchar *utf8, const uint16 *uni, uint32 unilen, uchar nshort[11]) argument
1504 msdos_to_utf8(uchar *msdos, uchar *utf8, uint32 utf8len, uint8 toLower) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/udf/
H A DDString.h28 DString(const char *utf8, uint8 fieldLength);
35 void SetTo(const char *utf8, uint8 fieldLength);
H A DDString.cpp45 of the NULL-terminated UTF8 string \a utf8.
47 DString::DString(const char *utf8, uint8 fieldLength) argument
52 SetTo(utf8, fieldLength);
117 of the NULL-terminated UTF8 string \a utf8.
120 DString::SetTo(const char *utf8, uint8 fieldLength) argument
122 UdfString string(utf8);
H A DUdfString.cpp11 /*! \brief Converts the given unicode character to utf8.
15 long into which the output utf8 characters will
47 /*! \brief Converts the given utf8 character to 4-byte unicode.
49 \param in Pointer to a C-String from which utf8 characters
111 UdfString::UdfString(const char *utf8) argument
116 SetTo(utf8);
138 UdfString::SetTo(const char *utf8) argument
140 TRACE(("UdfString::SetTo: utf8 = `%s', strlen(utf8) = %ld\n",
141 utf8, utf
[all...]
H A DUdfString.h29 UdfString(const char *utf8);
36 void SetTo(const char *utf8);
/haiku/src/kits/storage/
H A DQueryPredicate.cpp199 char *utf8 = utf8Buffer; local
204 BUnicodeChar::ToUTF8(codePoint, &utf8);
205 fValue.Append(utf8Buffer, utf8 - utf8Buffer);
208 BUnicodeChar::ToUTF8(lower, &utf8);
209 fValue.Append(utf8Buffer, utf8 - utf8Buffer);
210 utf8 = utf8Buffer;
211 BUnicodeChar::ToUTF8(upper, &utf8);
212 fValue.Append(utf8Buffer, utf8 - utf8Buffer);
218 BUnicodeChar::ToUTF8(codePoint, &utf8);
219 fValue.Append(utf8Buffer, utf8
[all...]
/haiku/src/apps/terminal/
H A DUTF8Char.h93 char* utf8 = character.bytes; local
94 BUnicodeChar::ToUTF8(c, &utf8);
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp164 uint8 utf8[4]; local
168 utf8[0] = c;
171 utf8[0] = 0xc0 | (c >> 6);
172 utf8[1] = 0x80 | (c & 0x3f);
175 utf8[0] = 0xe0 | (c >> 12);
176 utf8[1] = 0x80 | ((c >> 6) & 0x3f);
177 utf8[2] = 0x80 | (c & 0x3f);
189 utf8[0] = 0xf0 | (value >> 18);
190 utf8[1] = 0x80 | ((value >> 12) & 0x3f);
191 utf8[
[all...]
/haiku/src/kits/locale/
H A DUnicodeChar.cpp15 #include <unicode/utf8.h>
/haiku/src/apps/serialconnect/libvterm/src/
H A Dvterm_internal.h135 int utf8:1; member in struct:VTerm::__anon31
H A Dparser.c302 if(c == 0x07 || (c == 0x9c && !vt->mode.utf8)) {
309 if(c >= 0x80 && c < 0xa0 && !vt->mode.utf8) {
H A Dstate.c8 #include "utf8.h"
216 state->vt->mode.utf8 ? &state->encoding_utf8 :
457 char utf8[18]; size_t len = 0; local
462 len += fill_utf8((code | modifiers) + 0x20, utf8 + len);
463 len += fill_utf8(col + 0x21, utf8 + len);
464 len += fill_utf8(row + 0x21, utf8 + len);
465 utf8[len] = 0;
467 vterm_push_output_sprintf_ctrl(state->vt, C1_CSI, "M%s", utf8);
1664 default_enc = state->vt->mode.utf8 ?
H A Dvterm.c108 vt->mode.utf8 = is_utf8;
H A Dscreen.c7 #include "utf8.h"
680 static size_t _get_chars(const VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument
687 if(utf8) { \
/haiku/src/apps/charactermap/
H A DCharacterWindow.cpp335 char utf8[16]; local
336 CharacterView::UnicodeToUTF8(character, utf8, sizeof(utf8));
347 snprintf(glyph, sizeof(glyph), "'%s'", utf8);
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660.cpp104 uint8 utf8[4]; local
105 uint8 *UTF8 = utf8;
111 utf8Len = UTF8 - utf8;
116 dst[dstCount + j] = utf8[j];
940 // Assume that the unicode->utf8 conversion produces 4 byte
941 // utf8 characters, and allocate that much space
952 dprintf("iso9660: error converting unicode->utf8\n");
/haiku/src/libs/iconv/
H A Dencodings.def61 utf8,

Completed in 467 milliseconds