Lines Matching refs:newBuffer
306 int32_t *newBuffer = reinterpret_cast<int32_t *>(uprv_malloc(newCapacity * 4)); in appendOffset() local
307 if(newBuffer == NULL) { in appendOffset()
312 uprv_memcpy(newBuffer, offsetBuffer, length * 4); in appendOffset()
315 offsetBuffer = newBuffer; in appendOffset()
4432 char *newBuffer = (char *)uprv_malloc(newCapacity); in Resize() local
4433 if (newBuffer == NULL) { in Resize()
4436 uprv_memcpy(newBuffer, buffer_, length); in Resize()
4438 ownedBuffer_ = buffer_ = newBuffer; in Resize()
4458 uint8_t *newBuffer = (uint8_t *)uprv_malloc(appended_); in OrphanUnsignedBuffer() local
4459 if (newBuffer == NULL) { in OrphanUnsignedBuffer()
4463 uprv_memcpy(newBuffer, buffer_, appended_); in OrphanUnsignedBuffer()
4465 return newBuffer; in OrphanUnsignedBuffer()