Home
last modified time | relevance | path

Searched refs:text8 (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tests/
DUnicodeTest.cpp17 const char text8[] = "ABCDEFGabcdefg0123456789"; in DEF_TEST() local
18 uint16_t text16[sizeof(text8)]; in DEF_TEST()
19 int32_t text32[sizeof(text8)]; in DEF_TEST()
20 size_t len8 = strlen(text8); in DEF_TEST()
26 text32[i] = text16[i] = text8[i]; in DEF_TEST()
29 uint16_t glyphs8[sizeof(text8)]; in DEF_TEST()
30 uint16_t glyphs16[sizeof(text8)]; in DEF_TEST()
31 uint16_t glyphs32[sizeof(text8)]; in DEF_TEST()
35 …int count8 = font.textToGlyphs(text8, len8, kUTF8_SkTextEncoding, glyphs8, SK_ARRAY_COUNT(gly… in DEF_TEST()
/external/skia/tests/
DUnicodeTest.cpp17 const char text8[] = "ABCDEFGabcdefg0123456789"; in DEF_TEST() local
18 uint16_t text16[sizeof(text8)]; in DEF_TEST()
19 int32_t text32[sizeof(text8)]; in DEF_TEST()
20 size_t len8 = strlen(text8); in DEF_TEST()
26 text32[i] = text16[i] = text8[i]; in DEF_TEST()
29 uint16_t glyphs8[sizeof(text8)]; in DEF_TEST()
30 uint16_t glyphs16[sizeof(text8)]; in DEF_TEST()
31 uint16_t glyphs32[sizeof(text8)]; in DEF_TEST()
35 …int count8 = font.textToGlyphs(text8, len8, SkTextEncoding::kUTF8, glyphs8, SK_ARRAY_COUNT(gl… in DEF_TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/
Ducs2.diff423 - // Rewrites *sp from being a pointer into text8 (UTF-8)
425 - static void AdjustUTF8ToUCS2(const StringPiece& text8, const StringPiece& text16,
427 - if (sp->begin() == NULL && text8.begin() != NULL)
433 - const char* p = text8.begin();
434 - const char* ep = text8.end();
450 - << CEscape(text8) << " "
451 - << (int)(sp->begin() - text8.begin()) << " "
452 - << (int)(sp->end() - text8.begin());
458 - // to being a pointer into text8 (equivalent text but in UTF-8).
459 - static void AdjustUCS2ToUTF8(const StringPiece& text16, const StringPiece& text8,
[all …]
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp1521 const char *text8 = in Ticket12130() local
1530 UnicodeString str(text8); in Ticket12130()
Dregextst.cpp5842 StringPiece text8(u8"¿Qué es Unicode? Unicode proporciona un número único para cada" in TestBug12884() local
5846 LocalUTextPointer ut(utext_openUTF8(NULL, text8.data(), text8.length(), &status)); in TestBug12884()
/external/expat/tests/
Druntests.c3408 const char *text8 = "<doc>]"; in START_TEST() local
3411 int text8_len = (int)strlen(text8); in START_TEST()
3416 if (_XML_Parse_SINGLE_BYTES(g_parser, text8, text8_len, XML_TRUE) in START_TEST()