Searched refs:clientIndex (Results 1 – 4 of 4) sorted by relevance
38 volatile uint32_t clientIndex; // Current read/write index for application member43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {} in effect_param_cblk_t()
299 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()302 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()305 mCblk->clientIndex += size; in setParameterDeferred()317 if (mCblk->clientIndex == 0) { in setParameterCommit()
1220 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()1223 mCblk->clientIndex = 0; in command()1227 while (mCblk->serverIndex < mCblk->clientIndex) { in command()1232 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) { in command()1262 mCblk->clientIndex = 0; in command()1323 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
2647 int clientIndex = mLruProcesses.lastIndexOf(client); in updateLruProcessLocked() local2648 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG, "Unknown client " + client in updateLruProcessLocked()2650 if (clientIndex <= lrui) { in updateLruProcessLocked()2653 clientIndex = lrui; in updateLruProcessLocked()2655 if (clientIndex >= 0 && index > clientIndex) { in updateLruProcessLocked()2656 index = clientIndex; in updateLruProcessLocked()