Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/fuzzer/
Dunicode_string_codepage_create_fuzzer.cpp78 std::unique_ptr<char[]> fuzzbuff(new char[size]); in LLVMFuzzerTestOneInput() local
79 std::memcpy(fuzzbuff.get(), data, size); in LLVMFuzzerTestOneInput()
81 icu::UnicodeString str(fuzzbuff.get(), size, in LLVMFuzzerTestOneInput()
Dcollator_rulebased_fuzzer.cpp18 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput() local
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.cpp29 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput() local
30 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
40 icu::UnicodeString fuzzstr(false, fuzzbuff.get(), unistr_size); in LLVMFuzzerTestOneInput()
Dconverter_fuzzer.cpp36 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput() local
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.cpp32 std::unique_ptr<char16_t[]> fuzzbuff(new char16_t[unistr_size]); in LLVMFuzzerTestOneInput() local
33 std::memcpy(fuzzbuff.get(), data, unistr_size * 2); in LLVMFuzzerTestOneInput()
35 UText* fuzzstr = utext_openUChars(nullptr, fuzzbuff.get(), unistr_size, &status); in LLVMFuzzerTestOneInput()
Ducasemap_fuzzer.cpp38 std::unique_ptr<char[]> fuzzbuff(new char[size]); in LLVMFuzzerTestOneInput() local
39 std::memcpy(fuzzbuff.get(), data, size); in LLVMFuzzerTestOneInput()
54 auto src = reinterpret_cast<const char*>(fuzzbuff.get()); in LLVMFuzzerTestOneInput()