Lines Matching refs:mShared
53 mShared((Shared *) (mOwn ? new char[sharedSize(size)] : shared))
55 new (mShared) Shared;
60 mShared->~Shared();
62 delete[] (char *) mShared;
76 : mSize(0), mShared(NULL), mRear(0), mEnabled(false) in Writer()
81 : mSize(roundup(size)), mShared((Shared *) shared), mRear(0), mEnabled(mShared != NULL) in Writer()
86 : mSize(roundup(size)), mShared(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL), in Writer()
87 mIMemory(iMemory), mRear(0), mEnabled(mShared != NULL) in Writer()
190 mShared->mBuffer[rear + i] = entry->readAt(i); in log()
194 mShared->mBuffer[i] = entry->readAt(written + i); in log()
198 android_atomic_release_store(mRear += written, &mShared->mRear); in log()
209 mEnabled = enabled && mShared != NULL; in setEnabled()
276 : mSize(roundup(size)), mShared((const Shared *) shared), mFront(0) in Reader()
281 : mSize(roundup(size)), mShared(iMemory != 0 ? (const Shared *) iMemory->pointer() : NULL), in Reader()
288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); in dump()
308 memcpy(copy, &mShared->mBuffer[front], read); in dump()
312 memcpy(©[read], mShared->mBuffer, remaining); in dump()