Lines Matching refs:thisEngine
551 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Destroy() local
555 if (thisEngine->mThis != thiz) { in IObject_Destroy()
556 interface_lock_exclusive(thisEngine); in IObject_Destroy()
559 assert(0 < thisEngine->mInstanceCount); in IObject_Destroy()
560 --thisEngine->mInstanceCount; in IObject_Destroy()
565 assert(thisEngine->mInstanceMask & mask); in IObject_Destroy()
566 thisEngine->mInstanceMask &= ~mask; in IObject_Destroy()
567 assert(thisEngine->mInstances[i] == thiz); in IObject_Destroy()
568 thisEngine->mInstances[i] = NULL; in IObject_Destroy()
571 if (thisEngine->mThis != thiz) { in IObject_Destroy()
572 interface_unlock_exclusive(thisEngine); in IObject_Destroy()
811 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Publish() local
812 interface_lock_exclusive(thisEngine); in IObject_Publish()
814 unsigned availMask = ~thisEngine->mInstanceMask; in IObject_Publish()
818 assert(NULL == thisEngine->mInstances[i]); in IObject_Publish()
819 thisEngine->mInstances[i] = thiz; in IObject_Publish()
820 thisEngine->mInstanceMask |= 1 << i; in IObject_Publish()
823 interface_unlock_exclusive(thisEngine); in IObject_Publish()