/external/chromium/net/proxy/ |
proxy_resolver_script_data.h | 30 // Creates a script data given the UTF8 bytes of the content. 32 const std::string& utf8);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
win32.h | 59 inline std::wstring ToUtf16(const char* utf8, size_t len) { 60 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, len, NULL, 0); 62 ::MultiByteToWideChar(CP_UTF8, 0, utf8, len, ws, len16); 87 // Convert a Utf8 path representation to a non-length-limited Unicode pathname. 88 bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename);
|
win32.cc | 96 bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename) { 103 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.length() + 1, 109 if (0 == ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.length() + 1,
|
/external/chromium/webkit/glue/ |
password_form.cc | 18 signon_realm(web_password_form.signonRealm.utf8()),
|
/external/pcre/ |
RunTest | 29 utf8=$? 70 if [ $utf8 -eq 0 ] ; then 119 if [ $utf8 -ne 0 ] ; then do4=yes; fi 120 if [ $utf8 -ne 0 ] ; then do5=yes; fi 121 if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do6=yes; fi 123 if [ $utf8 -ne 0 ] ; then do8=yes; fi 124 if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do9=yes; fi 127 if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do12=yes; fi 215 # Additional tests for UTF8 support
|
pcre_study.c | 65 string of that length that matches. In UTF8 mode, the result is in characters 82 BOOL utf8 = (options & PCRE_UTF8) != 0; local 200 if (utf8 && cc[-1] >= 0xc0) cc += _pcre_utf8_table4[cc[-1] & 0x3f]; 212 need to skip over a multibyte character in UTF8 mode. */ 219 if (utf8 && cc[-1] >= 0xc0) cc += _pcre_utf8_table4[cc[-1] & 0x3f]; 263 if (utf8) return -1; 342 ce = cs = (uschar *)_pcre_find_bracket(startcode, utf8, GET2(cc, 1)); 413 if (utf8 && cc[-1] >= 0xc0) cc += _pcre_utf8_table4[cc[-1] & 0x3f]; 457 utf8 TRUE for UTF-8 mode 464 compile_data *cd, BOOL utf8) [all...] |
/external/webkit/Source/WebCore/bridge/jni/ |
JavaMethodJobject.h | 48 virtual RuntimeType returnTypeClassName() const { return m_returnTypeClassName.utf8(); }
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaFieldJSC.h | 50 virtual RuntimeType typeClassName() const { return m_typeClassName.utf8(); }
|
/external/webkit/Source/WebCore/platform/gtk/ |
SharedBufferGtk.cpp | 40 LOG_ERROR("Failed to fully read contents of file %s - %s", filenameForDisplay(filePath).utf8().data(), error->message);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
PlainTextController.cpp | 71 result->set(text.utf8());
|
NotificationPresenter.cpp | 88 m_replacements.find(replaceId)->second.utf8().data()); 102 notification.title().utf8().data(), 104 notification.body().utf8().data()); 117 printf("DESKTOP NOTIFICATION CLOSED: %s\n", identifier.utf8().data()); 146 origin.toString().utf8().data());
|
/external/chromium/base/ |
sys_string_conversions_win.cc | 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { 20 return SysMultiByteToWide(utf8, CP_UTF8);
|
utf_string_conversions.cc | 66 std::wstring UTF8ToWide(const base::StringPiece& utf8) { 68 UTF8ToWide(utf8.data(), utf8.length(), &ret); 127 // UTF16 <-> UTF8 -------------------------------------------------------------- 136 string16 UTF8ToUTF16(const base::StringPiece& utf8) { 140 UTF8ToUTF16(utf8.data(), utf8.length(), &ret); 164 string16 UTF8ToUTF16(const base::StringPiece& utf8) { 165 return UTF8ToWide(utf8);
|
utf_string_conversions.h | 25 BASE_API std::wstring UTF8ToWide(const base::StringPiece& utf8); 34 BASE_API string16 UTF8ToUTF16(const base::StringPiece& utf8);
|
sys_string_conversions_linux.cc | 19 std::wstring SysUTF8ToWide(const StringPiece& utf8) { 23 UTF8ToWide(utf8.data(), utf8.size(), &out);
|
/external/chromium/chrome/browser/ |
browsing_data_indexed_db_helper.cc | 123 web_security_origin.protocol().utf8(), 124 web_security_origin.host().utf8(), 126 web_security_origin.databaseIdentifier().utf8(), 127 web_security_origin.toString().utf8(), 261 std::string security_origin(web_security_origin.toString().utf8()); 276 web_security_origin.protocol().utf8(), 277 web_security_origin.host().utf8(), 279 web_security_origin.databaseIdentifier().utf8(),
|
browsing_data_local_storage_helper.cc | 111 web_security_origin.protocol().utf8(), 112 web_security_origin.host().utf8(), 114 web_security_origin.databaseIdentifier().utf8(), 115 web_security_origin.toString().utf8(), 207 std::string security_origin(web_security_origin.toString().utf8()); 222 web_security_origin.protocol().utf8(), 223 web_security_origin.host().utf8(), 225 web_security_origin.databaseIdentifier().utf8(),
|
/external/chromium/googleurl/src/ |
url_canon_host.cc | 266 StackBuffer utf8; local 268 utf8.push_back(utf8_source[i]); 270 AppendInvalidNarrowString(utf8.data(), 0, utf8.length(), output); 294 StackBuffer utf8; local 295 if (!ConvertUTF16ToUTF8(host, host_len, &utf8)) { 302 return DoComplexHost(utf8.data(), utf8.length(), has_non_ascii,
|
/external/icu4c/test/perf/utrie2perf/ |
utrie2perf.sh | 5 # export LD_LIBRARY_PATH=/home/mscherer/svn.icu/utf8-dev/lib:/home/mscherer/svn.icu/utf8-dev/tools/ctestfw 10 PERF=~/svn.icu/utf8-dev/test/perf/utrie2perf/utrie2perf
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11events.c | 62 Uint32 Utf8ToUcs4(const Uint8 *utf8) 68 unsigned char firstOctet = utf8[0]; 158 /* Now, start filling c.ucs4 with the bits from the continuing octets from utf8. */ 161 if ((utf8[i] & 0xC0) /* get the most 2 significant bits by AND'ing with 11000000 */ 171 Take only the least 6 significance bits of the current octet (utf8[i]) and fill the created room 173 This done by AND'ing utf8[i] with 00111111 and the OR'ing the result with c.ucs4. 175 c |= utf8[i] & 0x3F; 180 /* Given a UTF-8 encoded string pointed to by utf8 of length length in 228 static int Utf8ToUtf16(const Uint8 *utf8, const int utf8_length, Uint16 *utf16, const int utf16_max_length) { 235 Uint8 const *const end_of_input = utf8 + utf8_length - 1 [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebRequestContext.cpp | 92 m_userAgent = string.utf8().data(); 114 acceptLanguageStdString = string.utf8().data();
|
/external/webkit/Source/WebKit/wx/bindings/python/ |
webview.i | 135 %typemap(out) WebDOMString { $result = PyUnicode_DecodeUTF8($1.utf8().data(), $1.utf8().length(), NULL); } 136 %typemap(out) WebDOMString& { $result = PyUnicode_DecodeUTF8($1.utf8().data(), $1.utf8().length(), NULL); }
|
/external/icu4c/test/perf/unisetperf/ |
unisetperf.cpp | 50 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) { 66 // Preflight the UTF-8 length and allocate utf8. 69 utf8=(char *)malloc(utf8Length); 70 if(utf8!=NULL) { 72 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); 121 char *utf8; member in class:UnicodeSetPerformanceTest 316 char utf8[4]; local 325 U8_APPEND_UNSAFE(utf8, length, c); 326 if(testcase.set.spanUTF8(utf8, length, USET_SPAN_CONTAINED)>0) { 340 const char *s=testcase.utf8; 362 char utf8[4]; local [all...] |
/external/webkit/Source/WebKit/gtk/webkit/ |
webkitwebplugin.cpp | 153 priv->name = priv->corePlugin->name().utf8(); 173 priv->description = priv->corePlugin->description().utf8(); 197 priv->path = g_filename_from_utf8(priv->corePlugin->path().utf8().data(), -1, 0, 0, &error); 207 g_warning("Failed to convert '%s' to system filename encoding: %s", priv->corePlugin->path().utf8().data(), error->message); 240 mimeType->name = g_strdup(it->first.utf8().data()); 241 mimeType->description = g_strdup(it->second.utf8().data()); 246 mimeType->extensions[i] = g_strdup(extensions[i].utf8().data());
|
/external/qemu/telephony/ |
sms.c | 45 sms_utf8_from_message_str( const char* str, int strlen, unsigned char* utf8, int utf8len ) 111 utf8[count] = (byte_t) c; 116 utf8[count] = (byte_t)(0xc0 | ((c >> 6) & 0x1f)); 118 utf8[count+1] = (byte_t)(0x80 | (c & 0x3f)); 123 utf8[count] = (byte_t)(0xc0 | ((c >> 12) & 0xf)); 125 utf8[count+1] = (byte_t)(0x80 | ((c >> 6) & 0x3f)); 127 utf8[count+2] = (byte_t)(0x80 | (c & 0x3f)); 140 int sms_utf8_to_message_str( const unsigned char* utf8, int utf8len, char* str, int strlen ) 142 cbytes_t p = utf8; 903 /* get the message embedded in a SMS PDU as a utf8 byte array, returns the length of the message in bytes * 1616 bytes_t utf8; local [all...] |