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

/frameworks/rs/cpp/
H A DRenderScript.cpp214 void * rbuf = malloc(rbuf_size); local
229 rbuf = realloc(rbuf, rbuf_size);
231 if (!rbuf) {
235 RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen),
240 ALOGE("RS Error %s", (const char *)rbuf);
243 rs->mErrorFunc(usrID, (const char *)rbuf);
259 rs->mMessageFunc(usrID, rbuf, receiveLen);
270 if (rbuf) {
271 free(rbuf);
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java1276 int[] rbuf = new int[16];
1279 rbuf[0] = 0;
1285 if ((size>>2) >= rbuf.length) {
1286 rbuf = new int[(size + 3) >> 2];
1288 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
1294 mRS.mMessageCallback.mData = rbuf;
1334 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
1338 long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java1267 int[] rbuf = new int[16];
1270 rbuf[0] = 0;
1276 if ((size>>2) >= rbuf.length) {
1277 rbuf = new int[(size + 3) >> 2];
1279 if (mRS.nContextGetUserMessage(mRS.mContext, rbuf) !=
1285 mRS.mMessageCallback.mData = rbuf;

Completed in 202 milliseconds