Home
last modified time | relevance | path

Searched refs:rbuf (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/cpp/
DRenderScript.cpp207 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/
DRenderScript.java1285 int[] rbuf = new int[16]; in run() local
1288 rbuf[0] = 0; in run()
1294 if ((size>>2) >= rbuf.length) { in run()
1295 rbuf = new int[(size + 3) >> 2]; in run()
1297 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
1303 mRS.mMessageCallback.mData = rbuf; in run()
1343 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
1347 long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL); in run()
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java1285 int[] rbuf = new int[16]; in run() local
1288 rbuf[0] = 0; in run()
1294 if ((size>>2) >= rbuf.length) { in run()
1295 rbuf = new int[(size + 3) >> 2]; in run()
1297 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) != in run()
1303 mRS.mMessageCallback.mData = rbuf; in run()