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()
305 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred()308 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred()311 mCblk->clientIndex += size; in setParameterDeferred()323 if (mCblk->clientIndex == 0) { in setParameterCommit()
1382 const uint32_t clientIndex = mCblk->clientIndex; in command() local1384 if (clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command()1387 mCblk->clientIndex = 0; in command()1392 for (uint32_t index = serverIndex; index < clientIndex;) { in command()1397 || ((uint8_t *)p + size) > mBuffer + clientIndex) { in command()1422 || clientIndex > mCblk->clientIndex) { in command()1441 mCblk->clientIndex = 0; in command()1496 mCblk ? mCblk->clientIndex : 0, in dumpToBuffer()
3515 int clientIndex = mLruProcesses.lastIndexOf(client); in updateLruProcessLocked() local3516 if (DEBUG_LRU && clientIndex < 0) Slog.d(TAG_LRU, "Unknown client " + client in updateLruProcessLocked()3518 if (clientIndex <= lrui) { in updateLruProcessLocked()3521 clientIndex = lrui; in updateLruProcessLocked()3523 if (clientIndex >= 0 && index > clientIndex) { in updateLruProcessLocked()3524 index = clientIndex; in updateLruProcessLocked()