Home
last modified time | relevance | path

Searched refs:alloc_vector (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/osi/test/fuzzers/allocator/
Dfuzz_allocator.cc24 void callArbitraryFunction(std::vector<void*>* alloc_vector, in callArbitraryFunction() argument
49 alloc_vector->push_back(ptr); in callArbitraryFunction()
56 if (alloc_vector->size() == 0) { in callArbitraryFunction()
60 0, alloc_vector->size() - 1); in callArbitraryFunction()
61 void* ptr = alloc_vector->at(index); in callArbitraryFunction()
69 alloc_vector->erase(alloc_vector->begin() + index); in callArbitraryFunction()
90 alloc_vector->push_back(str); in callArbitraryFunction()
104 std::vector<void*> alloc_vector; in LLVMFuzzerTestOneInput() local
109 callArbitraryFunction(&alloc_vector, &dataProvider); in LLVMFuzzerTestOneInput()
112 for (const auto& alloc : alloc_vector) { in LLVMFuzzerTestOneInput()
[all …]
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/
Dfuzz_list.cc72 std::vector<void*>* alloc_vector, in callArbitraryFunction() argument
113 void* search_buf = getArbitraryElement(alloc_vector, dataProvider); in callArbitraryFunction()
154 alloc_vector->push_back(buf); in callArbitraryFunction()
165 alloc_vector->push_back(buf); in callArbitraryFunction()
175 alloc_vector->push_back(buf); in callArbitraryFunction()
185 void* buf = getArbitraryElement(alloc_vector, dataProvider); in callArbitraryFunction()
254 std::vector<void*> alloc_vector; in LLVMFuzzerTestOneInput() local
260 callArbitraryFunction(&list_vector, &alloc_vector, &dataProvider); in LLVMFuzzerTestOneInput()
269 for (const auto& alloc : alloc_vector) { in LLVMFuzzerTestOneInput()