Searched refs:utf8_len (Results 1 – 10 of 10) sorted by relevance
/external/unicode/ |
D | harness.c | 71 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/ |
D | a_mbstr.c | 135 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/ |
D | vi.c | 63 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/ |
D | vsprintf.c | 283 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/ |
D | helper-cairo.hh | 58 unsigned int utf8_len; member
|
D | view-cairo.cc | 122 l.utf8, l.utf8_len, in render()
|
D | helper-cairo.cc | 490 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/ |
D | x509_test.cc | 1496 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/ |
D | SkJSON.cpp | 671 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/ |
D | SkJSON.cpp | 671 const auto utf8_len = SkUTF::ToUTF8(SkTo<SkUnichar>(hexed), utf8); in unescapeString() local 672 fUnescapeBuffer.insert(fUnescapeBuffer.end(), utf8, utf8 + utf8_len); in unescapeString()
|