Home
last modified time | relevance | path

Searched refs:ObjectType (Results 1 – 11 of 11) sorted by relevance

/aosp12/system/chre/util/include/chre/util/
H A Doptional_impl.h28 Optional<ObjectType>::Optional(const ObjectType &object) { in Optional()
34 Optional<ObjectType>::Optional(ObjectType &&object) { in Optional()
58 ObjectType &Optional<ObjectType>::value() { in value()
63 const ObjectType &Optional<ObjectType>::value() const { in value()
68 Optional<ObjectType> &Optional<ObjectType>::operator=(ObjectType &&other) {
80 Optional<ObjectType> &Optional<ObjectType>::operator=(
97 Optional<ObjectType> &Optional<ObjectType>::operator=(const ObjectType &other) {
126 ObjectType &Optional<ObjectType>::operator*() {
136 ObjectType *Optional<ObjectType>::operator->() {
146 ObjectType &Optional<ObjectType>::object() { in object()
[all …]
H A Dunique_ptr_impl.h35 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} in UniquePtr()
38 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType> &&other) { in UniquePtr()
61 ObjectType *UniquePtr<ObjectType>::get() const { in get()
66 ObjectType *UniquePtr<ObjectType>::release() { in release()
73 void UniquePtr<ObjectType>::reset(ObjectType *object) { in reset()
83 mObject->~ObjectType(); in reset()
90 ObjectType *UniquePtr<ObjectType>::operator->() const {
95 ObjectType &UniquePtr<ObjectType>::operator*() const {
100 ObjectType &UniquePtr<ObjectType>::operator[](size_t index) const {
117 UniquePtr<ObjectType> &UniquePtr<ObjectType>::operator=(
[all …]
H A Doptional.h28 template <typename ObjectType>
91 ObjectType &value();
101 Optional<ObjectType> &operator=(ObjectType &&other);
111 Optional<ObjectType> &operator=(Optional<ObjectType> &&other);
120 Optional<ObjectType> &operator=(const ObjectType &other);
128 Optional<ObjectType> &operator=(const Optional<ObjectType> &other);
137 ObjectType &operator*();
155 ObjectType *operator->();
168 typename std::aligned_storage<sizeof(ObjectType), alignof(ObjectType)>::type
174 ObjectType &object();
[all …]
H A Dsingleton_impl.h27 template <typename ObjectType>
28 typename std::aligned_storage<sizeof(ObjectType), alignof(ObjectType)>::type
31 template <typename ObjectType>
34 template <typename ObjectType>
43 template <typename ObjectType>
46 get()->~ObjectType(); in deinit()
51 template <typename ObjectType>
56 template <typename ObjectType>
57 ObjectType *Singleton<ObjectType>::get() { in get()
61 template <typename ObjectType>
[all …]
H A Dunique_ptr.h31 template <typename ObjectType>
37 typedef ObjectType *pointer;
52 UniquePtr(ObjectType *object);
87 ObjectType *get() const;
97 ObjectType *release();
107 void reset(ObjectType *object);
118 ObjectType *operator->() const;
123 ObjectType &operator*() const;
138 UniquePtr<ObjectType> &operator=(UniquePtr<ObjectType> &&other);
167 ObjectType *mObject;
[all …]
H A Dsingleton.h36 template <typename ObjectType>
70 static ObjectType *get();
80 static ObjectType *safeGet();
84 static typename std::aligned_storage<sizeof(ObjectType),
85 alignof(ObjectType)>::type sObject;
/aosp12/frameworks/native/vulkan/libvulkan/
H A Ddebug_report.h103 template <typename ObjectType>
104 void Info(ObjectType object, const char* format, ...) const in Info()
113 template <typename ObjectType>
114 void Warn(ObjectType object, const char* format, ...) const in Warn()
123 template <typename ObjectType>
124 void Err(ObjectType object, const char* format, ...) const in Err()
134 template <typename ObjectType>
136 if (std::is_same<ObjectType, VkInstance>::value) in GetObjectType()
140 else if (std::is_same<ObjectType, VkDevice>::value) in GetObjectType()
146 template <typename ObjectType>
[all …]
/aosp12/art/compiler/optimizing/
H A Dreference_type_propagation_test.cc199 EXPECT_TRUE(t2.IsEqual(ObjectType())); in TEST_F()
209 EXPECT_TRUE(t4.IsEqual(ObjectType())); in TEST_F()
222 ReferenceTypeInfo t1(MergeTypes(ObjectType(), ObjectType())); in TEST_F()
225 EXPECT_TRUE(t1.IsEqual(ObjectType())); in TEST_F()
235 EXPECT_TRUE(t3.IsEqual(ObjectType(false))); in TEST_F()
241 EXPECT_TRUE(t4.IsEqual(ObjectType(false))); in TEST_F()
244 ReferenceTypeInfo t5(MergeTypes(ObjectType(false), ObjectType())); in TEST_F()
247 EXPECT_TRUE(t5.IsEqual(ObjectType(false))); in TEST_F()
248 ReferenceTypeInfo t6(MergeTypes(ObjectType(), ObjectType(false))); in TEST_F()
251 EXPECT_TRUE(t6.IsEqual(ObjectType(false))); in TEST_F()
[all …]
/aosp12/system/update_engine/common/
H A Daction_pipe.h54 template <typename ObjectType>
61 const ObjectType& contents() const { return contents_; } in contents()
65 void set_contents(const ObjectType& contents) { contents_ = contents; } in set_contents()
72 std::shared_ptr<ActionPipe<ObjectType>> pipe(new ActionPipe<ObjectType>); in Bond()
81 ObjectType contents_;
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DMemory.h55 template <typename ObjectType>
60 uint32_t add(const ObjectType* object) { in add()
79 const ObjectType* operator[](size_t i) const {
88 const std::vector<const ObjectType*>& getObjects() const { return mObjects; } in getObjects()
92 std::vector<const ObjectType*> mObjects;
94 std::unordered_map<const ObjectType*, uint32_t> mKnown;
/aosp12/frameworks/native/cmds/lshal/
H A DListCommand.cpp161 template <typename ObjectType>
162 VintfInfo getVintfInfo(const std::shared_ptr<const ObjectType>& object, in getVintfInfo()