Searched refs:pat_end (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/libcxx/test/libcxx/fuzzing/ |
D | search.pass.cpp | 26 const std::uint8_t *pat_end = pat_begin + pat_size; in LLVMFuzzerTestOneInput() local 28 assert(pat_end <= data_end); in LLVMFuzzerTestOneInput() 30 auto it = std::search(pat_end, data_end, pat_begin, pat_end); in LLVMFuzzerTestOneInput() 32 if (!std::equal(pat_begin, pat_end, it)) in LLVMFuzzerTestOneInput()
|
/external/libcxx/fuzzing/ |
D | fuzzing.cpp | 560 const uint8_t *pat_end = pat_begin + pat_size; in search() local 562 assert(pat_end <= data_end); in search() 565 auto it = std::search(pat_end, data_end, pat_begin, pat_end); in search() 567 if (!std::equal(pat_begin, pat_end, it)) in search() 579 const uint8_t *pat_end = pat_begin + pat_size; in search_helper() local 582 auto it = std::search(pat_end, data_end, S(pat_begin, pat_end)); in search_helper() 584 if (!std::equal(pat_begin, pat_end, it)) in search_helper() 609 const uint8_t *pat_end = pat_begin + pat_size; in set_helper() local 611 v1.assign(pat_begin, pat_end); in set_helper() 612 v2.assign(pat_end, data_end); in set_helper()
|