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);
102 // returns the last value written (or the contents of the shared buffer after initialization
116 Observer(Shared *shared)
117 : mSequence(0), mSeed(1), mShared(shared)
120 shared->init();
126 Shared *shared = mShared;
127 int32_t before = shared->mSequence;
137 before = shared->mSequence;
140 T temp = shared->mValue;
141 int32_t after = android_atomic_release_load(&shared->mSequence);
144 shared->mAck = before;
172 SingleStateQueue(void /*Shared*/ *shared);