Searched refs:rbuf (Results 1 – 3 of 3) sorted by relevance
/frameworks/rs/cpp/ |
D | RenderScript.cpp | 213 void * rbuf = malloc(rbuf_size); in threadProc() local 228 rbuf = realloc(rbuf, rbuf_size); 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() 256 rs->mMessageFunc(usrID, rbuf, receiveLen); in threadProc() 267 if (rbuf) { in threadProc() 268 free(rbuf); in threadProc()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 1243 int[] rbuf = new int[16]; in run() local 1246 rbuf[0] = 0; in run() 1252 if ((size>>2) >= rbuf.length) { in run() 1253 rbuf = new int[(size + 3) >> 2]; in run() 1255 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1261 mRS.mMessageCallback.mData = rbuf; in run() 1301 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1305 long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL); in run()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 1232 int[] rbuf = new int[16]; in run() local 1235 rbuf[0] = 0; in run() 1241 if ((size>>2) >= rbuf.length) { in run() 1242 rbuf = new int[(size + 3) >> 2]; in run() 1244 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run() 1250 mRS.mMessageCallback.mData = rbuf; in run()
|