Home
last modified time | relevance | path

Searched refs:unistr_size (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/icu4c/source/test/fuzzer/
Dcollator_rulebased_fuzzer.cpp17 size_t unistr_size = size/2; in LLVMFuzzerTestOneInput() local
18 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput()
19 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
20 icu::UnicodeString fuzzstr(false, fuzzbuff.get(), unistr_size); in LLVMFuzzerTestOneInput()
Dnumber_format_fuzzer.cpp28 size_t unistr_size = size/2; in LLVMFuzzerTestOneInput() local
29 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput()
30 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
40 icu::UnicodeString fuzzstr(false, fuzzbuff.get(), unistr_size); in LLVMFuzzerTestOneInput()
Dconverter_fuzzer.cpp35 size_t unistr_size = size/2; in LLVMFuzzerTestOneInput() local
36 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput()
37 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
39 icu::UnicodeString fuzzstr(false, fuzzbuff.get(), unistr_size); in LLVMFuzzerTestOneInput()
Dbreak_iterator_fuzzer.cpp31 size_t unistr_size = size/2; in LLVMFuzzerTestOneInput() local
32 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput()
33 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
35 UText* fuzzstr = utext_openUChars(nullptr, fuzzbuff.get(), unistr_size, &status); in LLVMFuzzerTestOneInput()