Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/vulkan_enc_unit_tests/
DCommandBufferStagingStream_test.cpp231 MockFree freeFn; in TEST() local
232 EXPECT_CALL(freeFn, Call(Eq(memory))).Times(1); in TEST()
237 auto freeStdFn = freeFn.AsStdFunction(); in TEST()
260 MockFree freeFn; in TEST() local
261 EXPECT_CALL(freeFn, Call).Times(0); in TEST()
266 auto freeStdFn = freeFn.AsStdFunction(); in TEST()
290 MockFree freeFn; in TEST() local
291 EXPECT_CALL(freeFn, Call(Eq(memory))).Times(1); in TEST()
296 auto freeStdFn = freeFn.AsStdFunction(); in TEST()
309 MockFree freeFn; in TEST() local
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp50 CommandBufferStagingStream::CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn) in CommandBufferStagingStream() argument
88 m_free = [&freeFn](const Memory& mem) { in CommandBufferStagingStream()
89 if (!freeFn) { in CommandBufferStagingStream()
93 freeFn(mem); in CommandBufferStagingStream()
DCommandBufferStagingStream.h60 explicit CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn);
DResourceTracker.cpp139 CommandBufferStagingStream::Free&& freeFn) { in setAllocFree()
141 mFree = freeFn; in setAllocFree()