Home
last modified time | relevance | path

Searched refs:receiveLen (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/rs/
DrsThreadIO.cpp161 RsMessageToClientType ThreadIO::getClientHeader(size_t *receiveLen, uint32_t *usrID) { in getClientHeader() argument
175 receiveLen[0] = mLastClientHeader.bytes; in getClientHeader()
180 RsMessageToClientType ThreadIO::getClientPayload(void *data, size_t *receiveLen, in getClientPayload() argument
182 receiveLen[0] = mLastClientHeader.bytes; in getClientPayload()
188 if (receiveLen[0]) { in getClientPayload()
189 mToClientSocket.read(data, receiveLen[0]); in getClientPayload()
198 if (bufferLen >= receiveLen[0]) { in getClientPayload()
199 memcpy(data, d+1, receiveLen[0]); in getClientPayload()
DrsThreadIO.h56 RsMessageToClientType getClientHeader(size_t *receiveLen, uint32_t *usrID);
57 …RsMessageToClientType getClientPayload(void *data, size_t *receiveLen, uint32_t *subID, size_t buf…
DrsContext.cpp549 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) { in peekMessageToClient() argument
550 return (RsMessageToClientType)mIO.getClientHeader(receiveLen, subID); in peekMessageToClient()
553 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, … in getMessageToClient() argument
554 return (RsMessageToClientType)mIO.getClientPayload(data, receiveLen, subID, bufferLen); in getMessageToClient()
682 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextPeekMessage() argument
684 return rsc->peekMessageToClient(receiveLen, subID); in rsi_ContextPeekMessage()
688 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextGetMessage() argument
692 return rsc->getMessageToClient(data, receiveLen, subID, data_length); in rsi_ContextGetMessage()
DrsContext.h140 RsMessageToClientType peekMessageToClient(size_t *receiveLen, uint32_t *subID);
141 …RsMessageToClientType getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t b…
Drs.spec9 param size_t *receiveLen
16 param size_t *receiveLen
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp258 size_t receiveLen; in nContextGetErrorMessage() local
262 &receiveLen, sizeof(receiveLen), in nContextGetErrorMessage()
264 if (!id && receiveLen) { in nContextGetErrorMessage()
265 LOGV("message receive buffer too small. %i", receiveLen); in nContextGetErrorMessage()
276 size_t receiveLen; in nContextGetUserMessage() local
280 &receiveLen, sizeof(receiveLen), in nContextGetUserMessage()
282 if (!id && receiveLen) { in nContextGetUserMessage()
283 LOGV("message receive buffer too small. %i", receiveLen); in nContextGetUserMessage()
294 size_t receiveLen; in nContextPeekMessage() local
296 int id = rsContextPeekMessage(con, &receiveLen, sizeof(receiveLen), in nContextPeekMessage()
[all …]