Home
last modified time | relevance | path

Searched refs:utf8_len (Results 1 – 10 of 10) sorted by relevance

/external/unicode/
Dharness.c71 int utf8_len; /* length of sequence */ member
114 for (i = 0; utf8_testData[i].utf8_len; i++) { in test01()
116 gotVal1 = isLegalUTF8(&(utf8_testData[i].utf8_seq[0]), utf8_testData[i].utf8_len); in test01()
118 if (i <= 21) { len2 = 4; } else { len2 = utf8_testData[i].utf8_len-1; wantVal2 = 0; } in test01()
125 utf8_testData[i].utf8_len); in test01()
/external/boringssl/src/crypto/asn1/
Da_mbstr.c135 size_t utf8_len = 0; in OPENSSL_DECLARE_ERROR_REASON() local
174 utf8_len += cbb_get_utf8_len(c); in OPENSSL_DECLARE_ERROR_REASON()
215 size_estimate = utf8_len; in OPENSSL_DECLARE_ERROR_REASON()
/external/toybox/toys/pending/
Dvi.c63 static int utf8_len(char *str);
783 utf_l = utf8_len(&c_r->line->str_data[TT.cur_col]); in draw_page()
820 int l = utf8_len(c); in draw_rune()
889 static int utf8_len(char *str) in utf8_len() function
999 if (!utf8_len(&c_r->line->str_data[TT.cur_col])) cur_left(); in cur_left()
1007 if (!utf8_len(&c_r->line->str_data[TT.cur_col])) cur_right(); in cur_right()
1015 if (!utf8_len(&c_r->line->str_data[TT.cur_col])) cur_left(); in cur_up()
1025 if (!utf8_len(&c_r->line->str_data[TT.cur_col])) cur_left(); in cur_down()
/external/u-boot/lib/
Dvsprintf.c283 int utf8_len, i; in string16() local
285 utf8_len = utf16_to_utf8(utf8, str, utf16_len) - utf8; in string16()
288 while (utf8_len < field_width--) in string16()
290 for (i = 0; i < utf8_len; ++i) in string16()
292 while (utf8_len < field_width--) in string16()
/external/harfbuzz_ng/util/
Dhelper-cairo.hh58 unsigned int utf8_len; member
Dview-cairo.cc122 l.utf8, l.utf8_len, in render()
Dhelper-cairo.cc490 l->utf8_len = text_len; in helper_cairo_line_from_buffer()
499 (l->utf8_len && !l->utf8) || in helper_cairo_line_from_buffer()
/external/boringssl/src/crypto/x509/
Dx509_test.cc1496 const int utf8_len = ASN1_STRING_to_UTF8(&utf8, &s); in TEST() local
1497 EXPECT_EQ(utf8_len < 0, test.expected == nullptr); in TEST()
1498 if (utf8_len >= 0) { in TEST()
1500 EXPECT_EQ(Bytes(test.expected), Bytes(utf8, utf8_len)); in TEST()
/external/skia/src/utils/
DSkJSON.cpp671 const auto utf8_len = SkUTF::ToUTF8(SkTo<SkUnichar>(hexed), utf8); in unescapeString() local
672 fUnescapeBuffer.insert(fUnescapeBuffer.end(), utf8, utf8 + utf8_len); in unescapeString()
/external/skqp/src/utils/
DSkJSON.cpp671 const auto utf8_len = SkUTF::ToUTF8(SkTo<SkUnichar>(hexed), utf8); in unescapeString() local
672 fUnescapeBuffer.insert(fUnescapeBuffer.end(), utf8, utf8 + utf8_len); in unescapeString()