Searched defs:utf8 (Results 1 - 25 of 121) sorted by relevance

12345

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DUtf8.java48 public static int utf8StringLengthInBytes(String utf8) { argument
50 if (utf8 != null) {
51 return utf8.getBytes("UTF-8").length;
/external/harfbuzz_ng/util/
H A Dhelper-cairo.hh57 char *utf8; member in struct:helper_cairo_line_t
68 if (utf8)
69 g_free (utf8);
/external/icu/icu4c/as_is/
H A Dbomlist.py21 utf8=0 variable
/external/libchrome/base/strings/
H A Dsys_string_conversions_posix.cc21 std::wstring SysUTF8ToWide(const StringPiece& utf8) { argument
25 UTF8ToWide(utf8.data(), utf8.size(), &out);
H A Dutf_string_conversions_unittest.cc53 std::ostringstream utf8; local
54 utf8 << WideToUTF8(kConvertRoundtripCases[i]);
56 wide << UTF8ToWide(utf8.str());
73 const char* utf8; member in struct:base::UTF8ToWideCase
103 UTF8ToWide(convert_cases[i].utf8,
104 strlen(convert_cases[i].utf8),
129 const char* utf8; member in struct:base::WideToUTF8Case
149 std::string expected(test.utf8);
159 const char* utf8; member in struct:base::WideToUTF8Case
180 std::string expected(test.utf8);
[all...]
H A Dutf_string_conversions.cc79 std::wstring UTF8ToWide(StringPiece utf8) { argument
80 if (IsStringASCII(utf8)) {
81 return std::wstring(utf8.begin(), utf8.end());
85 PrepareForUTF16Or32Output(utf8.data(), utf8.length(), &ret);
86 ConvertUnicode(utf8.data(), utf8.length(), &ret);
159 string16 UTF8ToUTF16(StringPiece utf8) { argument
160 if (IsStringASCII(utf8)) {
197 UTF8ToUTF16(StringPiece utf8) argument
[all...]
/external/libxkbcommon/xkbcommon/src/compose/
H A Dtable.h81 /* Offset into xkb_compose_table::utf8. */
82 uint32_t utf8; member in struct:compose_node::__anon13330::__anon13331
96 darray_char utf8; member in struct:xkb_compose_table
/external/pdfium/fxbarcode/
H A DBC_UtilCodingConvert.cpp27 ByteString utf8 = unicode.UTF8Encode(); local
28 dst = std::vector<uint8_t>(utf8.begin(), utf8.end());
33 ByteString utf8; local
35 utf8 += value;
37 WideString unicode = WideString::FromUTF8(utf8.AsStringView());
/external/webrtc/webrtc/system_wrappers/include/
H A Dutf_util_win.h24 inline std::wstring ToUtf16(const char* utf8, size_t len) { argument
25 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len),
28 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws.get(),
/external/skia/src/core/
H A DSkUtils.h39 inline int SkUTF8_CountUTF8Bytes(const char utf8[]) { argument
40 SkASSERT(utf8);
41 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8);
44 int SkUTF8_CountUnichars(const char utf8[]);
47 int SkUTF8_CountUnichars(const void* utf8, size_t byteLength);
67 SkUnichar SkUTF8_ToUnichar(const char utf8[]);
72 into a utf8 sequence. Will be 1..kMaxBytesInUTF8Sequence,
75 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = nullptr);
90 char utf8[] = nullptr);
H A DSkUtils.cpp68 int SkUTF8_CountUnichars(const char utf8[]) { argument
69 SkASSERT(utf8);
74 int c = *(const uint8_t*)utf8;
78 utf8 += SkUTF8_LeadByteToCount(c);
87 const char* utf8 = static_cast<const char*>(text); local
93 const char* stop = utf8 + byteLength;
95 while (utf8 < stop) {
96 int type = utf8_byte_type(*(const uint8_t*)utf8);
98 if (!utf8_type_is_valid_leading_byte(type) || utf8 + type > stop) {
103 ++utf8;
114 SkUTF8_ToUnichar(const char utf8[]) argument
[all...]
/external/skqp/src/core/
H A DSkUtils.h39 inline int SkUTF8_CountUTF8Bytes(const char utf8[]) { argument
40 SkASSERT(utf8);
41 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8);
44 int SkUTF8_CountUnichars(const char utf8[]);
47 int SkUTF8_CountUnichars(const void* utf8, size_t byteLength);
67 SkUnichar SkUTF8_ToUnichar(const char utf8[]);
72 into a utf8 sequence. Will be 1..kMaxBytesInUTF8Sequence,
75 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = nullptr);
90 char utf8[] = nullptr);
H A DSkUtils.cpp68 int SkUTF8_CountUnichars(const char utf8[]) { argument
69 SkASSERT(utf8);
74 int c = *(const uint8_t*)utf8;
78 utf8 += SkUTF8_LeadByteToCount(c);
87 const char* utf8 = static_cast<const char*>(text); local
93 const char* stop = utf8 + byteLength;
95 while (utf8 < stop) {
96 int type = utf8_byte_type(*(const uint8_t*)utf8);
98 if (!utf8_type_is_valid_leading_byte(type) || utf8 + type > stop) {
103 ++utf8;
114 SkUTF8_ToUnichar(const char utf8[]) argument
[all...]
/external/ImageMagick/MagickCore/
H A Dtoken-private.h69 *utf8; local
74 utf8=(unsigned char *) NULL;
76 utf8=(unsigned char *) AcquireQuantumMemory(length+1UL,sizeof(*utf8));
77 if (utf8 == (unsigned char *) NULL)
79 q=utf8;
92 return(utf8);
H A Dutility-private.h49 static inline wchar_t *create_wchar_path(const char *utf8) argument
57 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,NULL,0);
67 (void) FormatLocaleString(buffer,MagickPathExtent,"\\\\?\\%s",utf8);
85 count=MultiByteToWideChar(CP_UTF8,0,utf8,-1,wideChar,count);
/external/ImageMagick/coders/
H A Dbraille.c331 unsigned char utf8[3];
333 utf8[0] = (unsigned char) (0xe0|((0x28>>4)&0x0f));
334 utf8[1] = 0x80|((0x28<<2)&0x3f)|(cell>>6);
335 utf8[2] = 0x80|(cell&0x3f);
336 (void) WriteBlob(image,3,utf8);
326 unsigned char utf8[3]; local
/external/ImageMagick/utilities/
H A Dmagick.c184 **utf8;
192 utf8=NTArgvToUTF8(argc,argv);
193 status=MagickMain(argc,utf8);
195 utf8[i]=DestroyString(utf8[i]);
196 utf8=(char **) RelinquishMagickMemory(utf8);
182 **utf8; local
/external/oj-libjdwp/src/solaris/npt/
H A Dutf_md.c60 if (strcmp(codeset, "UTF-8") == 0 || strcmp(codeset, "utf8") == 0 ) {
144 utf8ToPlatform(struct UtfInst*ui, jbyte *utf8, int len, char *output, int outputMaxLen) argument
157 return iconvConvert(ui->iconvToPlatform, (char*)utf8, len, output, outputMaxLen);
/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/skqp/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/turbine/java/com/google/turbine/bytecode/
H A DConstantPoolReader.java109 return utf8(nameIndex);
113 public String utf8(int index) { method in class:ConstantPoolReader
139 return new Const.StringValue(utf8(reader.readUnsignedShort()));
/external/icu/icu4c/source/common/
H A Dunisetspan.h124 uint8_t *utf8; member in class:UnicodeSetStringSpan
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.h47 const char *utf8; member in struct:ConversionCase
/external/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp29 // Left over from when icu/branches/markus/utf8 could use both old UTrie
51 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
62 // Preflight the UTF-8 length and allocate utf8.
65 utf8=(char *)malloc(utf8Length);
66 if(utf8!=NULL) {
68 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
89 char *utf8; member in class:UTrie2PerfTest
166 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/external/libchrome/base/files/
H A Dfile_path_unittest.cc55 const char* utf8; member in struct:base::UTF8TestData
1142 FilePath from_utf8 = FilePath::FromUTF8Unsafe(cases[i].utf8);
1147 EXPECT_EQ(cases[i].utf8, from_native.AsUTF8Unsafe())

Completed in 1822 milliseconds

12345