Lines Matching refs:mCursor
35 , mCursor(0) in FrameScanner()
54 ALOGV("FrameScanner: byte = 0x%02X, mCursor = %d", byte, mCursor); in scan()
55 assert(mCursor < sizeof(mHeaderBuffer)); in scan()
56 if (mCursor < mSyncLength) { in scan()
58 if (byte == mSyncBytes[mCursor]) { in scan()
59 mHeaderBuffer[mCursor++] = byte; in scan()
62 mCursor = 0; in scan()
64 } else if (mCursor < mHeaderLength) { in scan()
66 mHeaderBuffer[mCursor++] = byte; in scan()
67 if (mCursor >= mHeaderLength) { in scan()
73 mCursor = 0; in scan()