Home
last modified time | relevance | path

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

12

/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/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/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/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/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/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/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 …]
Dpngrutil.c2586 text_info.text_length = strlen(text); in png_handle_tEXt()
2691 text.text_length = uncompressed_length; in png_handle_zTXt()
2844 text.text_length = 0; in png_handle_iTXt()
/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/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/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()
/third_party/ffmpeg/libavcodec/
Dmovtextdec.c469 int text_length, tsmb_type, ret_tsmb; in mov_text_decode_frame() local
492 text_length = AV_RB16(ptr); in mov_text_decode_frame()
493 end = ptr + FFMIN(2 + text_length, avpkt->size); in mov_text_decode_frame()
499 m->tracksize = 2 + text_length; in mov_text_decode_frame()
504 if (text_length + 2 != avpkt->size) { in mov_text_decode_frame()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c596 uint32_t text_offset = 0, text_length = 0; in intel_spec_load() local
603 text_length = genxml_files_table[i].length; in intel_spec_load()
608 if (text_length == 0) { in intel_spec_load()
633 assert(text_offset + text_length <= total_length); in intel_spec_load()
635 buf = XML_GetBuffer(ctx.parser, text_length); in intel_spec_load()
636 memcpy(buf, &text_data[text_offset], text_length); in intel_spec_load()
638 if (XML_ParseBuffer(ctx.parser, text_length, true) == 0) { in intel_spec_load()
643 XML_GetCurrentByteIndex(ctx.parser), text_length, in intel_spec_load()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cGPUShader5Tests.cpp314 const size_t text_length = strlen(text); in replaceToken() local
318 string.replace(token_position, token_length, text, text_length); in replaceToken()
320 search_position = token_position + text_length; in replaceToken()
Dgl4cStencilTexturingTests.cpp378 const size_t text_length = strlen(text); in replaceToken() local
392 string.replace(token_position, token_length, text, text_length); in replaceToken()
394 search_position = token_position + text_length; in replaceToken()
Dgl3cTextureSwizzleTests.cpp2152 const size_t text_length = strlen(text); in replaceToken() local
2156 string.replace(token_position, token_length, text, text_length); in replaceToken()
2158 search_position = token_position + text_length; in replaceToken()
Dgl4cMultiBindTests.cpp1595 const size_t text_length = strlen(text); in replaceToken() local
1599 string.replace(token_position, token_length, text, text_length); in replaceToken()
1601 search_position = token_position + text_length; in replaceToken()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp62 const size_t text_length = strlen(text); in replaceToken() local
68 str.replace(token_position, token_length, text, text_length); in replaceToken()
/third_party/node/deps/v8/src/regexp/
Dregexp-compiler.cc2618 int text_length = in Emit() local
2620 DCHECK_NE(kNodeIsTooComplexForGreedyLoops, text_length); in Emit()
2623 DCHECK(trace->cp_offset() == text_length); in Emit()
2624 macro_assembler->AdvanceCurrentPosition(text_length); in Emit()
3099 int text_length = GreedyLoopTextLengthForAlternative(&alternatives_->at(0)); in Emit() local
3102 if (choice_count > 1 && text_length != kNodeIsTooComplexForGreedyLoops) { in Emit()
3104 &greedy_loop_state, text_length); in Emit()
3141 int text_length) { in EmitGreedyLoop() argument
3174 macro_assembler->AdvanceCurrentPosition(-text_length); in EmitGreedyLoop()
Dregexp-nodes.h656 GreedyLoopState* greedy_loop_state, int text_length);
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c1252 text->text_length = 0; /* libpng calculates this */ in clear_text()
1268 text->text_length = load_file(param+1, &file); in set_text()
1281 text->text_length = fake_len; in set_text()

12