nsCRT::memset(newBuffer, 0, sizeof(PRInt32) * newSize);
memset(newBuffer, 0, sizeof(PRInt32) * newSize);
nsAutoIndexBuffer::GrowTo(PRInt32 aAtLeast){  if (aAtLeast > mBufferLen)  {    PRInt32 newSize = mBufferLen * 2;    if (newSize < mBufferLen + aAtLeast) {      newSize = mBufferLen * 2 + aAtLeast;    }    PRInt32* newBuffer = new PRInt32[newSize];    if (!newBuffer) {      return NS_ERROR_OUT_OF_MEMORY;    }    nsCRT::memset(newBuffer, 0, sizeof(PRInt32) * newSize);    memcpy(newBuffer, mBuffer, sizeof(PRInt32) * mBufferLen);    if (mBuffer != mAutoBuffer) {      delete [] mBuffer;    }    mBuffer = newBuffer;    mBufferLen = newSize;  }  return NS_OK;}