Lines Matching refs:storage
102 static T* MutableInstance(StorageType* storage) { in MutableInstance()
103 return reinterpret_cast<T*>(storage); in MutableInstance()
107 static void InitStorageUsingTrait(StorageType* storage) { in InitStorageUsingTrait()
108 ConstructTrait::Construct(storage); in InitStorageUsingTrait()
117 static T* MutableInstance(StorageType* storage) { in MutableInstance()
118 return *storage; in MutableInstance()
122 static void InitStorageUsingTrait(StorageType* storage) { in InitStorageUsingTrait()
123 *storage = CreateTrait::Create(); in InitStorageUsingTrait()
145 static void Init(OnceType* once, Function function, Storage storage) { in Init()
146 CallOnce(once, function, storage); in Init()
154 static void Init(OnceType* once, Function function, Storage storage) { in Init()
156 function(storage); in Init()
171 static void InitInstance(void* storage) { in InitInstance()
173 static_cast<StorageType*>(storage)); in InitInstance()