Searched refs:rbuf (Results 1 – 3 of 3) sorted by relevance
/frameworks/rs/cpp/ |
D | RenderScript.cpp | 207 void * rbuf = malloc(rbuf_size); in threadProc() local 222 void *tmpBuf = realloc(rbuf, rbuf_size); in threadProc() 224 rbuf = tmpBuf; in threadProc() 226 free(rbuf); in threadProc() 227 rbuf = NULL; in threadProc() 230 if (!rbuf) { in threadProc() 234 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc() 239 ALOGE("RS Error %s", (const char *)rbuf); in threadProc() 242 rs->mErrorFunc(usrID, (const char *)rbuf); in threadProc() 258 rs->mMessageFunc(usrID, rbuf, receiveLen); in threadProc() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 1280 int[] rbuf = new int[16]; in run() local 1283 rbuf[0] = 0; in run() 1289 if ((size>>2) >= rbuf.length) { in run() 1290 rbuf = new int[(size + 3) >> 2]; in run() 1292 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1298 mRS.mMessageCallback.mData = rbuf; in run() 1338 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1342 long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL); in run()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | RenderScript.java | 1280 int[] rbuf = new int[16]; in run() local 1283 rbuf[0] = 0; in run() 1289 if ((size>>2) >= rbuf.length) { in run() 1290 rbuf = new int[(size + 3) >> 2]; in run() 1292 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1298 mRS.mMessageCallback.mData = rbuf; in run()
|