Home
last modified time | relevance | path

Searched refs:text_length (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/fuzz/
H A 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()
[all...]
/third_party/rust/crates/minimal-lexical/scripts/
H A 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/
H A 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/skia/third_party/externals/libwebp/imageio/
H A 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/src/
H A Dhb-buffer.h430 int text_length,
437 int text_length,
444 int text_length,
451 int text_length,
458 int text_length,
H A Dhb-buffer.cc1543 int text_length, in hb_buffer_add_utf()
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()
1613 * @text: (array length=text_length) (element-type uint8_t): An array of UTF-8
1615 * @text_length: The length of the @text, or -1 if it is %NULL terminated.
1630 int text_length, in hb_buffer_add_utf8()
1634 hb_buffer_add_utf<hb_utf8_t> (buffer, (const uint8_t *) text, text_length, item_offset, item_length); in hb_buffer_add_utf8()
1640 * @text: (array length=text_length)
1541 hb_buffer_add_utf(hb_buffer_t *buffer, const typename utf_t::codepoint_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf() argument
1628 hb_buffer_add_utf8(hb_buffer_t *buffer, const char *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf8() argument
1654 hb_buffer_add_utf16(hb_buffer_t *buffer, const uint16_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf16() argument
1680 hb_buffer_add_utf32(hb_buffer_t *buffer, const uint32_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf32() argument
1707 hb_buffer_add_latin1(hb_buffer_t *buffer, const uint8_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_latin1() argument
1741 hb_buffer_add_codepoints(hb_buffer_t *buffer, const hb_codepoint_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_codepoints() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Dhb-subset-fuzzer.cc13 int text_length, in trySubset()
23 for (int i = 0; i < text_length; i++) in trySubset()
11 trySubset(hb_face_t *face, const hb_codepoint_t text[], int text_length, unsigned flag_bits) trySubset() argument
/third_party/skia/third_party/externals/libpng/
H A 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...]
H A Dpngrutil.c2585 text_info.text_length = strlen(text); in png_handle_tEXt()
2690 text.text_length = uncompressed_length; in png_handle_zTXt()
2843 text.text_length = 0; in png_handle_iTXt()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dassembly_grammar.cpp48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand()
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/
H A Dassembly_grammar.cpp48 size_t text_length = strlen(textValue); in spvTextParseMaskOperand()
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/
H A Dassembly_grammar.cpp49 size_t text_length = strlen(textValue); in spvTextParseMaskOperand()
50 if (text_length == 0) return SPV_ERROR_INVALID_TEXT; in spvTextParseMaskOperand()
51 const char* text_end = textValue + text_length; in spvTextParseMaskOperand()
/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
H A 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, data */ in uSynergySendClipboard()
633 sAddUInt32(context, text_length); in uSynergySendClipboard()
/third_party/mesa3d/src/broadcom/cle/
H A 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/mesa3d/src/intel/common/
H A 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/ffmpeg/libavcodec/
H A Dmovtextdec.c482 int text_length; in mov_text_decode_frame() local
503 text_length = AV_RB16(ptr); in mov_text_decode_frame()
504 end = ptr + FFMIN(2 + text_length, avpkt->size); in mov_text_decode_frame()
513 if (text_length + 2 < avpkt->size) { in mov_text_decode_frame()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dgl4cShadingLanguage420PackTests.cpp1410 const size_t text_length = strlen(text); in replaceToken() local
1414 string.replace(token_position, token_length, text, text_length); in replaceToken()
1416 search_position = token_position + text_length; in replaceToken()
1427 const size_t text_length = strlen(text); in replaceAllTokens() local
1441 search_position = token_position + text_length; in replaceAllTokens()
1443 string.replace(token_position, token_length, text, text_length); in replaceAllTokens()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A 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/
H A 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()
3174 macro_assembler->AdvanceCurrentPosition(-text_length); in EmitGreedyLoop()
3137 EmitGreedyLoop(RegExpCompiler* compiler, Trace* trace, AlternativeGenerationList* alt_gens, PreloadState* preload, GreedyLoopState* greedy_loop_state, int text_length) EmitGreedyLoop() argument
H A Dregexp-nodes.h656 GreedyLoopState* greedy_loop_state, int text_length);
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A 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()

Completed in 59 milliseconds

12