Lines Matching refs:rec
91 for (auto&& rec : mBuffers) { in forceShutdown()
92 if (rec.inUse) { in forceShutdown()
95 alloc.free(rec.handle); in forceShutdown()
96 rec.handle = nullptr; in forceShutdown()
197 for (auto&& rec : mBuffers) { in doneWithFrame()
198 if (rec.handle == nullptr) { in doneWithFrame()
199 rec.handle = mBuffers[buffer.bufferId].handle; in doneWithFrame()
327 for (auto&& rec : mBuffers) { in increaseAvailableFrames_Locked()
328 if (rec.handle == nullptr) { in increaseAvailableFrames_Locked()
330 rec.handle = memHandle; in increaseAvailableFrames_Locked()
331 rec.inUse = false; in increaseAvailableFrames_Locked()
355 for (auto&& rec : mBuffers) { in decreaseAvailableFrames_Locked()
357 if ((rec.inUse == false) && (rec.handle != nullptr)) { in decreaseAvailableFrames_Locked()
359 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
360 rec.handle = nullptr; in decreaseAvailableFrames_Locked()