Searched refs:newbuff (Results 1 – 2 of 2) sorted by relevance
172 void *newbuff = realloc(buff, bufsize); in nl_getmsg() local173 if (newbuff == NULL || bufsize < lastbufsize) { in nl_getmsg()174 free(newbuff); in nl_getmsg()178 buff = newbuff; in nl_getmsg()
643 uint8_t* newbuff = realloc(pipe->buffer, newsize); in pingPongPipe_sendBuffers() local645 if (newbuff == NULL) { in pingPongPipe_sendBuffers()650 memcpy(newbuff + pipe->size, newbuff, wpos); in pingPongPipe_sendBuffers()652 pipe->buffer = newbuff; in pingPongPipe_sendBuffers()