HomeSort by relevance Sort by last modified time
    Searched refs:utf16 (Results 1 - 25 of 31) sorted by null

1 2

  /external/icu4c/samples/ucnv/
Makefile 20 CLEANFILES += *.out data40.utf16 data41.utf16
  /external/bluetooth/glib/tests/
convert-test.c 294 const gunichar2 *utf16,
335 g_assert (result[i] == utf16[i]);
355 g_assert (result[i] == utf16[i]);
360 g_assert (result3[i] == utf16[i]);
368 check_utf16_to_utf8 (const gunichar2 *utf16,
380 result = g_utf16_to_utf8 (utf16, utf16_len, &items_read, &items_written, &error);
381 if (utf16[utf16_len] == 0)
385 result2 = g_utf16_to_utf8 (utf16, -1, &items_read2, &items_written2, &error2);
400 result3 = g_utf16_to_utf8 (utf16, utf16_len, NULL, NULL, &error3);
442 const gunichar2 *utf16,
588 gunichar2 utf16[100]; local
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
FontCacheAndroid.cpp 61 static char* AtomicStringToUTF8String(const AtomicString& utf16)
63 SkASSERT(sizeof(uint16_t) == sizeof(utf16.characters()[0]));
64 const uint16_t* uni = (uint16_t*)utf16.characters();
66 size_t bytes = SkUTF16_ToUTF8(uni, utf16.length(), NULL);
69 (void)SkUTF16_ToUTF8(uni, utf16.length(), utf8);
  /external/skia/include/core/
SkUtils.h 90 int SkUTF16_CountUnichars(const uint16_t utf16[]);
91 int SkUTF16_CountUnichars(const uint16_t utf16[],
97 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL);
99 size_t SkUTF16_ToUTF8(const uint16_t utf16[], int numberOf16BitValues,
  /external/webkit/WebCore/platform/graphics/wx/
GlyphMapWx.cpp 33 #include <unicode/utf16.h>
  /external/icu4c/test/perf/unisetperf/
unisetperf.cpp 210 UChar utf16[2]; local
214 utf16[0]=(UChar)c;
215 if(testcase.set.span(utf16, 1, USET_SPAN_CONTAINED)>0) {
220 utf16[0]=(UChar)c;
222 utf16[1]=(UChar)c2;
223 if(testcase.set.span(utf16, 2, USET_SPAN_CONTAINED)>0) {
261 UChar utf16[2]; local
265 utf16[0]=(UChar)c;
266 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) {
271 utf16[0]=(UChar)c
    [all...]
  /external/skia/src/core/
SkUtils.cpp 421 size_t SkUTF16_ToUTF8(const uint16_t utf16[], int numberOf16BitValues, char utf8[])
427 SkASSERT(utf16 != NULL);
429 const uint16_t* stop = utf16 + numberOf16BitValues;
434 while (utf16 < stop)
435 size += SkUTF8_FromUnichar(SkUTF16_NextUnichar(&utf16), NULL);
440 while (utf16 < stop)
441 utf8 += SkUTF8_FromUnichar(SkUTF16_NextUnichar(&utf16), utf8);
  /external/webkit/WebKit/chromium/public/
WebCString.h 81 WEBKIT_API WebString utf16() const;
  /dalvik/vm/
Native.c 638 u2* utf16 = NULL; local
647 utf16 = (u2*) malloc(sizeof(u2) * charLen);
648 if (utf16 == NULL)
651 dvmConvertUtf8ToUtf16(utf16, str);
659 u2 ch = utf16[i];
684 u2 ch = utf16[i];
716 free(utf16);
AllocTracker.c 469 u2 utf16 = dexGetUtf16FromUtf8(&utf8Str); /* advances utf8Str */ local
470 set2BE(utf16Str, utf16);
  /external/icu4c/test/cintltst/
ucnvseltst.c 443 static UChar utf16[10000]; local
468 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status);
478 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt);
479 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb);
481 verifyResult(ucnvsel_selectForString(sel_rt, utf16, -1, &status), manual_rt);
482 verifyResult(ucnvsel_selectForString(sel_fb, utf16, -1, &status), manual_fb);
  /external/webkit/WebCore/platform/android/
KeyEventAndroid.cpp 206 UChar utf16[2] = {lead, trail}; local
207 return String(utf16, 2);
  /external/webkit/WebKit/chromium/src/
WebCString.cpp 81 WebString WebCString::utf16() const function in class:WebKit::WebCString
  /external/webkit/WebKit/chromium/src/gtk/
WebFontInfo.cpp 36 #include <unicode/utf16.h>
  /external/webkit/WebCore/platform/graphics/chromium/
FontCacheLinux.cpp 48 #include <unicode/utf16.h>
  /dalvik/libdex/
DexFile.c 94 u2 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); local
97 switch (utf16 >> 8) {
100 return (utf16 > 0x00a0);
110 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr);
111 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff);
123 switch (utf16 & 0xfff8) {
    [all...]
  /external/webkit/WebCore/platform/
KURLGoogle.cpp 930 url_canon::RawCanonOutputT<url_parse::UTF16Char> utf16; local
935 utf16.push_back(uch);
944 url_canon::AppendUTF16Value(codePoint, &utf16);
952 utf16.push_back(static_cast<unsigned char>(unescaped.at(i)));
955 utf16.push_back(static_cast<unsigned char>(unescaped.at(i)));
960 return String(reinterpret_cast<UChar*>(utf16.data()), utf16.length());
    [all...]
  /frameworks/base/core/jni/
android_database_CursorWindow.cpp 310 // Pass size - 1 since the UTF8 is null terminated and we don't want a null terminator on the UTF16 string
311 String16 utf16((char const *)window->offsetToPtr(field.data.buffer.offset), size - 1);
312 return env->NewString((jchar const *)utf16.string(), utf16.size());
391 // Pass size - 1 since the UTF8 is null terminated and we don't want a null terminator on the UTF16 string
392 String16 utf16((char const *)window->offsetToPtr(field.data.buffer.offset), size - 1);
393 int32_t strSize = utf16.size();
396 env->SetCharArrayRegion(newArray, 0, strSize, (jchar const *)utf16.string());
398 memcpy(dst, (jchar const *)utf16.string(), strSize * 2);
  /external/expat/lib/
xmltok.c 1251 unsigned short utf16[256]; member in struct:unknown_encoding
1332 unsigned short c = uenc->utf16[(unsigned char)**fromP];
    [all...]
  /external/icu4c/test/intltest/
ustrtest.cpp 241 static const UChar utf16[]={ 0x61, 0xE4, 0xDF, 0x4E00 }; local
244 UnicodeString from16(FALSE, utf16, LENGTHOF(utf16));
1798 static const UChar utf16[] = { local
1856 static const UChar utf16[] = { local
    [all...]
  /external/webkit/WebCore/bridge/qt/
qt_pixmapruntime.cpp 131 const UString ustring((UChar*)b64.utf16(), b64.length());
247 UString ustring((UChar*)toStr.utf16(), toStr.length());
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11events.c 182 buffer pointed to by utf16. The maximum number of UTF-16 encoding
185 encoding units placed in the output buffer pointed to by utf16.
190 The caller must estimate the size of utf16 buffer by itself before
205 - The output buffer has no enough space to hold entire utf16 data.
228 static int Utf8ToUtf16(const Uint8 *utf8, const int utf8_length, Uint16 *utf16, const int utf16_max_length) {
231 Uint16 *p = utf16;
232 Uint16 const *const max_ptr = utf16 + utf16_max_length;
294 return p - utf16;
    [all...]
  /external/webkit/JavaScriptCore/wtf/unicode/icu/
UnicodeIcu.h 29 #include <unicode/utf16.h>
  /external/webkit/WebCore/platform/text/
TextEncoding.cpp 119 return newTextCodec(*this)->encode(reinterpret_cast<const UChar *>(str.utf16()), str.length(), handling);
  /external/webkit/WebKit/chromium/tests/
KURLTest.cpp 98 WebCore::String utf16(cases[i].url);
99 kurl = WebCore::KURL(WebCore::ParsedURLString, utf16);

Completed in 785 milliseconds

1 2