Searched defs:utf8 (Results 76 - 100 of 137) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DMainThreadWebSocketChannel.cpp128 WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending String '%s'", this, message.utf8().data());
129 CString utf8 = message.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD); local
130 enqueueTextFrame(utf8);
143 WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending Blob '%s'", this, binaryData->uuid().utf8().data());
157 WTF_LOG(Network, "MainThreadWebSocketChannel %p close() code=%d reason='%s'", this, code, reason.utf8().data());
191 WTF_LOG(Network, "MainThreadWebSocketChannel %p fail() reason='%s'", this, reason.utf8().data());
364 WTF_LOG(Network, "Error Message: '%s', FailURL: '%s'", message.utf8().data(), failingURL.utf8().data());
508 buf.append(reason.utf8()
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Ducnvseltst.c273 const char *utf8, int32_t length,
304 * (UBool)(uset_spanUTF8(set, utf8, length, USET_SPAN_SIMPLE) == length);
306 * or if the utf8 string contains an illegal sequence.
314 U8_NEXT(utf8, offset, length, cp);
272 getResultsManually(const char** encodings, int32_t num_encodings, const char *utf8, int32_t length, const USet* excludedCodePoints, const UConverterUnicodeSet whichSet) argument
H A Dncnvtst.c686 /*Regression test for utf8 converter*/
692 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); local
705 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh);
709 utf8, offset8, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
712 if(!convertToU(utf8, offset8,
719 free(utf8);
964 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
965 log_err("utf8->u with substitute did not match.\n");;
H A Dreapits.c93 static UBool equals_utf8_utext(const char *utf8, UText *utext) { argument
100 U8_NEXT_UNSAFE(utf8, u8i, u8c);
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkPdfFont.h273 char utf8[10]; local
274 size_t len = SkUTF8_FromUnichar((SkUnichar) ch4, utf8);
276 canvas->drawText(utf8, len, SkDoubleToScalar(0), SkDoubleToScalar(0), *paint);
278 SkScalar textWidth = paint->measureText(utf8, len);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAll.cpp350 char utf8[] = "utf8" "\xe2\x80\xa6"; local
475 canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint);
/external/chromium_org/ui/base/clipboard/
H A Dclipboard_android.cc265 std::string utf8; local
266 ReadAsciiText(type, &utf8);
267 *result = base::UTF8ToUTF16(utf8);
/external/expat/tests/
H A Druntests.c396 char *utf8 = local
400 run_character_check(text, utf8);
402 run_attribute_check(text, utf8);
/external/icu/icu4c/source/test/cintltst/
H A Ducnvseltst.c273 const char *utf8, int32_t length,
304 * (UBool)(uset_spanUTF8(set, utf8, length, USET_SPAN_SIMPLE) == length);
306 * or if the utf8 string contains an illegal sequence.
314 U8_NEXT(utf8, offset, length, cp);
272 getResultsManually(const char** encodings, int32_t num_encodings, const char *utf8, int32_t length, const USet* excludedCodePoints, const UConverterUnicodeSet whichSet) argument
H A Dncnvtst.c704 /*Regression test for utf8 converter*/
710 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); local
723 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh);
727 utf8, offset8, "UTF8", 0, TRUE, U_ZERO_ERROR )) {
730 if(!convertToU(utf8, offset8,
737 free(utf8);
982 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
983 log_err("utf8->u with substitute did not match.\n");;
/external/javassist/src/main/javassist/bytecode/
H A DClassFileWriter.java557 int utf8 = addUtf8Info(jvmname);
559 output.writeShort(utf8);
654 int utf8 = addUtf8Info(str);
656 output.writeShort(utf8);
718 public int addUtf8Info(String utf8) { argument
720 output.writeUTF(utf8);
/external/libvterm/src/
H A Dvterm_internal.h123 int utf8:1; member in struct:VTerm::__anon25032
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c68 Uint32 Utf8ToUcs4(const Uint8 *utf8) argument
74 unsigned char firstOctet = utf8[0];
164 /* Now, start filling c.ucs4 with the bits from the continuing octets from utf8. */
167 if ((utf8[i] & 0xC0) /* get the most 2 significant bits by AND'ing with 11000000 */
177 Take only the least 6 significance bits of the current octet (utf8[i]) and fill the created room
179 This done by AND'ing utf8[i] with 00111111 and the OR'ing the result with c.ucs4.
181 c |= utf8[i] & 0x3F;
186 /* Given a UTF-8 encoded string pointed to by utf8 of length length in
234 static int Utf8ToUtf16(const Uint8 *utf8, const int utf8_length, Uint16 *utf16, const int utf16_max_length) { argument
241 Uint8 const *const end_of_input = utf8
[all...]
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.h273 char utf8[10]; local
274 size_t len = SkUTF8_FromUnichar((SkUnichar) ch4, utf8);
276 canvas->drawText(utf8, len, SkDoubleToScalar(0), SkDoubleToScalar(0), *paint);
278 SkScalar textWidth = paint->measureText(utf8, len);
/external/skia/samplecode/
H A DSampleAll.cpp348 char utf8[] = "utf8" "\xe2\x80\xa6"; local
473 canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-netrexx.jar ... boolean symbols private boolean time private String trace private boolean utf8 private String verbose private boolean suppressMethodArgumentNotUsed private boolean suppressPrivatePropertyNotUsed private ...
/external/chromium_org/base/files/
H A Dfile_path.cc612 FilePath FilePath::FromUTF8Unsafe(const std::string& utf8) { argument
614 return FilePath(utf8);
616 return FilePath(SysWideToNativeMB(UTF8ToWide(utf8)));
649 FilePath FilePath::FromUTF8Unsafe(const std::string& utf8) { argument
650 return FilePath(UTF8ToWide(utf8));
/external/chromium_org/ppapi/tests/
H A Dtest_websocket.cc281 const char* utf8 = var_interface_->VarToUtf8(var, &utf8_length); local
284 if (string.compare(utf8))
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DKURL.cpp678 CString utf8 = UTF8Encoding().normalizeAndEncode(notEncodedString, WTF::URLEncodedEntitiesForUnencodables); local
681 int inputLength = utf8.length();
685 url::EncodeURIComponent(utf8.data(), inputLength, &buffer);
704 printf("%s\n", m_string.utf8().data());
909 StringUTF8Adaptor utf8(m_string);
910 m_isValid = url::ReplaceComponents(utf8.data(), utf8.length(), m_parsed, replacements, 0, &output, &newParsed);
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DWTFString.cpp795 CString String::utf8(UTF8ConversionMode mode) const function in class:WTF::String
940 String utf8 = fromUTF8(string, size);
941 if (!utf8)
943 return utf8;
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dconvtest.cpp1170 source=cc.utf8;
1403 // convert unicode to utf8
1404 char utf8[256]; local
1405 cc.utf8=utf8;
1406 u_strToUTF8(utf8, LENGTHOF(utf8), &cc.utf8Length,
1425 { 0, "bulk", "utf8" }, // must be first for offsets to be checked
1426 { 1, "step=1", "utf8 step=1" },
1427 { 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...]
/external/chromium_org/third_party/icu/source/tools/dumpce/
H A Ddumpce.cpp842 char utf8[64]; local
849 u_strToUTF8(utf8, 64, &length, nfc, length, &error);
851 fprintf(stdout, "Error converting UChar to utf8\n");
855 fprintf(OUTPUT_, "%s<br>", utf8);
/external/chromium_org/third_party/re2/re2/
H A Dre2.h508 // utf8 (true) text and pattern are UTF-8; otherwise Latin-1
572 bool utf8() const { return encoding_ == EncodingUTF8; } function in class:re2::RE2::Options
/external/flac/libFLAC/
H A Dformat.c316 static FLaC__INLINE unsigned utf8len_(const FLAC__byte *utf8) argument
318 FLAC__ASSERT(0 != utf8);
319 if ((utf8[0] & 0x80) == 0) {
322 else if ((utf8[0] & 0xE0) == 0xC0 && (utf8[1] & 0xC0) == 0x80) {
323 if ((utf8[0] & 0xFE) == 0xC0) /* overlong sequence check */
327 else if ((utf8[0] & 0xF0) == 0xE0 && (utf8[1] & 0xC0) == 0x80 && (utf8[2] & 0xC0) == 0x80) {
328 if (utf8[
[all...]

Completed in 355 milliseconds

123456