Home
last modified time | relevance | path

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

/frameworks/rs/cpp/
DRenderScript.cpp220 size_t receiveLen = 0; in threadProc() local
224 &receiveLen, sizeof(receiveLen), in threadProc()
227 if (receiveLen >= rbuf_size) { in threadProc()
228 rbuf_size = receiveLen + 32; in threadProc()
235 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc()
259 rs->mMessageFunc(usrID, rbuf, receiveLen); in threadProc()
/frameworks/rs/
DrsThreadIO.cpp175 RsMessageToClientType ThreadIO::getClientHeader(size_t *receiveLen, uint32_t *usrID) { in getClientHeader() argument
179 receiveLen[0] = mLastClientHeader.bytes; in getClientHeader()
185 RsMessageToClientType ThreadIO::getClientPayload(void *data, size_t *receiveLen, in getClientPayload() argument
188 receiveLen[0] = mLastClientHeader.bytes; in getClientPayload()
193 if (receiveLen[0]) { in getClientPayload()
194 mToClient.read(data, receiveLen[0]); in getClientPayload()
DrsThreadIO.h61 RsMessageToClientType getClientHeader(size_t *receiveLen, uint32_t *usrID);
62 …RsMessageToClientType getClientPayload(void *data, size_t *receiveLen, uint32_t *subID, size_t buf…
DrsContext.cpp731 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) { in peekMessageToClient() argument
732 return (RsMessageToClientType)mIO.getClientHeader(receiveLen, subID); in peekMessageToClient()
735 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, … in getMessageToClient() argument
736 return (RsMessageToClientType)mIO.getClientPayload(data, receiveLen, subID, bufferLen); in getMessageToClient()
884 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextPeekMessage() argument
886 return rsc->peekMessageToClient(receiveLen, subID); in rsi_ContextPeekMessage()
890 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextGetMessage() argument
894 return rsc->getMessageToClient(data, receiveLen, subID, data_length); in rsi_ContextGetMessage()
DrsContext.h168 RsMessageToClientType peekMessageToClient(size_t *receiveLen, uint32_t *subID);
169 …RsMessageToClientType getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t b…
Drs.spec8 param size_t *receiveLen
15 param size_t *receiveLen
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp840 size_t receiveLen; in nContextGetErrorMessage() local
844 &receiveLen, sizeof(receiveLen), in nContextGetErrorMessage()
846 if (!id && receiveLen) { in nContextGetErrorMessage()
859 size_t receiveLen; in nContextGetUserMessage() local
863 &receiveLen, sizeof(receiveLen), in nContextGetUserMessage()
865 if (!id && receiveLen) { in nContextGetUserMessage()
878 size_t receiveLen; in nContextPeekMessage() local
880 int id = dispatchTab.ContextPeekMessage((RsContext)con, &receiveLen, sizeof(receiveLen), in nContextPeekMessage()
883 auxDataPtr[1] = (jint)receiveLen; in nContextPeekMessage()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp958 size_t receiveLen; in nContextGetErrorMessage() local
962 &receiveLen, sizeof(receiveLen), in nContextGetErrorMessage()
964 if (!id && receiveLen) { in nContextGetErrorMessage()
965 ALOGV("message receive buffer too small. %zu", receiveLen); in nContextGetErrorMessage()
982 size_t receiveLen; in nContextGetUserMessage() local
986 &receiveLen, sizeof(receiveLen), in nContextGetUserMessage()
988 if (!id && receiveLen) { in nContextGetUserMessage()
989 ALOGV("message receive buffer too small. %zu", receiveLen); in nContextGetUserMessage()
1006 size_t receiveLen; in nContextPeekMessage() local
1008 int id = rsContextPeekMessage((RsContext)con, &receiveLen, sizeof(receiveLen), in nContextPeekMessage()
[all …]