Home
last modified time | relevance | path

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

/system/bt/osi/test/fuzzers/ringbuffer/
Dfuzz_ringbuffer.cc23 ringbuffer_t* getArbitraryRingBuf(std::vector<ringbuffer_t*>* ringbuf_vector, in getArbitraryRingBuf() argument
25 if (ringbuf_vector->empty()) { in getArbitraryRingBuf()
30 0, ringbuf_vector->size() - 1); in getArbitraryRingBuf()
31 return ringbuf_vector->at(index); in getArbitraryRingBuf()
34 void callArbitraryFunction(std::vector<ringbuffer_t*>* ringbuf_vector, in callArbitraryFunction() argument
50 ringbuf_vector->push_back(buf); in callArbitraryFunction()
55 if (ringbuf_vector->empty()) { in callArbitraryFunction()
59 0, ringbuf_vector->size() - 1); in callArbitraryFunction()
60 buf = ringbuf_vector->at(index); in callArbitraryFunction()
63 ringbuf_vector->erase(ringbuf_vector->begin() + index); in callArbitraryFunction()
[all …]