Searched refs:utf8 (Results 26 - 50 of 145) sorted by relevance

123456

/external/llvm/lib/Support/Windows/
H A DPath.inc835 std::error_code UTF8ToUTF16(llvm::StringRef utf8,
837 if (!utf8.empty()) {
838 int len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(),
839 utf8.size(), utf16.begin(), 0);
847 len = ::MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, utf8.begin(),
848 utf8.size(), utf16.begin(), utf16.size());
864 llvm::SmallVectorImpl<char> &utf8) {
867 int len = ::WideCharToMultiByte(codepage, 0, utf16, utf16_len, utf8.begin(),
873 utf8.reserve(len);
874 utf8
[all...]
H A DWindowsSupport.h179 std::error_code UTF8ToUTF16(StringRef utf8, SmallVectorImpl<wchar_t> &utf16);
181 SmallVectorImpl<char> &utf8);
184 SmallVectorImpl<char> &utf8);
/external/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.bat4 set PERF=c:\svn\icuproj\icu\utf8\source\test\perf\utrie2perf\x86\Release\utrie2perf
H A Dutrie2perf.cpp25 // Left over from when icu/branches/markus/utf8 could use both old UTrie
47 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
58 // Preflight the UTF-8 length and allocate utf8.
61 utf8=(char *)malloc(utf8Length);
62 if(utf8!=NULL) {
64 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
85 char *utf8; member in class:UTrie2PerfTest
162 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/external/icu/icu4c/source/common/
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...]
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...]
/external/pcre/dist/
H A Dpcredemo.c62 int utf8; local
267 utf8 = option_bits & PCRE_UTF8;
345 else if (utf8) /* Otherwise, ensure we */
/external/skia/samplecode/
H A DSampleRectanizer.cpp61 char utf8[kMaxBytesInUTF8Sequence]; variable
62 size_t size = SkUTF8_FromUnichar(uni, utf8);
65 switch (utf8[0]) {
H A DSampleUnpremul.cpp59 char utf8[kMaxBytesInUTF8Sequence]; variable
60 size_t size = SkUTF8_FromUnichar(uni, utf8);
63 switch (utf8[0]) {
/external/avahi/avahi-common/
H A DAndroid.mk17 utf8.c \
/external/vulkan-validation-layers/layers/
H A Dvk_layer_utils.cpp580 VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) { argument
586 if (utf8[i] == 0) {
588 } else if ((utf8[i] >= 0x20) && (utf8[i] < 0x7f)) {
590 } else if ((utf8[i] & UTF8_ONE_BYTE_MASK) == UTF8_ONE_BYTE_CODE) {
592 } else if ((utf8[i] & UTF8_TWO_BYTE_MASK) == UTF8_TWO_BYTE_CODE) {
594 } else if ((utf8[i] & UTF8_THREE_BYTE_MASK) == UTF8_THREE_BYTE_CODE) {
606 if ((utf8[i] & UTF8_DATA_BYTE_MASK) != UTF8_DATA_BYTE_CODE) {
/external/vboot_reference/cgpt/
H A Dcgpt_common.c440 uint8_t *utf8, unsigned int maxoutput)
447 if (!utf16 || !maxinput || !utf8 || !maxoutput)
484 utf8[s8idx++] = code_point & 0x7F;
487 utf8[s8idx++] = 0xC0 | (code_point >> 6);
488 utf8[s8idx++] = 0x80 | (code_point & 0x3F);
491 utf8[s8idx++] = 0xE0 | (code_point >> 12);
492 utf8[s8idx++] = 0x80 | ((code_point >> 6) & 0x3F);
493 utf8[s8idx++] = 0x80 | (code_point & 0x3F);
496 utf8[s8idx++] = 0xF0 | (code_point >> 18);
497 utf8[s8id
439 UTF16ToUTF8(const uint16_t *utf16, unsigned int maxinput, uint8_t *utf8, unsigned int maxoutput) argument
528 UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput) argument
[all...]
H A Dcgpt.h132 uint8_t *utf8, unsigned int maxoutput);
141 int UTF8ToUTF16(const uint8_t *utf8, uint16_t *utf16, unsigned int maxoutput);
/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/google-breakpad/src/common/windows/
H A Dhttp_upload.h104 static wstring UTF8ToWide(const string &utf8);
H A Dhttp_upload.cc359 wstring HTTPUpload::UTF8ToWide(const string &utf8) { argument
360 if (utf8.length() == 0) {
365 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0);
373 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount);
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.h45 const char *utf8; member in struct:ConversionCase
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
H A Dtest_soup.py64 utf8 = b"\xc3\xa9"
65 soup = self.soup(utf8, fromEncoding="utf8")
69 self.assertEqual("utf8", soup.original_encoding)
239 self.assertEqual(self.soup(markup).div.encode("utf8"), markup.encode("utf8"))
274 utf8 = b"\xc3\xa9"
275 dammit = UnicodeDammit(utf8)
298 for bad_encoding in ['.utf8', '...', 'utF---16.!']:
357 utf8
[all...]
/external/okhttp/okio/okio/src/main/java/okio/
H A DByteString.java56 transient String utf8; // Lazily computed. field in class:ByteString
87 byteString.utf8 = s;
92 public String utf8() { method in class:ByteString
93 String result = utf8;
95 return result != null ? result : (utf8 = new String(data, Util.UTF_8));
/external/webrtc/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/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/skia/src/sfnt/
H A DSkOTTable_name.cpp33 static void SkStringFromUTF16BE(const uint16_t* utf16be, size_t length, SkString& utf8) { argument
36 utf8.reset();
40 utf8.appendUnichar(SkUTF16BE_NextUnichar(&utf16be));
68 static void SkStringFromMacRoman(const uint8_t* macRoman, size_t length, SkString& utf8) { argument
69 utf8.reset();
71 utf8.appendUnichar(macRoman[i] < 0x80 ? macRoman[i]
/external/icu/icu4c/source/test/perf/collationperf/
H A DMakefile.in58 $(INVOKE) ./$(TARGET) -loop 200 -file $(top_srcdir)/extra/uconv/samples/utf8/utf-8-demo.txt -keygen -shifted
/external/expat/lib/
H A Dxmltok.c1302 char utf8[256][4]; member in struct:unknown_encoding
1349 const char *utf8; local
1353 utf8 = uenc->utf8[(unsigned char)**fromP];
1354 n = *utf8++;
1360 utf8 = buf;
1370 *(*toP)++ = *utf8++;
1421 e->utf8[i][0] = 1;
1422 e->utf8[i][1] = 0;
1428 e->utf8[
[all...]
/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);

Completed in 1464 milliseconds

123456