Home | History | Annotate | Download | only in unittest

Lines Matching defs:object

3218   delete s;  // ref count becomes zero and the object is destroyed.
3231 delete s; // ref count becomes zero and the object is destroyed.
3572 RefCountedClass *object = NULL;
3574 object->Ref();
3576 object->AccessData();
3577 object->Unref();
3581 object = new RefCountedClass;
3582 object->Annotate_Race();
3599 RefCountedClass *object = NULL;
3601 object->Ref();
3603 object->AccessData();
3604 object->Unref();
3609 object = new RefCountedClass;
3626 RefCountedClass *object = NULL;
3628 object->Ref();
3630 object->AccessData();
3631 object->Unref();
3636 object = new RefCountedClass;
3751 AtomicRefCountedClass *object = NULL;
3753 object->Ref();
3755 object->AccessData();
3756 object->Unref(); // All the tricky stuff is here.
3760 object = new AtomicRefCountedClass;
3761 object->Annotate_Race();
3777 AtomicRefCountedClass *object = NULL;
3779 object->Ref();
3781 object->AccessData();
3782 object->Unref(); // All the tricky stuff is here.
3786 object = new AtomicRefCountedClass;
3787 object->AnnotateUnref();
3797 // test82: Object published w/o synchronization. {{{1
3800 // Writer creates a new object and makes the pointer visible to the Reader.
3801 // Reader waits until the object pointer is non-null and reads the object.
3870 // test83: Object published w/o synchronization (simple version){{{1
3947 // We create an object 'A *a = new B'
3948 // and pass this object from Thread1 to Thread2.
3950 // Thread1 deletes the object. B::~B waits untill the object can be destroyed
4246 // The Publisher creates an object and safely publishes it under a mutex.
4247 // Readers access the object read-only.
4301 // The Publisher creates an object and safely publishes it under a mutex MU1.
4302 // Accessors get the object under MU1 and access it (read/write) under MU2.
4378 // This annotation should go right before the object is published.
4904 // test108: TN. initialization of static object. {{{1
4906 // Here we have a function-level static object.
4941 printf("test108: negative, initialization of static object\n");