/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AbstractAppleMetaDataBox.java | 5 import com.coremedia.iso.Utf8; 101 appleDataBox.setData(Utf8.convert(value)); 136 return Utf8.convert(appleDataBox.getData());
|
/external/skia/samplecode/ |
SampleRectanizer.cpp | 61 char utf8[kMaxBytesInUTF8Sequence]; variable 62 size_t size = SkUTF8_FromUnichar(uni, utf8); 65 switch (utf8[0]) {
|
SampleUnpremul.cpp | 61 char utf8[kMaxBytesInUTF8Sequence]; variable 62 size_t size = SkUTF8_FromUnichar(uni, utf8); 65 switch (utf8[0]) {
|
/external/smack/src/org/apache/qpid/management/common/sasl/ |
PlainSaslClient.java | 69 authorizationID == null ? null : authorizationID.getBytes("UTF8"); 70 byte authnid[] = authenticationID.getBytes("UTF8"); 192 pwbytes = (new String(pwchars)).getBytes("UTF8");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetEncoder2Test.java | 158 Charset utf8 = Charset.forName("utf-8"); local 159 CharsetEncoder encoder = utf8.newEncoder(); 187 CharBuffer chars = utf8.newDecoder().decode(bytes);
|
/external/lldb/source/DataFormatters/ |
CXXFormatterFunctions.cpp | 178 UTF8**, 179 UTF8*, 216 UTF8* utf8_data_ptr = nullptr; 217 UTF8* utf8_data_end_ptr = nullptr; 222 utf8_data_ptr = (UTF8*)utf8_data_buffer_sp->GetBytes(); 225 utf8_data_ptr = (UTF8*)utf8_data_buffer_sp->GetBytes(); // needed because the ConvertFunction will change the value of the data_ptr 230 // but this should only happen if we are reading UTF8 data 231 utf8_data_ptr = (UTF8*)data_ptr; 232 utf8_data_end_ptr = (UTF8*)data_end_ptr; 256 UTF8**, [all...] |
/external/llvm/lib/Support/Windows/ |
Path.inc | 873 std::error_code UTF8ToUTF16(llvm::StringRef utf8, 875 if (!utf8.empty()) { 876 int len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(), 877 utf8.size(), utf16.begin(), 0); 885 len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(), 886 utf8.size(), utf16.begin(), utf16.size()); 900 llvm::SmallVectorImpl<char> &utf8) { 903 int len = ::WideCharToMultiByte(CP_UTF8, 0, utf16, utf16_len, utf8.begin(), 909 utf8.reserve(len); 910 utf8.set_size(len) [all...] |
/external/chromium_org/third_party/cld/encodings/ |
lang_enc.h | 38 // Note: The output encoding array does not include ASCII_7BIT, UTF8 40 // it is better to include ASCII_7BIT, UTF8 and UNICODE or leave them 68 // Note: For ASCII_7BIT, UNICODE and UTF8, only ENGLISH and 107 // (return true will do us no good since we cannot convert to UTF8 anyway) 108 // If enc is unicode or utf8, return true.
|
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 437 l->utf8 = g_strndup (text, text_len); 447 (l->utf8_len && !l->utf8) || 475 const char *start = l->utf8, *end; 491 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; 506 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
|
/external/mksh/src/ |
lksh.1 | 38 . if \*[.T]utf8 .tr \-\N'45' 45 . if \*[.T]utf8 .ds sL ` 47 . if \*[.T]utf8 .ds sR ' 80 . if \*[.T]utf8 .tr \[la]\*(Lt 81 . if \*[.T]utf8 .tr \[ra]\*(Gt
|
/external/valgrind/main/none/tests/s390x/ |
cu41.c | 108 printf("UTF8: "); 152 run_test(buff, sizeof buff, pattern1, 4); /* 1 utf32 -> 1 1-byte utf8 */ 153 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 2-byte utf8 */ 154 run_test(buff, sizeof buff, pattern3, 5); /* 1 utf32 -> 1 3-byte utf8 */ 155 run_test(buff, sizeof buff, pattern4, 21); /* 5 utf32 -> 5 4-byte utf8 */
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
MainThreadWebSocketChannel.cpp | 129 WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending String '%s'", this, message.utf8().data()); 130 CString utf8 = message.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD); local 131 enqueueTextFrame(utf8); 149 WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending Blob '%s'", this, binaryData->uuid().utf8().data()); 165 WTF_LOG(Network, "MainThreadWebSocketChannel %p close() code=%d reason='%s'", this, code, reason.utf8().data()); 199 WTF_LOG(Network, "MainThreadWebSocketChannel %p fail() reason='%s'", this, reason.utf8().data()); 374 WTF_LOG(Network, "Error Message: '%s', FailURL: '%s'", message.utf8().data(), failingURL.utf8().data()); 523 buf.append(reason.utf8().data(), reason.utf8().length()) [all...] |
NewWebSocketChannelImpl.cpp | 174 WTF_LOG(Network, "NewWebSocketChannelImpl %p sendText(%s)", this, message.utf8().data()); 178 CString data = message.utf8(); 188 WTF_LOG(Network, "NewWebSocketChannelImpl %p sendBlob(%s, %s, %llu)", this, blobDataHandle->uuid().utf8().data(), blobDataHandle->type().utf8().data(), blobDataHandle->size()); 233 WTF_LOG(Network, "NewWebSocketChannelImpl %p close(%d, %s)", this, code, reason.utf8().data()); 241 WTF_LOG(Network, "NewWebSocketChannelImpl %p fail(%s)", this, reason.utf8().data()); 284 , text(text.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD)) { } 395 WTF_LOG(Network, "NewWebSocketChannelImpl %p didConnect(%p, %d, %s, %s)", this, handle, fail, selectedProtocol.utf8().data(), extensions.utf8().data()); 432 WTF_LOG(Network, "NewWebSocketChannelImpl %p didFail(%p, %s)", this, handle, message.utf8().data()) [all...] |
WebSocket.cpp | 284 WTF_LOG(Network, "WebSocket %p connect() url='%s'", this, url.utf8().data()); 396 WTF_LOG(Network, "WebSocket %p send() Sending String '%s'", this, message.utf8().data()); 403 updateBufferedAmountAfterClose(message.utf8().length()); 407 m_bufferedAmount += message.utf8().length(); 448 WTF_LOG(Network, "WebSocket %p send() Sending Blob '%s'", this, binaryData->uuid().utf8().data()); 483 WTF_LOG(Network, "WebSocket %p close() code=%d reason='%s'", this, code, reason.utf8().data()); 488 CString utf8 = reason.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD); local 489 if (utf8.length() > maxReasonSizeInBytes) { 617 WTF_LOG(Network, "WebSocket %p didReceiveMessage() Text message '%s'", this, msg.utf8().data()) [all...] |
/external/chromium_org/third_party/libxml/patches/ |
icu | 46 + conv->utf8 = ucnv_open("UTF-8", &status); 62 + ucnv_close(conv->utf8); 70 * Conversions To/From UTF8 encoding * 160 + * -2 if the transcoding fails (for *in is not valid utf8 string or 189 + ucnv_convertEx(cd->utf8, cd->uconv, &ucv_out, ucv_out + *outlen, 194 + ucnv_convertEx(cd->uconv, cd->utf8, &ucv_out, ucv_out + *outlen, 387 + UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */
|
/packages/apps/OMA-DM/engine/jni/ |
DMServiceMain.cc | 84 uint8_t utf8 = *(bytes++); local 86 switch (utf8 >> 4) { 110 utf8 = *(bytes++); 111 if ((utf8 & 0xc0) != 0x80) { 118 utf8 = *(bytes++); 119 if ((utf8 & 0xc0) != 0x80) { 182 LOGE("Invalid Server ID, not legal UTF8");
|
/external/chromium_org/content/renderer/ |
dom_serializer_browsertest.cc | 112 std::string content = meta.getAttribute("content").utf8(); 348 WebPageSerializer::generateMarkOfTheWebDeclaration(file_url).utf8(); 404 std::string(web_frame->document().encoding().utf8())); 460 std::string(web_frame->document().encoding().utf8())); 493 ASSERT_TRUE(std::string(text_node.createMarkup().utf8()) == 506 WebPageSerializer::generateMarkOfTheWebDeclaration(file_url).utf8(); 520 WebPageSerializer::generateMetaCharsetDeclaration(encoding).utf8(); 547 ASSERT_TRUE(std::string(value.utf8()) == "&<>\"\'"); 557 WebPageSerializer::generateMarkOfTheWebDeclaration(file_url).utf8(); 567 WebPageSerializer::generateMetaCharsetDeclaration(encoding).utf8(); [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
web_test_proxy.cc | 66 std::string name8 = frame->uniqueName().utf8(); 215 result.append(frame->uniqueName().utf8().data()); 224 result.append(frame->contentAsMarkup().utf8()); 242 return document_element.innerText().utf8(); 266 frame->renderTreeAsText(blink::WebFrame::RenderAsTextPrinting).utf8()); 284 std::string("frame '") + frame->uniqueName().utf8().data() + "' "; 378 std::string(message.utf8()) + " sub-message=" + 379 std::string(sub_message.utf8()) + "\n"); 414 data_utf8 = frame->renderTreeAsText(render_text_behavior).utf8(); 682 message += element.getAttribute("id").utf8().data() [all...] |
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
context.h | 20 CONTEXT_UTF8: second-order context model tuned for UTF8-encoded text, 23 The context id for the UTF8 context model is calculated as follows. If p1 59 If the last byte is ASCII, and the second last byte is not (in a valid UTF8 63 If the last byte is a UTF8 lead byte (value >= 192), then the next byte will 67 If the last byte is a UTF8 continuation byte, the second last byte can be: 69 4-byte UTF8 characters are rare) and the context id is 0 or 1. 131 /* UTF8 continuation byte range. */ 136 /* UTF8 lead byte range. */ 151 /* UTF8 continuation byte range. */ 157 /* UTF8 lead byte range. * [all...] |
/external/icu/icu4c/source/common/ |
ucnvlat1.c | 21 #include "unicode/utf8.h" 323 UConverter *utf8; local 332 utf8=pToUArgs->converter; 339 c=(UChar32)utf8->toUnicodeStatus; 349 utf8->toUnicodeStatus=0; 350 utf8->toULength=0; 407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; 408 utf8->toULength=1; 409 utf8->mode=U8_COUNT_TRAIL_BYTES(b)+1 [all...] |
/cts/tests/tests/mediastress/jni/ |
native-media-jni.cpp | 320 const char *utf8 = env->GetStringUTFChars(fileUri, NULL); local 321 RETURN_ON_ASSERTION_FAILURE((NULL != utf8), env, clazz); 323 RETURN_ON_ASSERTION_FAILURE(strstr(utf8, "file:///") == utf8, env, clazz); 325 file = fopen(utf8 + 7, "rb"); 366 env->ReleaseStringUTFChars(fileUri, utf8);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
PopupMenuTest.cpp | 420 EXPECT_STREQ("upclick", element.innerText().utf8().data()); 432 EXPECT_STREQ("upclick", element.innerText().utf8().data()); 441 EXPECT_STREQ("upclickchangeupclick", element.innerText().utf8().data()); 461 EXPECT_STREQ("change", element.innerText().utf8().data()); 482 EXPECT_STREQ("change", element.innerText().utf8().data()); 503 EXPECT_STREQ("click", element.innerText().utf8().data());
|
/external/chromium_org/third_party/sqlite/src/test/ |
enc2.test | 46 proc utf8 {str} { 122 utf8 [sqlite3_column_text16 $STMT 0] 153 db eval {PRAGMA encoding=UTF8} 480 proc utf16 {utf8} { 481 set utf16 [encoding convertto unicode $utf8] 545 PRAGMA encoding=UTF8;
|
/external/proguard/src/proguard/classfile/editor/ |
ClassReferenceFixer.java | 205 // Refer to a new Utf8 entry. 224 // Refer to a new Utf8 entry. 332 // Refer to a new Utf8 entry. 365 // Refer to a new Utf8 entry. 391 // Refer to a new Utf8 entry. 407 // Refer to a new Utf8 entry.
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
Makefile.tests | 53 utf8-1 utf8-2 utf8-3 utf8-4:: 65 *UTF-8 | *UTF8 | *utf8 | *utf-8) \
|