/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_utf8.c | 30 ASN1_UTF8STRING *utf8) in i2s_ASN1_UTF8STRING() 34 if (utf8 == NULL || utf8->length == 0) { in i2s_ASN1_UTF8STRING() 38 if ((tmp = OPENSSL_malloc(utf8->length + 1)) == NULL) { in i2s_ASN1_UTF8STRING() 42 memcpy(tmp, utf8->data, utf8->length); in i2s_ASN1_UTF8STRING() 43 tmp[utf8->length] = 0; in i2s_ASN1_UTF8STRING() 50 ASN1_UTF8STRING *utf8; in s2i_ASN1_UTF8STRING() local 55 if ((utf8 = ASN1_UTF8STRING_new()) == NULL) { in s2i_ASN1_UTF8STRING() 59 if (!ASN1_STRING_set((ASN1_STRING *)utf8, st in s2i_ASN1_UTF8STRING() 29 i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method, ASN1_UTF8STRING *utf8) i2s_ASN1_UTF8STRING() argument [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_utf8.c | 30 ASN1_UTF8STRING *utf8) in i2s_ASN1_UTF8STRING() 34 if (utf8 == NULL || utf8->length == 0) { in i2s_ASN1_UTF8STRING() 38 if ((tmp = OPENSSL_malloc(utf8->length + 1)) == NULL) { in i2s_ASN1_UTF8STRING() 42 memcpy(tmp, utf8->data, utf8->length); in i2s_ASN1_UTF8STRING() 43 tmp[utf8->length] = 0; in i2s_ASN1_UTF8STRING() 50 ASN1_UTF8STRING *utf8; in s2i_ASN1_UTF8STRING() local 55 if ((utf8 = ASN1_UTF8STRING_new()) == NULL) { in s2i_ASN1_UTF8STRING() 59 if (!ASN1_STRING_set((ASN1_STRING *)utf8, st in s2i_ASN1_UTF8STRING() 29 i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method, ASN1_UTF8STRING *utf8) i2s_ASN1_UTF8STRING() argument [all...] |
/third_party/skia/modules/skshaper/src/ |
H A D | SkShaper_primitive.cpp | 23 void shape(const char* utf8, size_t utf8Bytes, 33 void shape(const char* utf8, size_t utf8Bytes, 41 void shape(const char* utf8, size_t utf8Bytes, 146 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 175 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape() 178 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 189 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape() 193 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 205 int glyphCount = font.CountText(utf8, utf8Bytes, RSDrawing::TextEncoding::UTF8); in shape() 207 int glyphCount = font.countText(utf8, utf8Byte in shape() [all...] |
H A D | SkShaper.cpp | 69 SkShaper::MakeBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel) { in Make() argument 77 utf8, in Make() 88 SkShaper::MakeScriptRunIterator(const char* utf8, size_t utf8Bytes, SkFourByteTag scriptTag) { in Make() argument 95 SkShaper::MakeSkUnicodeHbScriptRunIterator(utf8, utf8Bytes, scriptTag); in Make() 115 FontMgrRunIterator(const char* utf8, size_t utf8Bytes, in Make() argument 119 : fCurrent(utf8), fBegin(utf8), fEnd(fCurrent + utf8Bytes) in Make() 131 FontMgrRunIterator(const char* utf8, size_t utf8Bytes, in Make() argument 133 : FontMgrRunIterator(utf8, utf8Bytes, font, std::move(fallbackMgr), in Make() 210 FontMgrRunIterator(const char* utf8, size_ in Make() argument 226 FontMgrRunIterator(const char* utf8, size_t utf8Bytes, const RSFont& font, std::shared_ptr<RSFontMgr> fallbackMgr) Make() argument 306 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, const SkFont& font, sk_sp<SkFontMgr> fallback) Make() argument 313 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, const SkFont& font, sk_sp<SkFontMgr> fallback, const char* requestName, SkFontStyle requestStyle, const SkShaper::LanguageRunIterator* language) Make() argument 323 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, const RSFont& font, std::shared_ptr<RSFontMgr> fallback) Make() argument 330 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, const RSFont& font, std::shared_ptr<RSFontMgr> fallback, const char* requestName, RSFontStyle requestStyle, const SkShaper::LanguageRunIterator* language) Make() argument 341 MakeStdLanguageRunIterator(const char* utf8, size_t utf8Bytes) Make() argument [all...] |
H A D | SkShaper_coretext.cpp | 35 void shape(const char* utf8, size_t utf8Bytes, 41 void shape(const char* utf8, size_t utf8Bytes, 49 void shape(const char* utf8, size_t utf8Bytes, 63 void SkShaper_CoreText::shape(const char* utf8, size_t utf8Bytes, in shape() argument 84 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape() 87 void SkShaper_CoreText::shape(const char* utf8, size_t utf8Bytes, in shape() argument 98 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape() 156 bool setUTF8(const char* utf8, size_t size) { in setUTF8() argument 157 SkASSERT(utf8 != nullptr); in setUTF8() 164 auto utf16Size = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, siz in setUTF8() [all...] |
H A D | SkShaper_harfbuzz.cpp | 483 SkUnicodeBidiRunIterator(const char* utf8, const char* end, SkUnicodeBidi bidi) argument 485 , fEndOfCurrentRun(utf8) 486 , fBegin(utf8) 529 SkUnicodeHbScriptRunIterator(const char* utf8, argument 532 : fCurrent(utf8) 533 , fBegin(utf8) 818 ShapedRun shape(const char* utf8, size_t utf8Bytes, 835 void shape(const char* utf8, size_t utf8Bytes, 862 virtual void wrap(char const * const utf8, size_t utf8Bytes, 877 void wrap(char const * const utf8, size_ 968 shape(const char* utf8, size_t utf8Bytes, const SkFont& srcFont, bool leftToRight, SkScalar width, RunHandler* handler) const global() argument 1014 shape(const char* utf8, size_t utf8Bytes, FontRunIterator& font, BiDiRunIterator& bidi, ScriptRunIterator& script, LanguageRunIterator& language, SkScalar width, RunHandler* handler) const global() argument 1025 shape(const char* utf8, size_t utf8Bytes, FontRunIterator& font, BiDiRunIterator& bidi, ScriptRunIterator& script, LanguageRunIterator& language, const Feature* features, size_t featuresSize, SkScalar width, RunHandler* handler) const global() argument 1045 wrap(char const * const utf8, size_t utf8Bytes, const BiDiRunIterator& bidi, const LanguageRunIterator& language, const ScriptRunIterator& script, const FontRunIterator& font, RunIteratorQueue& runSegmenter, const Feature* features, size_t featuresSize, SkScalar width, RunHandler* handler) const global() argument 1202 wrap(char const * const utf8, size_t utf8Bytes, const BiDiRunIterator& bidi, const LanguageRunIterator& language, const ScriptRunIterator& script, const FontRunIterator& font, RunIteratorQueue& runSegmenter, const Feature* features, size_t featuresSize, SkScalar width, RunHandler* handler) const global() argument 1419 wrap(char const * const utf8, size_t utf8Bytes, const BiDiRunIterator& bidi, const LanguageRunIterator& language, const ScriptRunIterator& script, const FontRunIterator& font, RunIteratorQueue& runSegmenter, const Feature* features, size_t featuresSize, SkScalar width, RunHandler* handler) const global() argument 1505 shape(char const * const utf8, size_t const utf8Bytes, char const * const utf8Start, char const * const utf8End, const BiDiRunIterator& bidi, const LanguageRunIterator& language, const ScriptRunIterator& script, const FontRunIterator& font, Feature const * const features, size_t const featuresSize) const global() argument 1678 MakeIcuBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel) global() argument 1690 MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint8_t bidiLevel) global() argument 1718 MakeHbIcuScriptRunIterator(const char* utf8, size_t utf8Bytes) global() argument 1723 MakeSkUnicodeHbScriptRunIterator(const char* utf8, size_t utf8Bytes) global() argument 1727 MakeSkUnicodeHbScriptRunIterator( const char* utf8, size_t utf8Bytes, SkFourByteTag script) global() argument [all...] |
/third_party/skia/modules/skunicode/src/ |
H A D | SkUnicode_icu.cpp | 242 (const char utf8[], int utf8Units, BreakType type, std::function<void(int, int)> setBreak) { in extractPositions() 245 ICUUText text(sk_utext_openUTF8(nullptr, &utf8[0], utf8Units, &status)); in extractPositions() 279 const char* end = utf8 + utf8Units; in extractPositions() 280 const char* ch = utf8; in extractPositions() 284 setBreak(ch - utf8, UBRK_LINE_HARD); in extractPositions() 291 static bool isControl(SkUnichar utf8) { in isControl() argument 292 return sk_u_iscntrl(utf8); in isControl() 295 static bool isWhitespace(SkUnichar utf8) { in isWhitespace() argument 296 return sk_u_isWhitespace(utf8); in isWhitespace() 299 static bool isSpace(SkUnichar utf8) { in isSpace() argument 241 extractPositions(const char utf8[], int utf8Units, BreakType type, std::function<void(int, int)> setBreak) extractPositions() argument 303 isTabulation(SkUnichar utf8) isTabulation() argument 307 isHardBreak(SkUnichar utf8) isHardBreak() argument 342 isHardLineBreak(SkUnichar utf8) isHardLineBreak() argument [all...] |
H A D | SkUnicode.cpp | 46 SkAutoTArray<char> utf8(utf8Units); in convertUtf16ToUtf8() 47 SkDEBUGCODE(int dstLen =) SkUTF::UTF16ToUTF8(utf8.data(), utf8Units, (uint16_t*)utf16, utf16Units); in convertUtf16ToUtf8() 50 return SkString(utf8.data(), utf8Units); in convertUtf16ToUtf8() 57 std::u16string SkUnicode::convertUtf8ToUtf16(const char* utf8, int utf8Units) { in convertUtf8ToUtf16() argument 59 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units); in convertUtf8ToUtf16() 61 SkDEBUGF("Convert error: Invalid utf8 input"); in convertUtf8ToUtf16() 66 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.data(), utf16Units, utf8, utf8Units); in convertUtf8ToUtf16() 72 std::u16string SkUnicode::convertUtf8ToUtf16(const SkString& utf8) { in convertUtf8ToUtf16() argument 73 return convertUtf8ToUtf16(utf8.c_str(), utf8 in convertUtf8ToUtf16() [all...] |
H A D | SkUnicode_client.cpp | 126 bool getBidiRegions(const char utf8[], 130 return SkUnicode::extractBidi(utf8, utf8Units, dir, results); 134 static bool isControl(SkUnichar utf8) { in isControl() argument 135 return (utf8 < ' ') || (utf8 >= 0x7f && utf8 <= 0x9f) || in isControl() 136 (utf8 >= 0x200D && utf8 <= 0x200F) || in isControl() 137 (utf8 >= 0x202A && utf8 < in isControl() 200 isTabulation(SkUnichar utf8) isTabulation() argument 204 isHardBreak(SkUnichar utf8) isHardBreak() argument [all...] |
H A D | SkUnicode_icu_bidi.cpp | 57 std::unique_ptr<SkBidiIterator> SkUnicode::makeBidiIterator(const char utf8[], in makeBidiIterator() argument 60 // Convert utf8 into utf16 since ubidi only accepts utf16 in makeBidiIterator() 67 int utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Units); in makeBidiIterator() 69 SkDEBUGF("Bidi error: Invalid utf8 input"); in makeBidiIterator() 73 SkDEBUGCODE(int dstLen =) SkUTF::UTF8ToUTF16(utf16.get(), utf16Units, utf8, utf8Units); in makeBidiIterator() 85 bool SkUnicode::extractBidi(const char utf8[], in extractBidi() argument 90 auto utf16 = SkUnicode::convertUtf8ToUtf16(utf8, utf8Units); in extractBidi() 110 // Iterate through bidi regions and the result positions into utf8 in extractBidi() 111 const char* start8 = utf8; in extractBidi() 112 const char* end8 = utf8 in extractBidi() [all...] |
/third_party/skia/src/utils/ |
H A D | SkUTF.cpp | 48 int SkUTF::CountUTF8(const char* utf8, size_t byteLength) { in CountUTF8() argument 49 if (!utf8) { in CountUTF8() 53 const char* stop = utf8 + byteLength; in CountUTF8() 54 while (utf8 < stop) { in CountUTF8() 55 int type = utf8_byte_type(*(const uint8_t*)utf8); in CountUTF8() 56 if (!utf8_type_is_valid_leading_byte(type) || utf8 + type > stop) { in CountUTF8() 60 ++utf8; in CountUTF8() 61 if (!utf8_byte_is_continuation(*(const uint8_t*)utf8)) { in CountUTF8() 65 ++utf8; in CountUTF8() 210 size_t SkUTF::ToUTF8(SkUnichar uni, char utf8[SkUT argument 301 char utf8[SkUTF::kMaxBytesInUTF8Sequence]; UTF16ToUTF8() local [all...] |
H A D | SkShaperJSONWriter.cpp | 17 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size) in SkShaperJSONWriter() argument 19 , fUTF8{utf8, size} {} 35 static bool is_one_to_one(const char utf8[], size_t utf8Begin, size_t utf8End, in is_one_to_one() argument 44 if (SkUTF::CountUTF8(&utf8[clusters[clusterIndex]], utf8ClusterSize) != 1) { in is_one_to_one() 86 std::string utf8{&fUTF8[info.utf8Range.begin()], info.utf8Range.size()}; in commitRunBuffer() 87 fJSONWriter->appendString("UTF8", utf8.c_str()); in commitRunBuffer() 168 void SkShaperJSONWriter::VisualizeClusters(const char* utf8, size_t utf8Begin, size_t utf8End, in VisualizeClusters() argument 186 SkSpan<const char> utf8Span{&utf8[utf8RangeStart], utf8RangeEnd - utf8RangeStart}; in VisualizeClusters() 197 int possibleCount = SkUTF::CountUTF8(&utf8[utf8StartIndex], utf8EndIndex - utf8StartIndex); in VisualizeClusters() 208 SkSpan<const char> utf8Span{&utf8[utf8StartInde in VisualizeClusters() 221 displayMToN(size_t codePointCount, SkSpan<const char> utf8, SkSpan<const SkGlyphID> glyphIDs) displayMToN() argument [all...] |
/third_party/skia/modules/skunicode/include/ |
H A D | SkUnicode.h | 141 static bool isIdeographic(SkUnichar utf8); 142 static bool extractBidi(const char utf8[], 146 virtual bool getBidiRegions(const char utf8[], 150 virtual bool getWords(const char utf8[], int utf8Units, const char* locale, 153 char utf8[], int utf8Units, bool replaceTabs, 161 static std::u16string convertUtf8ToUtf16(const char* utf8, int utf8Units); 162 static std::u16string convertUtf8ToUtf16(const SkString& utf8); 165 static bool extractUtfConversionMapping(SkSpan<const char> utf8, Appender8&& appender8, Appender16&& appender16) { in extractUtfConversionMapping() argument 168 auto ptr = utf8.begin(); in extractUtfConversionMapping() 169 auto end = utf8 in extractUtfConversionMapping() 211 forEachCodepoint(const char* utf8, int32_t utf8Units, Callback&& callback) forEachCodepoint() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-mkdtemp.js | 24 const utf8 = fs.mkdtempSync(path.join(tmpdir.path, '\u0222abc.')); 25 assert.strictEqual(Buffer.byteLength(path.basename(utf8)), 27 assert(fs.existsSync(utf8)); 48 const utf8 = fs.mkdtempSync(tmpdir.fileURL('\u0222abc.')); 49 assert.strictEqual(Buffer.byteLength(path.basename(utf8)), 51 assert(fs.existsSync(utf8)); 70 const utf8 = fs.mkdtempSync(Buffer.from(path.join(tmpdir.path, '\u0222abc.'))); 71 assert.strictEqual(Buffer.byteLength(path.basename(utf8)), 73 assert(fs.existsSync(utf8)); 94 const utf8 [all...] |
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | unicodestring_test.cc | 30 string utf8; in operator <<() local 31 s.toUTF8String(utf8); in operator <<() 32 out << utf8; in operator <<() local 38 string utf8; in TEST() local 39 s.toUTF8String(utf8); in TEST() 40 EXPECT_EQ("", utf8); in TEST() 45 string utf8; in TEST() local 46 s.toUTF8String(utf8); in TEST() 47 EXPECT_EQ("hello", utf8); in TEST() 52 string utf8; in TEST() local [all...] |
/third_party/skia/modules/skshaper/include/ |
H A D | SkShaper.h | 88 /** Offset to one past the last (utf8) element in the current run. */ 119 size_t start; // Offset to the start (utf8) element of the run. 120 size_t end; // Offset to one past the last (utf8) element of the run. 140 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 143 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 157 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 160 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 175 MakeBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel); 178 MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint8_t bidiLevel); 180 MakeIcuBiDiRunIterator(const char* utf8, size_ [all...] |
/third_party/skia/modules/skparagraph/tests/ |
H A D | SkShaperJSONWriter.cpp | 24 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size) in SkShaperJSONWriter() argument 26 , fUTF8{utf8, size} {} 42 static bool is_one_to_one(const char utf8[], size_t utf8Begin, size_t utf8End, in is_one_to_one() argument 51 if (SkUTF::CountUTF8(&utf8[clusters[clusterIndex]], utf8ClusterSize) != 1) { in is_one_to_one() 93 std::string utf8{&fUTF8[info.utf8Range.begin()], info.utf8Range.size()}; in commitRunBuffer() 94 fJSONWriter->appendString("UTF8", utf8); in commitRunBuffer() 175 void SkShaperJSONWriter::VisualizeClusters(const char* utf8, size_t utf8Begin, size_t utf8End, in VisualizeClusters() argument 193 SkSpan<const char> utf8Span{&utf8[utf8RangeStart], utf8RangeEnd - utf8RangeStart}; in VisualizeClusters() 204 int possibleCount = SkUTF::CountUTF8(&utf8[utf8StartIndex], utf8EndIndex - utf8StartIndex); in VisualizeClusters() 215 SkSpan<const char> utf8Span{&utf8[utf8StartInde in VisualizeClusters() 228 displayMToN(size_t codePointCount, SkSpan<const char> utf8, SkSpan<const SkGlyphID> glyphIDs) displayMToN() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | Paint_textToGlyphs.cpp | 9 const uint8_t utf8[] = { 0x24, 0xC2, 0xA2, 0xE2, 0x82, 0xAC, 0xC2, 0xA5, 0xC2, 0xA3 }; in REG_FIDDLE() local 11 int count = paint.textToGlyphs(utf8, sizeof(utf8), nullptr); in REG_FIDDLE() 13 (void) paint.textToGlyphs(utf8, sizeof(utf8), &glyphs.front()); in REG_FIDDLE()
|
/third_party/gptfdisk/ |
H A D | gptpart.cc | 91 // convert name to utf32 then to utf8 in GetDescription() 92 string utf8 ; in GetDescription() local 121 // then to utf8 in GetDescription() 123 utf8 += (char) uni ; in GetDescription() 126 utf8 += (char) ( 0xc0 | ( uni >> 6 ) ) ; in GetDescription() 127 utf8 += (char) ( 0x80 | ( uni & 0x3f ) ) ; in GetDescription() 130 utf8 += (char) ( 0xe0 | ( uni >> 12 ) ) ; in GetDescription() 131 utf8 += (char) ( 0x80 | ( ( uni >> 6 ) & 0x3f ) ) ; in GetDescription() 132 utf8 += (char) ( 0x80 | ( uni & 0x3f ) ) ; in GetDescription() 135 utf8 in GetDescription() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucnv_u8.cpp | 29 #include "unicode/utf8.h" 654 UConverter *utf8; in ucnv_UTF8FromUTF8() local 666 utf8=pToUArgs->converter; in ucnv_UTF8FromUTF8() 673 if(utf8->toULength > 0) { in ucnv_UTF8FromUTF8() 674 toULength=oldToULength=utf8->toULength; in ucnv_UTF8FromUTF8() 675 toULimit=(int8_t)utf8->mode; in ucnv_UTF8FromUTF8() 676 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8() 716 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8() 717 utf8->toULength=0; in ucnv_UTF8FromUTF8() 777 utf8 in ucnv_UTF8FromUTF8() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv_u8.cpp | 29 #include "unicode/utf8.h" 654 UConverter *utf8; in ucnv_UTF8FromUTF8() local 666 utf8=pToUArgs->converter; in ucnv_UTF8FromUTF8() 673 if(utf8->toULength > 0) { in ucnv_UTF8FromUTF8() 674 toULength=oldToULength=utf8->toULength; in ucnv_UTF8FromUTF8() 675 toULimit=(int8_t)utf8->mode; in ucnv_UTF8FromUTF8() 676 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8() 716 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8() 717 utf8->toULength=0; in ucnv_UTF8FromUTF8() 777 utf8 in ucnv_UTF8FromUTF8() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv_u8.cpp | 29 #include "unicode/utf8.h" 654 UConverter *utf8; in ucnv_UTF8FromUTF8() local 666 utf8=pToUArgs->converter; in ucnv_UTF8FromUTF8() 673 if(utf8->toULength > 0) { in ucnv_UTF8FromUTF8() 674 toULength=oldToULength=utf8->toULength; in ucnv_UTF8FromUTF8() 675 toULimit=(int8_t)utf8->mode; in ucnv_UTF8FromUTF8() 676 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8() 716 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8() 717 utf8->toULength=0; in ucnv_UTF8FromUTF8() 777 utf8 in ucnv_UTF8FromUTF8() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-glib.cc | 137 gchar utf8[12]; in hb_glib_unicode_compose() 142 len = g_unichar_to_utf8 (a, utf8); in hb_glib_unicode_compose() 143 len += g_unichar_to_utf8 (b, utf8 + len); in hb_glib_unicode_compose() 144 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); in hb_glib_unicode_compose() 174 gchar utf8[6]; in hb_glib_unicode_decompose() 179 len = g_unichar_to_utf8 (ab, utf8); in hb_glib_unicode_decompose() 180 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); in hb_glib_unicode_decompose()
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8-console.cc | 84 v8::String::Utf8Value utf8(isolate_, label); in Time() 85 std::string string(*utf8); in Time() 109 v8::String::Utf8Value utf8(isolate_, label); in TimeEnd() 110 std::string string(*utf8); in TimeEnd() 116 printf("console.timeEnd: %s, %f\n", *utf8, delta.InMillisecondsF()); in TimeEnd() 131 v8::String::Utf8Value utf8(isolate_, label); in TimeStamp() 132 std::string string(*utf8); in TimeStamp() 133 printf("console.timeStamp: %s, %f\n", *utf8, delta.InMillisecondsF()); in TimeStamp()
|
/third_party/icu/icu4c/source/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 53 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) { in UnicodeSetPerformanceTest() 69 // Preflight the UTF-8 length and allocate utf8. in UnicodeSetPerformanceTest() 72 utf8=(char *)malloc(utf8Length); in UnicodeSetPerformanceTest() 73 if(utf8!=NULL) { in UnicodeSetPerformanceTest() 75 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); in UnicodeSetPerformanceTest() 124 char *utf8; member in UnicodeSetPerformanceTest 319 char utf8[4]; in SpanUTF8() local 328 U8_APPEND_UNSAFE(utf8, length, c); in SpanUTF8() 329 if(testcase.set.spanUTF8(utf8, length, USET_SPAN_CONTAINED)>0) { in SpanUTF8() 343 const char *s=testcase.utf8; in call() 365 char utf8[4]; SpanBackUTF8() local [all...] |