Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/hidl_common/
DRegisteredHandlePool.cpp24 return bufPool.insert(bufferHandle).second; in add()
32 return bufPool.erase(bufferHandle) == 1 ? bufferHandle : nullptr; in remove()
40 return bufPool.count(bufferHandle) == 1 ? bufferHandle : nullptr; in get()
46 return (bufPool.find(buffer) != bufPool.end()); in isRegistered()
52 std::for_each(bufPool.begin(), bufPool.end(), fn); in for_each()
DRegisteredHandlePool.h48 std::unordered_set<buffer_handle_t> bufPool; variable