Lines Matching refs:e
87 Extras* e = mExtras.load(std::memory_order_acquire); in isRequestingSid() local
89 return e && e->mRequestingSid; in isRequestingSid()
93 Extras* e = mExtras.load(std::memory_order_acquire); in setRequestingSid() local
95 if (!e) { in setRequestingSid()
101 e = getOrCreateExtras(); in setRequestingSid()
102 if (!e) return; // out of memory in setRequestingSid()
105 e->mRequestingSid = requestingSid; in setRequestingSid()
147 Extras* e = getOrCreateExtras(); in attachObject() local
148 if (!e) return; // out of memory in attachObject()
150 AutoMutex _l(e->mLock); in attachObject()
151 e->mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
156 Extras* e = mExtras.load(std::memory_order_acquire); in findObject() local
157 if (!e) return nullptr; in findObject()
159 AutoMutex _l(e->mLock); in findObject()
160 return e->mObjects.find(objectID); in findObject()
165 Extras* e = mExtras.load(std::memory_order_acquire); in detachObject() local
166 if (!e) return; in detachObject()
168 AutoMutex _l(e->mLock); in detachObject()
169 e->mObjects.detach(objectID); in detachObject()
179 Extras* e = mExtras.load(std::memory_order_relaxed); in ~BHwBinder() local
180 if (e) delete e; in ~BHwBinder()
193 Extras* e = mExtras.load(std::memory_order_acquire); in getOrCreateExtras() local
195 if (!e) { in getOrCreateExtras()
196 e = new Extras; in getOrCreateExtras()
198 if (!mExtras.compare_exchange_strong(expected, e, in getOrCreateExtras()
201 delete e; in getOrCreateExtras()
202 e = expected; // Filled in by CAS in getOrCreateExtras()
204 if (e == nullptr) return nullptr; // out of memory in getOrCreateExtras()
207 return e; in getOrCreateExtras()