Searched defs:utf8 (Results 101 - 125 of 137) sorted by relevance

123456

/external/icu/icu4c/source/test/cintltst/
H A Dreapits.c93 static UBool equals_utf8_utext(const char *utf8, UText *utext) { argument
100 U8_NEXT_UNSAFE(utf8, u8i, u8c);
H A Dccapitst.c485 someConverters[2] = ucnv_open("utf8", &err);
1157 { "UTF-8", "utf-8", "utf8", "ibm-1208",
2245 utf8[]={ local
2287 (const char *)utf8, sizeof(utf8), (const char *)shiftJIS, sizeof(shiftJIS),
2291 (const char *)shiftJIS, sizeof(shiftJIS), (const char *)utf8, sizeof(utf8),
2303 memcpy(srcBuffer, utf8, sizeof(utf8));
2304 srcBuffer[sizeof(utf8)]
2498 char utf8[16]; local
2564 char utf8[600], expect[600]; local
2742 utf8[]={ local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp1197 source=cc.utf8;
1430 // convert unicode to utf8
1431 char utf8[256]; local
1432 cc.utf8=utf8;
1433 u_strToUTF8(utf8, LENGTHOF(utf8), &cc.utf8Length,
1452 { 0, "bulk", "utf8" }, // must be first for offsets to be checked
1453 { 1, "step=1", "utf8 step=1" },
1454 { 3, "step=3", "utf8 ste
[all...]
H A Dustrtest.cpp242 static const uint8_t utf8[]={ 0x61, 0xC3, 0xA4, 0xC3, 0x9F, 0xE4, 0xB8, 0x80, 0 }; local
244 UnicodeString from8a = UnicodeString((const char *)utf8);
245 UnicodeString from8b = UnicodeString((const char *)utf8, (int32_t)sizeof(utf8)-1);
252 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) {
256 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) {
1867 static const uint8_t utf8[] = { local
1890 UnicodeString from8 = UnicodeString::fromUTF8(StringPiece((const char *)utf8, (int32_
[all...]
H A Dcollationtest.cpp477 std::string utf8; local
478 UnicodeString(s).toUTF8String(utf8);
480 reinterpret_cast<const uint8_t *>(utf8.c_str()), 0, -1);
H A Dintltest.cpp1180 UBool utf8 = FALSE; local
1214 utf8 = TRUE;
1330 fprintf(stdout, " utf-8 (u) : %s\n", (utf8? "On" : "Off"));
1344 if(utf8) {
1365 if(utf8) {
H A Dusettest.cpp2323 char *s8=utf8;
2333 s8, (int32_t)(sizeof(utf8)-utf8Count));
2365 char utf8[1024]; member in class:UnicodeSetWithStrings
2390 const char *s8=fSet.utf8+nextUTF8Start;
/external/javassist/src/main/javassist/bytecode/
H A DConstPool.java732 int utf8 = addUtf8Info(Descriptor.toJvmName(qname));
733 info = new ClassInfo(utf8, numOfItems);
955 * <p>If the given utf8 string has been already recorded in the
962 public int addUtf8Info(String utf8) { argument
963 Utf8Info info = (Utf8Info)strings.get(utf8);
967 info = new Utf8Info(utf8, numOfItems);
968 strings.put(utf8, info);
1546 public Utf8Info(String utf8, int i) { argument
1547 string = utf8;
/external/libvterm/src/
H A Dscreen.c7 #include "utf8.h"
634 static size_t _get_chars(const VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument
640 if(utf8) { \
H A Dstate.c8 #include "utf8.h"
164 state->vt->mode.utf8 ? &state->encoding_utf8 :
403 char utf8[18]; size_t len = 0; local
408 len += fill_utf8((code | modifiers) + 0x20, utf8 + len);
409 len += fill_utf8(col + 0x21, utf8 + len);
410 len += fill_utf8(row + 0x21, utf8 + len);
412 vterm_push_output_sprintf_ctrl(state->vt, C1_CSI, "M%s", utf8);
1524 VTermEncoding *default_enc = state->vt->mode.utf8 ?
/external/qemu/telephony/
H A Dgsm.c360 utf8_skip( cbytes_t utf8, argument
364 cbytes_t p = utf8;
412 utf8_write( bytes_t utf8, int offset, int v ) argument
418 if (utf8)
419 utf8[offset] = (byte_t) v;
422 if (utf8) {
423 utf8[offset+0] = (byte_t)( 0xc0 | (v >> 6) );
424 utf8[offset+1] = (byte_t)( 0x80 | (v & 0x3f) );
428 if (utf8) {
429 utf8[offse
514 utf8_to_ucs2( cbytes_t utf8, int utf8len, bytes_t ucs2 ) argument
608 utf8_skip_gsm7( cbytes_t utf8, cbytes_t utf8end, int gsm7len ) argument
636 utf8_check_gsm7( cbytes_t utf8, int utf8len ) argument
779 utf8_to_gsm7_count( cbytes_t utf8, int utf8len ) argument
850 utf8_to_gsm7( cbytes_t utf8, int utf8len, bytes_t dst, int offset ) argument
887 utf8_to_gsm8( cbytes_t utf8, int utf8len, bytes_t dst ) argument
[all...]
H A Dsms.c46 sms_utf8_from_message_str( const char* str, int strlen, unsigned char* utf8, int utf8len ) argument
112 utf8[count] = (byte_t) c;
117 utf8[count] = (byte_t)(0xc0 | ((c >> 6) & 0x1f));
119 utf8[count+1] = (byte_t)(0x80 | (c & 0x3f));
124 utf8[count] = (byte_t)(0xc0 | ((c >> 12) & 0xf));
126 utf8[count+1] = (byte_t)(0x80 | ((c >> 6) & 0x3f));
128 utf8[count+2] = (byte_t)(0x80 | (c & 0x3f));
141 int sms_utf8_to_message_str( const unsigned char* utf8, int utf8len, char* str, int strlen ) argument
143 cbytes_t p = utf8;
904 /* get the message embedded in a SMS PDU as a utf8 byt
907 smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len ) argument
1112 gsm_rope_add_sms_deliver_pdu( GsmRope rope, cbytes_t utf8, int utf8len, int use_gsm7, const SmsAddressRec* sender_address, const SmsTimeStampRec* timestamp, int ref_num, int pdu_count, int pdu_index) argument
1191 smspdu_create_deliver( cbytes_t utf8, int utf8len, int use_gsm7, const SmsAddressRec* sender_address, const SmsTimeStampRec* timestamp, int ref_num, int pdu_count, int pdu_index ) argument
1250 smspdu_create_deliver_utf8( const unsigned char* utf8, int utf8len, const SmsAddressRec* sender_address, const SmsTimeStampRec* timestamp ) argument
1565 sms_receiver_get_text_message( SmsReceiver rec, int index, bytes_t utf8, int utf8len ) argument
1617 bytes_t utf8; local
[all...]
/external/regex-re2/re2/
H A Dre2.h508 // utf8 (true) text and pattern are UTF-8; otherwise Latin-1
584 bool utf8() const { return encoding_ == EncodingUTF8; } function in class:re2::RE2::Options
/external/chromium_org/third_party/expat/files/lib/
H A Dxmltok.c1252 char utf8[256][4]; member in struct:unknown_encoding
1299 const char *utf8; local
1303 utf8 = uenc->utf8[(unsigned char)**fromP];
1304 n = *utf8++;
1310 utf8 = buf;
1320 *(*toP)++ = *utf8++;
1366 e->utf8[i][0] = 1;
1367 e->utf8[i][1] = 0;
1373 e->utf8[
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Ducnvmbcs.c51 #include "unicode/utf8.h"
4865 UConverter *utf8, *cnv; local
4883 utf8=pToUArgs->converter;
4909 c=(UChar32)utf8->toUnicodeStatus;
4911 toULength=oldToULength=utf8->toULength;
4912 toULimit=(int8_t)utf8->mode;
4944 utf8->toUnicodeStatus=0;
4945 utf8->toULength=0;
4955 * (utf8, source, target, limits but not cnv, table, minValue, etc.).
5051 utf8
5171 UConverter *utf8, *cnv; local
[all...]
H A Dunistr.cpp407 UnicodeString UnicodeString::fromUTF8(const StringPiece &utf8) { argument
409 result.setToUTF8(utf8);
885 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, local
891 u_strToUTF8WithSub(utf8, capacity, &length8,
897 utf8 = (char *)uprv_malloc(length8);
898 if(utf8 != NULL) {
901 u_strToUTF8WithSub(utf8, length8, &length8,
911 sink.Append(utf8, length8);
915 uprv_free(utf8);
1240 UnicodeString &UnicodeString::setToUTF8(const StringPiece &utf8) { argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dintltest.cpp1178 UBool utf8 = FALSE; local
1212 utf8 = TRUE;
1328 fprintf(stdout, " utf-8 (u) : %s\n", (utf8? "On" : "Off"));
1342 if(utf8) {
1363 if(utf8) {
H A Dusettest.cpp2323 char *s8=utf8;
2333 s8, (int32_t)(sizeof(utf8)-utf8Count));
2365 char utf8[1024]; member in class:UnicodeSetWithStrings
2390 const char *s8=fSet.utf8+nextUTF8Start;
/external/expat/lib/
H A Dxmltok.c1252 char utf8[256][4]; member in struct:unknown_encoding
1299 const char *utf8; local
1303 utf8 = uenc->utf8[(unsigned char)**fromP];
1304 n = *utf8++;
1310 utf8 = buf;
1320 *(*toP)++ = *utf8++;
1366 e->utf8[i][0] = 1;
1367 e->utf8[i][1] = 0;
1373 e->utf8[
[all...]
/external/icu/icu4c/source/common/
H A Ducnvmbcs.c51 #include "unicode/utf8.h"
4865 UConverter *utf8, *cnv; local
4883 utf8=pToUArgs->converter;
4909 c=(UChar32)utf8->toUnicodeStatus;
4911 toULength=oldToULength=utf8->toULength;
4912 toULimit=(int8_t)utf8->mode;
4944 utf8->toUnicodeStatus=0;
4945 utf8->toULength=0;
4955 * (utf8, source, target, limits but not cnv, table, minValue, etc.).
5051 utf8
5171 UConverter *utf8, *cnv; local
[all...]
H A Dunistr.cpp407 UnicodeString UnicodeString::fromUTF8(const StringPiece &utf8) { argument
409 result.setToUTF8(utf8);
885 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, local
891 u_strToUTF8WithSub(utf8, capacity, &length8,
897 utf8 = (char *)uprv_malloc(length8);
898 if(utf8 != NULL) {
901 u_strToUTF8WithSub(utf8, length8, &length8,
911 sink.Append(utf8, length8);
915 uprv_free(utf8);
1240 UnicodeString &UnicodeString::setToUTF8(const StringPiece &utf8) { argument
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dccapitst.c485 someConverters[2] = ucnv_open("utf8", &err);
1153 { "UTF-8", "utf-8", "utf8", "ibm-1208",
2241 utf8[]={ local
2283 (const char *)utf8, sizeof(utf8), (const char *)shiftJIS, sizeof(shiftJIS),
2287 (const char *)shiftJIS, sizeof(shiftJIS), (const char *)utf8, sizeof(utf8),
2299 memcpy(srcBuffer, utf8, sizeof(utf8));
2300 srcBuffer[sizeof(utf8)]
2494 char utf8[16]; local
2560 char utf8[600], expect[600]; local
2738 utf8[]={ local
[all...]
H A Dnucnvtst.c906 sampleText, sizeof(sampleText)/sizeof(sampleText[0]), "utf8", fmUTF8Offs,FALSE);
1106 static const uint8_t utf8[]={ local
1137 testConvertToU(utf8, sizeof(utf8),
5387 utf8cnv = ucnv_open ("utf8", &status);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/pcre/dist/
H A Dpcregrep.c199 static BOOL utf8 = FALSE; variable
1167 if (utf8 && c >= 0xc0)
1211 if (utf8 && c >= 0xc0)
1245 *lenptr = utf8? 2 : 1;
1307 if (utf8) while ((*p & 0xc0) == 0x80) p--;
1314 if (utf8)
2375 case 'u': options |= PCRE_UTF8; utf8 = TRUE; break;

Completed in 1356 milliseconds

123456