Home
last modified time | relevance | path

Searched refs:storage_ (Results 1 – 4 of 4) sorted by relevance

/system/libbase/include/android-base/
Dno_destructor.h67 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)];
/system/nvram/messages/include/nvram/messages/
Dtagged_union.h227 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];
/system/update_engine/common/
Dprefs.cc55 return storage_->GetKey(key, value); in GetString()
59 TEST_AND_RETURN_FALSE(storage_->SetKey(key, value)); in SetString()
103 return storage_->KeyExists(key); in Exists()
107 TEST_AND_RETURN_FALSE(storage_->DeleteKey(key)); in Delete()
136 return storage_->GetSubKeys(ns, keys); in GetSubKeys()
Dprefs.h66 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} in PrefsBase()
94 StorageInterface* storage_; variable