Searched refs:mAvailableToConsume (Results 1 – 2 of 2) sorted by relevance
32 return mCapacity - mAvailableToConsume; in availableToProduce()37 return mAvailableToConsume; in availableToConsume()44 const size_t toProduce = mCapacity - mAvailableToConsume; in makeRoomForProduce()49 mAvailableToConsume -= toDrop; in makeRoomForProduce()57 if (mAvailableToConsume < mCapacity) { in waitForProduceAvailable()67 const int availableToProduce = mCapacity - mAvailableToConsume; in getProduceChunk()81 const int availableToProduce = mCapacity - mAvailableToConsume; in produce()85 mAvailableToConsume += size; in produce()93 int produceSize = std::min(mCapacity - mAvailableToConsume, int(size)); in produce()98 const int availableToProduce = mCapacity - mAvailableToConsume; in produce()[all …]
93 int mAvailableToConsume = 0; member