Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/vulkan_enc_unit_tests/
DCommandBufferStagingStream_test.cpp225 MockAlloc allocFn; in TEST() local
228 EXPECT_CALL(allocFn, Call(Ge(kTestBufferSize))).Times(1).WillRepeatedly(Return(memory)); in TEST()
236 auto allocStdFn = allocFn.AsStdFunction(); in TEST()
254 MockAlloc allocFn; in TEST() local
257 EXPECT_CALL(allocFn, Call(Ge(kTestBufferSize))).Times(1).WillRepeatedly(Return(memory)); in TEST()
265 auto allocStdFn = allocFn.AsStdFunction(); in TEST()
284 MockAlloc allocFn; in TEST() local
287 EXPECT_CALL(allocFn, Call(Ge(kTestBufferSize))).Times(1).WillRepeatedly(Return(memory)); in TEST()
295 auto allocStdFn = allocFn.AsStdFunction(); in TEST()
305 MockAlloc allocFn; in TEST() local
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp50 CommandBufferStagingStream::CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn) in CommandBufferStagingStream() argument
58 m_alloc = [&allocFn](size_t size) -> Memory { in CommandBufferStagingStream()
69 if (!allocFn) { in CommandBufferStagingStream()
76 memory = allocFn(totalSize); in CommandBufferStagingStream()
DCommandBufferStagingStream.h60 explicit CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn);
DResourceTracker.cpp138 void setAllocFree(CommandBufferStagingStream::Alloc&& allocFn, in setAllocFree()
140 mAlloc = allocFn; in setAllocFree()