Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 4 of 4) sorted by relevance

/device/htc/flounder/sensor_hub/libsensors/
DInputEventReader.cpp34 : mBuffer(new cw_event[numEvents * 2]) in InputEventCircularReader()
35 , mBufferEnd(mBuffer + numEvents) in InputEventCircularReader()
36 , mHead(mBuffer) in InputEventCircularReader()
37 , mCurr(mBuffer) in InputEventCircularReader()
44 delete [] mBuffer; in ~InputEventCircularReader()
63 memcpy(mBuffer, mBufferEnd, s * sizeof(cw_event)); in fill()
64 mHead = mBuffer + s; in fill()
75 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
84 mCurr = mBuffer; in next()
DInputEventReader.h33 struct cw_event* const mBuffer; variable
/device/asus/fugu/libaudio/
DAudioStreamIn.cpp56 , mBuffer(NULL) in AudioStreamIn()
168 if (mBuffer) { in standby_l()
169 delete [] mBuffer; in standby_l()
170 mBuffer = NULL; in standby_l()
373 if (mBuffer) { in startInputStream_l()
374 delete [] mBuffer; in startInputStream_l()
376 mBuffer = new int16_t[mBufferSize / sizeof(uint16_t)]; in startInputStream_l()
483 mReadStatus = pcm_read(mPcm, mBuffer, mBufferSize); in getNextBuffer()
497 mBuffer[i] = mBuffer[i * 2]; in getNextBuffer()
504 buffer->i16 = mBuffer + (mPcmConfig.period_size - mFramesIn); in getNextBuffer()
DAudioStreamIn.h113 int16_t* mBuffer; variable