Searched refs:fuzzbuff (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/test/fuzzer/ |
D | unicode_string_codepage_create_fuzzer.cpp | 78 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()
|
D | collator_rulebased_fuzzer.cpp | 18 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()
|
D | number_format_fuzzer.cpp | 29 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()
|
D | converter_fuzzer.cpp | 36 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()
|
D | break_iterator_fuzzer.cpp | 32 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()
|
D | ucasemap_fuzzer.cpp | 38 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()
|