Searched refs:unistr_size (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/icu4c/source/test/fuzzer/ |
D | collator_rulebased_fuzzer.cpp | 17 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()
|
D | number_format_fuzzer.cpp | 28 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()
|
D | converter_fuzzer.cpp | 35 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()
|
D | break_iterator_fuzzer.cpp | 31 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()
|