Lines Matching refs:Instance
26 static TaskFactory &Instance();
30 return Instance().alloc_();
35 Instance().free_(task);
40 if (Instance().getUnfreedMem_ != nullptr) {
41 return Instance().getUnfreedMem_();
48 return Instance().lockMem_();
52 return Instance().unlockMem_();
60 Instance().alloc_ = std::move(alloc);
61 Instance().free_ = std::move(free);
62 Instance().getUnfreedMem_ = std::move(getUnfreedMem);
63 Instance().lockMem_ = std::move(lockMem);
64 Instance().unlockMem_ = std::move(unlockMem);