Home
last modified time | relevance | path

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

/frameworks/rs/cpp/
DRenderScript.cpp206 size_t rbuf_size = 256; in threadProc() local
207 void * rbuf = malloc(rbuf_size); in threadProc()
220 if (receiveLen >= rbuf_size) { in threadProc()
221 rbuf_size = receiveLen + 32; in threadProc()
222 void *tmpBuf = realloc(rbuf, rbuf_size); in threadProc()
231 ALOGE("RS::message handler realloc error %zu", rbuf_size); in threadProc()
234 … RS::dispatch->ContextGetMessage(rs->mContext, rbuf, rbuf_size, &receiveLen, sizeof(receiveLen), in threadProc()