Searched refs:storage_ (Results 1 – 4 of 4) sorted by relevance
67 new (storage_) T(std::forward<Args>(args)...); in NoDestructor()72 explicit NoDestructor(const T& x) { new (storage_) T(x); } in NoDestructor()73 explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); } in NoDestructor()86 const T* get() const { return reinterpret_cast<const T*>(storage_); } in get()87 T* get() { return reinterpret_cast<T*>(storage_); } in get()90 alignas(T) char storage_[sizeof(T)];
227 storage_);232 return reinterpret_cast<typename MemberLookup<tag>::Type::Type*>(storage_);238 new (storage_) MemberType();297 uint8_t storage_[detail::Max<sizeof(typename Member::Type)...>::value];
53 return storage_->GetKey(key, value); in GetString()57 TEST_AND_RETURN_FALSE(storage_->SetKey(key, value)); in SetString()101 return storage_->KeyExists(key); in Exists()105 TEST_AND_RETURN_FALSE(storage_->DeleteKey(key)); in Delete()116 return storage_->GetSubKeys(ns, keys); in GetSubKeys()
65 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase()91 StorageInterface* storage_; variable