Searched refs:newBuf (Results 1 – 1 of 1) sorted by relevance
50 ExpandBuf* newBuf = new ExpandBuf; in expandBufAlloc() local51 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage)); in expandBufAlloc()52 newBuf->curLen = 0; in expandBufAlloc()53 newBuf->maxLen = kInitialStorage; in expandBufAlloc()54 return newBuf; in expandBufAlloc()