Searched refs:ringbuf_vector (Results 1 – 1 of 1) sorted by relevance
23 ringbuffer_t* getArbitraryRingBuf(std::vector<ringbuffer_t*>* ringbuf_vector, in getArbitraryRingBuf() argument25 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() argument50 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 …]