Searched refs:allocFn (Results 1 – 4 of 4) sorted by relevance
225 MockAlloc allocFn; in TEST() local228 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() local257 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() local287 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 …]
50 CommandBufferStagingStream::CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn) in CommandBufferStagingStream() argument58 m_alloc = [&allocFn](size_t size) -> Memory { in CommandBufferStagingStream()69 if (!allocFn) { in CommandBufferStagingStream()76 memory = allocFn(totalSize); in CommandBufferStagingStream()
60 explicit CommandBufferStagingStream(const Alloc& allocFn, const Free& freeFn);
138 void setAllocFree(CommandBufferStagingStream::Alloc&& allocFn, in setAllocFree()140 mAlloc = allocFn; in setAllocFree()