Searched defs:utf8 (Results 51 - 75 of 137) sorted by relevance

123456

/external/chromium_org/chrome/tools/convert_dict/
H A Daff_reader.cc146 std::string* utf8) const {
151 *utf8 = base::WideToUTF8(wide_word);
286 Panic("Cannot encode affix rule part '%s' to utf8.", part.c_str());
306 Panic("Cannot encode replacement rule '%s' to utf8.", rule->c_str());
330 std::string utf8; local
331 if (!EncodingToUTF8(line, &utf8))
332 Panic("Cannot encode command '%s' to utf8.", line.c_str());
333 other_commands_.push_back(utf8);
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DAtomicString.h154 CString utf8(UTF8ConversionMode mode = LenientUTF8Conversion) const { return m_string.utf8(mode); } function in class:WTF::AtomicString
/external/chromium_org/third_party/icu/source/common/
H A Ducnvlat1.c21 #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
[all...]
H A Ducnv_u8.c27 #include "unicode/utf8.h"
764 UConverter *utf8; local
776 utf8=pToUArgs->converter;
783 c=(UChar32)utf8->toUnicodeStatus;
785 toULength=oldToULength=utf8->toULength;
786 toULimit=(int8_t)utf8->mode;
843 utf8->toUnicodeStatus=0;
844 utf8->toULength=0;
916 utf8->toUBytes[oldToULength++]=*source++;
918 utf8
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcstrcase.c972 char utf8BeforeTitle[64], utf8TitleSentNoLower[64], utf8[64]; local
979 length=ucasemap_utf8ToTitle(csm, utf8, (int32_t)sizeof(utf8), utf8BeforeTitle, utf8BeforeTitleLength, &errorCode);
982 0!=uprv_memcmp(utf8, utf8TitleSentNoLower, length) ||
983 utf8[length]!=0
/external/chromium_org/third_party/icu/source/test/perf/unisetperf/
H A Dunisetperf.cpp50 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/chromium_org/third_party/icu/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp27 // Left over from when icu/branches/markus/utf8 could use both old UTrie
49 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
60 // Preflight the UTF-8 length and allocate utf8.
63 utf8=(char *)malloc(utf8Length);
64 if(utf8!=NULL) {
66 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
87 char *utf8; member in class:UTrie2PerfTest
164 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/external/chromium_org/third_party/libxml/src/include/libxml/
H A Dencoding.h149 UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */ member in struct:_uconv_t
/external/harfbuzz_ng/test/api/
H A Dtest-buffer.c32 static const char utf8[10] = "ab\360\240\200\200defg"; variable
51 "utf8"
86 hb_buffer_add_utf8 (b, utf8, G_N_ELEMENTS (utf8), 1, G_N_ELEMENTS (utf8) - 2);
357 const char utf8[8]; member in struct:__anon21685
384 escaped = g_strescape (test->utf8, NULL);
388 bytes = strlen (test->utf8);
393 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2);
406 /* Following test table is adapted from glib/glib/tests/utf8
410 const char *utf8; member in struct:__anon21686
[all...]
/external/icu/icu4c/source/common/
H A Ducnvlat1.c21 #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
[all...]
H A Ducnv_u8.c27 #include "unicode/utf8.h"
755 UConverter *utf8; local
767 utf8=pToUArgs->converter;
774 c=(UChar32)utf8->toUnicodeStatus;
776 toULength=oldToULength=utf8->toULength;
777 toULimit=(int8_t)utf8->mode;
834 utf8->toUnicodeStatus=0;
835 utf8->toULength=0;
907 utf8->toUBytes[oldToULength++]=*source++;
909 utf8
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcstrcase.c972 char utf8BeforeTitle[64], utf8TitleSentNoLower[64], utf8[64]; local
979 length=ucasemap_utf8ToTitle(csm, utf8, (int32_t)sizeof(utf8), utf8BeforeTitle, utf8BeforeTitleLength, &errorCode);
982 0!=uprv_memcmp(utf8, utf8TitleSentNoLower, length) ||
983 utf8[length]!=0
/external/icu/icu4c/source/test/perf/unisetperf/
H A Dunisetperf.cpp50 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/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp27 // Left over from when icu/branches/markus/utf8 could use both old UTrie
49 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
60 // Preflight the UTF-8 length and allocate utf8.
63 utf8=(char *)malloc(utf8Length);
64 if(utf8!=NULL) {
66 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
87 char *utf8; member in class:UTrie2PerfTest
164 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/external/libxml2/include/libxml/
H A Dencoding.h134 UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */ member in struct:_uconv_t
/external/pcre/dist/
H A Dpcrecpp.h166 // --enable-utf8 flag.
434 bool utf8() const { function in class:pcrecpp::RE_Options
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_events.c588 char utf8[MB_CUR_MAX]; local
604 utf8len = PhKeyToMb(utf8, key);
607 utf8len = mbtowc(&unicode, utf8, utf8len);
/external/svox/pico/lib/
H A Dpicobase.c932 * @param utf8str: utf8 string
933 * @param pos: position from where the utf8 character is copied
934 * (also output set as position of the next utf8 character in the utf8 string)
935 * @param utf8char: zero terminated utf8 character containing 1 to 4 bytes (output)
937 static void picobase_get_utf8char (picoos_uint8 utf8[], picoos_int32 * pos, picobase_utf8char utf8char) argument
944 l = picobase_det_utf8_length(utf8[*pos]);
946 while ((((i < l) && (i < PICOBASE_UTF8_MAXLEN)) && (utf8[*pos] != 0))) {
947 utf8char[i] = utf8[*pos];
1068 * Converts utf8 inpu
1073 picobase_utf8_to_utf32(picoos_uint8 utf8[], picoos_uint8 * done) argument
1092 picobase_utf32_to_utf8(picobase_utf32 utf32, picobase_utf8 utf8[], picoos_int32 utf8MaxLen, picoos_uint8 * done) argument
[all...]
/external/chromium_org/third_party/icu/source/test/letest/
H A Dgendata.cpp282 char *utf8 = NULL; local
287 utf8 = getUTF8String(&text);
288 fprintf(outputFile, " <test-text>%s</test-text>\n\n", utf8);
290 freeCString(utf8);
/external/chromium_org/third_party/icu/source/test/perf/utfperf/
H A Dutfperf.cpp33 static char utf8[INPUT_CAPACITY]; variable
89 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status);
268 input8(utf8), input8Length(utf8Length) {
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
H A Dunicodetext.cc45 static int CodepointCount(const char* utf8, int len) { argument
46 return CodepointDistance(utf8, utf8 + len);
311 UnicodeText& UnicodeText::UnsafeAppendUTF8(const char* utf8, int len) { argument
312 repr_.append(utf8, len);
/external/chromium_org/third_party/webrtc/base/
H A Dwin32.cc369 bool Utf8ToWindowsFilename(const std::string& utf8, std::wstring* filename) { argument
376 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(),
377 static_cast<int>(utf8.length() + 1), NULL,
383 if (0 == ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(),
384 static_cast<int>(utf8.length() + 1),
/external/icu/icu4c/source/test/letest/
H A Dgendata.cpp282 char *utf8 = NULL; local
287 utf8 = getUTF8String(&text);
288 fprintf(outputFile, " <test-text>%s</test-text>\n\n", utf8);
290 freeCString(utf8);
/external/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp33 static char utf8[INPUT_CAPACITY]; variable
89 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status);
268 input8(utf8), input8Length(utf8Length) {
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DDOMWebSocket.cpp282 WTF_LOG(Network, "WebSocket %p connect() url='%s'", this, url.utf8().data());
378 WTF_LOG(Network, "WebSocket %p send() Sending String '%s'", this, message.utf8().data());
385 updateBufferedAmountAfterClose(message.utf8().length());
390 m_bufferedAmount += message.utf8().length();
433 WTF_LOG(Network, "WebSocket %p send() Sending Blob '%s'", this, binaryData->uuid().utf8().data());
469 WTF_LOG(Network, "WebSocket %p close() code=%d reason='%s'", this, code, reason.utf8().data());
474 CString utf8 = reason.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD); local
475 if (utf8.length() > maxReasonSizeInBytes) {
603 WTF_LOG(Network, "WebSocket %p didReceiveMessage() Text message '%s'", this, msg.utf8()
[all...]

Completed in 891 milliseconds

123456