Home
last modified time | relevance | path

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

/frameworks/rs/cpp/
DRenderScript.cpp213 size_t receiveLen = 0; in threadProc() local
217 &receiveLen, sizeof(receiveLen), in threadProc()
220 if (receiveLen >= rbuf_size) { in threadProc()
221 rbuf_size = receiveLen + 32; in threadProc()
228 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc()
252 rs->mMessageFunc(usrID, rbuf, receiveLen); in threadProc()
/frameworks/rs/
DrsThreadIO.cpp174 RsMessageToClientType ThreadIO::getClientHeader(size_t *receiveLen, uint32_t *usrID) { in getClientHeader() argument
178 receiveLen[0] = mLastClientHeader.bytes; in getClientHeader()
184 RsMessageToClientType ThreadIO::getClientPayload(void *data, size_t *receiveLen, in getClientPayload() argument
187 receiveLen[0] = mLastClientHeader.bytes; in getClientPayload()
192 if (receiveLen[0]) { in getClientPayload()
193 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.cpp695 RsMessageToClientType Context::peekMessageToClient(size_t *receiveLen, uint32_t *subID) { in peekMessageToClient() argument
696 return (RsMessageToClientType)mIO.getClientHeader(receiveLen, subID); in peekMessageToClient()
699 RsMessageToClientType Context::getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, … in getMessageToClient() argument
700 return (RsMessageToClientType)mIO.getClientPayload(data, receiveLen, subID, bufferLen); in getMessageToClient()
845 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextPeekMessage() argument
847 return rsc->peekMessageToClient(receiveLen, subID); in rsi_ContextPeekMessage()
851 size_t * receiveLen, size_t receiveLen_length, in rsi_ContextGetMessage() argument
855 return rsc->getMessageToClient(data, receiveLen, subID, data_length); in rsi_ContextGetMessage()
DrsContext.h158 RsMessageToClientType peekMessageToClient(size_t *receiveLen, uint32_t *subID);
159 …RsMessageToClientType getMessageToClient(void *data, size_t *receiveLen, uint32_t *subID, size_t b…
Drs.spec8 param size_t *receiveLen
15 param size_t *receiveLen
DrsHidlAdaptation.cpp362 … size_t * receiveLen, size_t receiveLen_length, in ContextGetMessage() argument
367 [&msgType, receiveLen](MessageToClientType retMessageType, uint64_t retReceiveLen) { in ContextGetMessage()
369 *receiveLen = retReceiveLen; in ContextGetMessage()
375 … size_t * receiveLen, size_t receiveLen_length, in ContextPeekMessage() argument
380 …[&msgType, receiveLen, subID](MessageToClientType retMessageType, uint64_t retReceiveLen, uint32_t… in ContextPeekMessage()
382 *receiveLen = retReceiveLen; in ContextPeekMessage()
DrsApiStubs.cpp229 size_t * receiveLen, size_t receiveLen_length, in rsContextGetMessage() argument
233 receiveLen, receiveLen_length, in rsContextGetMessage()
238 … size_t * receiveLen, size_t receiveLen_length, in rsContextPeekMessage() argument
242 receiveLen, receiveLen_length, in rsContextPeekMessage()
DrsApiStubs.h34 …xtGetMessage (RsContext rsc, void * data, size_t data_length, size_t * receiveLen, size_t receiveL…
35 extern "C" RsMessageToClientType rsContextPeekMessage (RsContext rsc, size_t * receiveLen, size_t r…
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp853 size_t receiveLen; in nContextGetErrorMessage() local
857 &receiveLen, sizeof(receiveLen), in nContextGetErrorMessage()
859 if (!id && receiveLen) { in nContextGetErrorMessage()
872 size_t receiveLen; in nContextGetUserMessage() local
876 &receiveLen, sizeof(receiveLen), in nContextGetUserMessage()
878 if (!id && receiveLen) { in nContextGetUserMessage()
891 size_t receiveLen; in nContextPeekMessage() local
893 int id = dispatchTab.ContextPeekMessage((RsContext)con, &receiveLen, sizeof(receiveLen), in nContextPeekMessage()
896 auxDataPtr[1] = (jint)receiveLen; in nContextPeekMessage()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp969 size_t receiveLen; in nContextGetErrorMessage() local
973 &receiveLen, sizeof(receiveLen), in nContextGetErrorMessage()
975 if (!id && receiveLen) { in nContextGetErrorMessage()
976 ALOGV("message receive buffer too small. %zu", receiveLen); in nContextGetErrorMessage()
993 size_t receiveLen; in nContextGetUserMessage() local
997 &receiveLen, sizeof(receiveLen), in nContextGetUserMessage()
999 if (!id && receiveLen) { in nContextGetUserMessage()
1000 ALOGV("message receive buffer too small. %zu", receiveLen); in nContextGetUserMessage()
1017 size_t receiveLen; in nContextPeekMessage() local
1019 int id = rsContextPeekMessage((RsContext)con, &receiveLen, sizeof(receiveLen), in nContextPeekMessage()
[all …]