/third_party/skia/fuzz/ |
D | FuzzSkParagraph.cpp | 117 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/ |
D | timings.py | 92 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/ |
D | perf-shaping.hh | 21 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/ |
D | gst-atsc-section.c | 985 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/ |
D | hb-buffer.cc | 1543 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 …]
|
D | hb-buffer.h | 430 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/ |
D | pngdec.c | 170 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/ |
D | hb-subset-fuzzer.cc | 13 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/ |
D | uSynergy.c | 617 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/ |
D | pngset.c | 836 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 …]
|
D | pngrutil.c | 2586 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/ |
D | assembly_grammar.cpp | 48 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/ |
D | assembly_grammar.cpp | 48 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/ |
D | assembly_grammar.cpp | 48 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/ |
D | v3d_decoder.c | 627 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/ |
D | movtextdec.c | 469 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/ |
D | intel_decoder.c | 596 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/ |
D | gl3cGPUShader5Tests.cpp | 314 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()
|
D | gl4cStencilTexturingTests.cpp | 378 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()
|
D | gl3cTextureSwizzleTests.cpp | 2152 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()
|
D | gl4cMultiBindTests.cpp | 1595 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/ |
D | glcTextureFilterAnisotropicTests.cpp | 62 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/ |
D | regexp-compiler.cc | 2618 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()
|
D | regexp-nodes.h | 656 GreedyLoopState* greedy_loop_state, int text_length);
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | makepng.c | 1252 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()
|