Lines Matching refs:ctorFn
95 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreateUnsafe() argument
99 storage = ctorFn(shard.allocator); in getOrCreateUnsafe()
124 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate() argument
128 return getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate()
147 return localInst = getOrCreateUnsafe(shard, lookupKey, ctorFn); in getOrCreate()
216 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) {
218 return getOrCreateUnsafe(shard, lookupKey, ctorFn);
253 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in getOrCreate()
258 ctorFn); in getOrCreate()
320 function_ref<BaseStorage *(StorageAllocator &)> ctorFn) -> BaseStorage * { in getParametricStorageTypeImpl() argument
321 return impl->getOrCreate(id, hashValue, isEqual, ctorFn); in getParametricStorageTypeImpl()
350 TypeID id, function_ref<BaseStorage *(StorageAllocator &)> ctorFn) { in registerSingletonImpl() argument
353 impl->singletonInstances.try_emplace(id, ctorFn(impl->singletonAllocator)); in registerSingletonImpl()