Searched refs:bufsArr (Results 1 – 2 of 2) sorted by relevance
65 uint32_t *bufsArr = new uint32_t [numArrayEntriesC]; in allocateBuffer() local66 if(!bufsArr) in allocateBuffer()74 memset(bufsArr, 0, sizeof(*bufsArr) * numArrayEntriesC); in allocateBuffer()94 (unsigned char**)&bufsArr[i], &mmap_fd)) < 0) in allocateBuffer()101 mIonHandleMap.add(bufsArr[i], (unsigned int)handle); in allocateBuffer()102 mIonFdMap.add(bufsArr[i], (unsigned int) mmap_fd); in allocateBuffer()103 mIonBufLength.add(bufsArr[i], (unsigned int) bytes); in allocateBuffer()113 return (void*)bufsArr; in allocateBuffer()117 if(bufsArr) in allocateBuffer()118 freeBuffer(bufsArr); in allocateBuffer()
1282 buffer_handle_t *bufsArr = new buffer_handle_t [bufferCount]; in allocVideoBufs() local1284 if (bufsArr != NULL){ in allocVideoBufs()1293 buf = (buffer_handle_t)bufsArr[j]; in allocVideoBufs()1297 delete [] bufsArr; in allocVideoBufs()1300 bufsArr[i] = buf; in allocVideoBufs()1304 mVideoBufs = (int32_t *)bufsArr; in allocVideoBufs()