Searched refs:oldBuf (Results 1 – 2 of 2) sorted by relevance
321 byte[] oldBuf = buffer; in ensureCapacity()322 buffer = new byte[oldBuf.length * 2]; in ensureCapacity()323 System.arraycopy(oldBuf, 0, buffer, 0, oldBuf.length); in ensureCapacity()
805 ErrorOr<std::unique_ptr<MemoryBuffer>> oldBuf = MemoryBuffer::getFile( in createImportLibrary() local807 if (!oldBuf) { in createImportLibrary()827 if ((*oldBuf)->getBuffer() != newBuf->getBuffer()) { in createImportLibrary()828 oldBuf->reset(); in createImportLibrary()