Home
last modified time | relevance | path

Searched refs:text32 (Results 1 – 6 of 6) sorted by relevance

/third_party/harfbuzz/test/fuzzing/
Dhb-shape-fuzzer.cc42 uint32_t text32[16] = {0}; in LLVMFuzzerTestOneInput() local
43 unsigned int len = sizeof (text32); in LLVMFuzzerTestOneInput()
47 memcpy (text32, data + size - len, len); in LLVMFuzzerTestOneInput()
50 text32[10] = test_font (font, text32[15]) % 256; in LLVMFuzzerTestOneInput()
53 hb_buffer_add_utf32 (buffer, text32, sizeof (text32) / sizeof (text32[0]), 0, -1); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-shape-fuzzer.cc42 uint32_t text32[16] = {0}; in LLVMFuzzerTestOneInput() local
43 unsigned int len = sizeof (text32); in LLVMFuzzerTestOneInput()
47 memcpy (text32, data + size - len, len); in LLVMFuzzerTestOneInput()
50 text32[10] = test_font (font, text32[15]) % 256; in LLVMFuzzerTestOneInput()
53 hb_buffer_add_utf32 (buffer, text32, sizeof (text32) / sizeof (text32[0]), 0, -1); in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-shape-fuzzer.cc28 uint32_t text32[16] = {0}; in LLVMFuzzerTestOneInput() local
29 unsigned int len = sizeof (text32); in LLVMFuzzerTestOneInput()
32 memcpy(text32, data + size - len, len); in LLVMFuzzerTestOneInput()
35 hb_buffer_add_utf32 (buffer, text32, sizeof (text32) / sizeof (text32[0]), 0, -1); in LLVMFuzzerTestOneInput()
41 test_face (face, text32[15]); in LLVMFuzzerTestOneInput()
/third_party/skia/tests/
DUnicodeTest.cpp19 int32_t text32[sizeof(text8)]; in DEF_TEST() local
26 text32[i] = text16[i] = text8[i]; in DEF_TEST()
37 …int count32 = font.textToGlyphs(text32, len32, SkTextEncoding::kUTF32, glyphs32, SK_ARRAY_COUNT(gl… in DEF_TEST()
/third_party/flutter/skia/tests/
DUnicodeTest.cpp19 int32_t text32[sizeof(text8)]; in DEF_TEST() local
26 text32[i] = text16[i] = text8[i]; in DEF_TEST()
37 …int count32 = font.textToGlyphs(text32, len32, SkTextEncoding::kUTF32, glyphs32, SK_ARRAY_COUNT(gl… in DEF_TEST()
/third_party/chromium/patch/
D0001-cve.patch24701 if (size > sizeof(text32)) {
24702 memcpy(text32, data + size - sizeof(text32), sizeof(text32));
24704 - hb_buffer_add_utf32(buffer.get(), text32, base::size(text32), 0, -1);
24705 + hb_buffer_add_utf32(buffer.get(), text32, std::size(text32), 0, -1);
46599 text32[10] = test_font (font, text32[15]) % 256;
46603 hb_buffer_add_utf32 (buffer, text32, sizeof (text32) / sizeof (text32[0]), 0, -1);