Home
last modified time | relevance | path

Searched refs:text_length (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/fuzz/
DFuzzSkParagraph.cpp117 uint8_t text_length; in RandomText() local
118 fuzz->nextRange(&text_length, 0, MAX_TEXT_LENGTH); in RandomText()
119 fuzz->nextN(buffer, text_length); in RandomText()
120 return text_length; in RandomText()
126 const auto text_length = RandomText(text, fuzz); in AddASCIIText() local
127 builder->addText(text, text_length); in AddASCIIText()
132 const auto text_length = RandomText(text, fuzz); in AddUnicodeText() local
133 builder->addText(std::u16string(text, text_length)); in AddUnicodeText()
143 const auto text_length = RandomText(text, fuzz); in AddZalgoText() local
146 for (auto& c : std::string(text, text_length)) { in AddZalgoText()
/third_party/harfbuzz/perf/
Dperf-shaping.hh20 unsigned text_length; in shape() local
21 const char *text = hb_blob_get_data (text_blob, &text_length); in shape()
22 assert (text_length); in shape()
27 hb_buffer_add_utf8 (buf, text, text_length, 0, -1); in shape()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc12 int text_length, in trySubset() argument
29 for (int i = 0; i < text_length; i++) in trySubset()
43 int text_length, in trySubset() argument
49 trySubset (face, text, text_length, in trySubset()
/third_party/rust/crates/minimal-lexical/scripts/
Dtimings.py92 text_length = 0
101 nonlocal text_length
122 text_length = max(len(text), text_length)
157 plt.xlim(0, offset + 0.02 * text_length)
/third_party/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc13 int text_length, in trySubset() argument
31 for (int i = 0; i < text_length; i++) in trySubset()
56 int text_length, in trySubset() argument
62 trySubset (face, text, text_length, in trySubset()
/third_party/harfbuzz/src/
Dhb-buffer.cc1506 int text_length, in hb_buffer_add_utf() argument
1518 if (text_length == -1) in hb_buffer_add_utf()
1519 text_length = utf_t::strlen (text); in hb_buffer_add_utf()
1522 item_length = text_length - item_offset; in hb_buffer_add_utf()
1562 end = text + text_length; in hb_buffer_add_utf()
1593 int text_length, in hb_buffer_add_utf8() argument
1597 …hb_buffer_add_utf<hb_utf8_t> (buffer, (const uint8_t *) text, text_length, item_offset, item_lengt… in hb_buffer_add_utf8()
1619 int text_length, in hb_buffer_add_utf16() argument
1623 hb_buffer_add_utf<hb_utf16_t> (buffer, text, text_length, item_offset, item_length); in hb_buffer_add_utf16()
1645 int text_length, in hb_buffer_add_utf32() argument
[all …]
Dhb-buffer.h423 int text_length,
430 int text_length,
437 int text_length,
444 int text_length,
451 int text_length,
/third_party/skia/third_party/externals/harfbuzz/perf/
Dperf-shaping.hh21 unsigned text_length; in shape() local
22 const char *text = hb_blob_get_data (text_blob, &text_length); in shape()
27 hb_buffer_add_utf8 (buf, text, text_length, 0, -1); in shape()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-atsc-section.c985 guint8 text_length; in _parse_atsc_eit() local
1006 text_length = tmp & 0xFF; in _parse_atsc_eit()
1008 if (text_length > end - data - 4 - 2) { in _parse_atsc_eit()
1013 event->titles = _parse_atsc_mult_string (data, text_length); in _parse_atsc_eit()
1014 data += text_length; in _parse_atsc_eit()
1460 guint8 text_length; in _parse_rrt() local
1472 text_length = GST_READ_UINT8 (data); in _parse_rrt()
1474 rrt->names = _parse_atsc_mult_string (data, text_length); in _parse_rrt()
1475 data += text_length; in _parse_rrt()
1491 text_length = GST_READ_UINT8 (data); in _parse_rrt()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-buffer.cc1528 int text_length, in hb_buffer_add_utf() argument
1541 if (text_length == -1) in hb_buffer_add_utf()
1542 text_length = utf_t::strlen (text); in hb_buffer_add_utf()
1545 item_length = text_length - item_offset; in hb_buffer_add_utf()
1582 end = text + text_length; in hb_buffer_add_utf()
1613 int text_length, in hb_buffer_add_utf8() argument
1617 …hb_buffer_add_utf<hb_utf8_t> (buffer, (const uint8_t *) text, text_length, item_offset, item_lengt… in hb_buffer_add_utf8()
1639 int text_length, in hb_buffer_add_utf16() argument
1643 hb_buffer_add_utf<hb_utf16_t> (buffer, text, text_length, item_offset, item_length); in hb_buffer_add_utf16()
1665 int text_length, in hb_buffer_add_utf32() argument
[all …]
Dhb-buffer.h395 int text_length,
402 int text_length,
409 int text_length,
416 int text_length,
423 int text_length,
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-buffer.cc1543 int text_length, in hb_buffer_add_utf() argument
1555 if (text_length == -1) in hb_buffer_add_utf()
1556 text_length = utf_t::strlen (text); in hb_buffer_add_utf()
1559 item_length = text_length - item_offset; in hb_buffer_add_utf()
1599 end = text + text_length; in hb_buffer_add_utf()
1630 int text_length, in hb_buffer_add_utf8() argument
1634 …hb_buffer_add_utf<hb_utf8_t> (buffer, (const uint8_t *) text, text_length, item_offset, item_lengt… in hb_buffer_add_utf8()
1656 int text_length, in hb_buffer_add_utf16() argument
1660 hb_buffer_add_utf<hb_utf16_t> (buffer, text, text_length, item_offset, item_length); in hb_buffer_add_utf16()
1682 int text_length, in hb_buffer_add_utf32() argument
[all …]
Dhb-buffer.h430 int text_length,
437 int text_length,
444 int text_length,
451 int text_length,
458 int text_length,
/third_party/skia/third_party/externals/libwebp/imageio/
Dpngdec.c170 png_size_t text_length; in ExtractMetadataFromPNG() local
175 text_length = text->itxt_length; in ExtractMetadataFromPNG()
181 text_length = text->text_length; in ExtractMetadataFromPNG()
186 } else if (!kPNGMetadataMap[j].process(text->text, text_length, in ExtractMetadataFromPNG()
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dpngdec.c170 png_size_t text_length; in ExtractMetadataFromPNG() local
175 text_length = text->itxt_length; in ExtractMetadataFromPNG()
181 text_length = text->text_length; in ExtractMetadataFromPNG()
186 } else if (!kPNGMetadataMap[j].process(text->text, text_length, in ExtractMetadataFromPNG()
/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c617 uint32_t text_length = (uint32_t)strlen(text); in uSynergySendClipboard() local
618 if (text_length > max_length) in uSynergySendClipboard()
623 text_length = max_length; in uSynergySendClipboard()
630 …sAddUInt32(context, 4+4+4+text_length); /* Rest of message size: numFormats, format, length, dat… in uSynergySendClipboard()
633 sAddUInt32(context, text_length); in uSynergySendClipboard()
/third_party/flutter/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c617 uint32_t text_length = (uint32_t)strlen(text); in uSynergySendClipboard() local
618 if (text_length > max_length) in uSynergySendClipboard()
623 text_length = max_length; in uSynergySendClipboard()
630 …sAddUInt32(context, 4+4+4+text_length); /* Rest of message size: numFormats, format, length, dat… in uSynergySendClipboard()
633 sAddUInt32(context, text_length); in uSynergySendClipboard()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngset.c836 size_t text_length, key_len; in png_set_text_2() local
886 text_length = 0; in png_set_text_2()
898 text_length = strlen(text_ptr[i].text); in png_set_text_2()
903 key_len + text_length + lang_len + lang_key_len + 4)); in png_set_text_2()
915 (key_len + lang_len + lang_key_len + text_length + 4), in png_set_text_2()
939 if (text_length != 0) in png_set_text_2()
940 memcpy(textp->text, text_ptr[i].text, text_length); in png_set_text_2()
942 *(textp->text + text_length) = '\0'; in png_set_text_2()
947 textp->text_length = 0; in png_set_text_2()
948 textp->itxt_length = text_length; in png_set_text_2()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngset.c836 size_t text_length, key_len; in png_set_text_2() local
886 text_length = 0; in png_set_text_2()
898 text_length = strlen(text_ptr[i].text); in png_set_text_2()
903 key_len + text_length + lang_len + lang_key_len + 4)); in png_set_text_2()
915 (key_len + lang_len + lang_key_len + text_length + 4), in png_set_text_2()
939 if (text_length != 0) in png_set_text_2()
940 memcpy(textp->text, text_ptr[i].text, text_length); in png_set_text_2()
942 *(textp->text + text_length) = '\0'; in png_set_text_2()
947 textp->text_length = 0; in png_set_text_2()
948 textp->itxt_length = text_length; in png_set_text_2()
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-subset-fuzzer.cc13 int text_length, in trySubset() argument
23 for (int i = 0; i < text_length; i++) in trySubset()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dassembly_grammar.cpp46 size_t text_length = strlen(textValue); in spvTextParseMaskOperand() local
47 if (text_length == 0) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
48 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
/third_party/spirv-tools/source/
Dassembly_grammar.cpp48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand() local
49 if (text_length == 0) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
/third_party/skia/third_party/externals/spirv-tools/source/
Dassembly_grammar.cpp48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand() local
49 if (text_length == 0) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dassembly_grammar.cpp48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand() local
49 if (text_length == 0) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
/third_party/mesa3d/src/broadcom/cle/
Dv3d_decoder.c627 uint32_t text_offset = 0, text_length = 0; in v3d_spec_load() local
638 text_length = genxml_files_table[i].length; in v3d_spec_load()
642 if (text_length == 0) { in v3d_spec_load()
666 assert(text_offset + text_length <= total_length); in v3d_spec_load()
668 buf = XML_GetBuffer(ctx.parser, text_length); in v3d_spec_load()
669 memcpy(buf, &text_data[text_offset], text_length); in v3d_spec_load()
671 if (XML_ParseBuffer(ctx.parser, text_length, true) == 0) { in v3d_spec_load()
676 XML_GetCurrentByteIndex(ctx.parser), text_length, in v3d_spec_load()

123