Searched refs:newBuf (Results 1 – 2 of 2) sorted by relevance
49 ExpandBuf* newBuf = new ExpandBuf; in expandBufAlloc() local50 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage)); in expandBufAlloc()51 newBuf->curLen = 0; in expandBufAlloc()52 newBuf->maxLen = kInitialStorage; in expandBufAlloc()53 return newBuf; in expandBufAlloc()
935 uint8_t* newBuf = DebugAlloc(newLen); in Create() local938 uint16_t* pat = reinterpret_cast<uint16_t*>(newBuf); in Create()944 memcpy(newBuf + kGuardLen / 2, buf, len); in Create()951 *reinterpret_cast<uLong*>(newBuf) = adler; in Create()954 GuardedCopy* pExtra = reinterpret_cast<GuardedCopy*>(newBuf); in Create()960 return newBuf + kGuardLen / 2; in Create()