Lines Matching refs:shared
57 Mutator(Shared *shared)
58 : mSequence(0), mShared(shared)
61 // shared->init();
68 Shared *shared = mShared;
71 android_atomic_acquire_store(sequence, &shared->mSequence);
72 shared->mValue = value;
74 android_atomic_release_store(sequence, &shared->mSequence);
109 Observer(Shared *shared)
110 : mSequence(0), mSeed(1), mShared(shared)
113 shared->init();
119 Shared *shared = mShared;
120 int32_t before = shared->mSequence;
130 before = shared->mSequence;
133 T temp = shared->mValue;
134 int32_t after = android_atomic_release_load(&shared->mSequence);
137 shared->mAck = before;
165 SingleStateQueue(void /*Shared*/ *shared);