Searched refs:UnpackAndApply (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Fuzzer/test/ |
D | FuzzerFnAdapterUnittest.cpp | 86 bool UnpackAndApply(Fn F, std::initializer_list<uint8_t> Data) { in UnpackAndApply() function 88 return UnpackAndApply(F, V.data(), V.size()); in UnpackAndApply() 94 EXPECT_FALSE(UnpackAndApply(fnBool, {})); in TEST() 95 EXPECT_TRUE(UnpackAndApply(fnBool, {1})); in TEST() 96 EXPECT_NONFATAL_FAILURE(UnpackAndApply(fnBool, {0}), in TEST() 103 EXPECT_FALSE(UnpackAndApply(fnInt, {})); in TEST() 104 EXPECT_TRUE(UnpackAndApply(fnInt, {42, 0, 0, 0})); in TEST() 105 EXPECT_NONFATAL_FAILURE(UnpackAndApply(fnInt, {10, 0, 0, 0}), in TEST()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerFnAdapter.h | 170 bool UnpackAndApply(Fn F, const uint8_t *Data, size_t Size) { 182 return impl::UnpackAndApply(F, Data, Size);
|