• Home
  • Raw
  • Download

Lines Matching refs:exists

44 	Object (bool& exists)  in Object()  argument
45 : m_exists(exists) in Object()
62 DerivedObject (bool& exists) in DerivedObject() argument
63 : Object(exists) in DerivedObject()
71 SharedPtrTestThread (const SharedPtr<Object>& ptr, const bool& exists) in SharedPtrTestThread() argument
73 , m_exists (exists) in SharedPtrTestThread()
107 WeakPtrTestThread (const SharedPtr<Object>& ptr, const bool& exists) in WeakPtrTestThread() argument
109 , m_exists (exists) in WeakPtrTestThread()
140 SharedPtr<Object> makeObject (bool& exists) in makeObject() argument
142 return SharedPtr<Object>(new Object(exists)); in makeObject()
187 bool exists = false; in SharedPtr_selfTest() local
189 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
190 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
194 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
199 bool exists = false; in SharedPtr_selfTest() local
202 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
203 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
209 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
211 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
216 bool exists = false; in SharedPtr_selfTest() local
217 bool test = (SharedPtr<Object>(new Object(exists))).get() != DE_NULL && exists; in SharedPtr_selfTest()
218 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
224 bool exists = false; in SharedPtr_selfTest() local
225 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
226 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
228 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
233 bool exists = false; in SharedPtr_selfTest() local
235 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
236 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
240 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
245 bool exists = false; in SharedPtr_selfTest() local
247 SharedPtr<Object> ptrA(new Object(exists)); in SharedPtr_selfTest()
248 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
251 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
253 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
255 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
260 bool exists = false; in SharedPtr_selfTest() local
262 SharedPtr<Object> ptrA(new Object(exists)); in SharedPtr_selfTest()
263 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
267 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
269 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
271 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
295 bool exists = false; in SharedPtr_selfTest() local
298 ptr = makeObject(exists); in SharedPtr_selfTest()
299 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
301 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
320 bool exists = false; in SharedPtr_selfTest() local
324 SharedPtr<DerivedObject> derivedPtr(new DerivedObject(exists)); in SharedPtr_selfTest()
325 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
327 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
329 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
331 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
336 bool exists = false; in SharedPtr_selfTest() local
338 SharedPtr<DerivedObject> derivedPtr (new DerivedObject(exists)); in SharedPtr_selfTest()
340 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
342 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
344 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
349 bool exists = false; in SharedPtr_selfTest() local
351 SharedPtr<DerivedObject> derivedPtr (new DerivedObject(exists)); in SharedPtr_selfTest()
352 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
356 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
358 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
363 bool exists = false; in SharedPtr_selfTest() local
364 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
365 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
371 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
379 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
392 bool exists = false; in SharedPtr_selfTest() local
394 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
396 SharedPtrTestThread threadA(ptr, exists); in SharedPtr_selfTest()
397 SharedPtrTestThread threadB(ptr, exists); in SharedPtr_selfTest()
404 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
406 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
411 bool exists = false; in SharedPtr_selfTest() local
413 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
414 WeakPtrTestThread threadA(ptr, exists); in SharedPtr_selfTest()
415 WeakPtrTestThread threadB(ptr, exists); in SharedPtr_selfTest()
422 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
424 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
429 bool exists = false; in SharedPtr_selfTest() local
432 SharedPtr<Object> ptr(new Object(exists), CustomDeleter(&deleterCalled)); in SharedPtr_selfTest()
433 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
437 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()