Searched refs:kTextGapBufferBlockSize (Results 1 – 1 of 1) sorted by relevance
26 static const int32 kTextGapBufferBlockSize = 2048; variable33 fBufferCount(kTextGapBufferBlockSize + fItemCount), in TextGapBuffer()40 fBuffer = (char*)malloc(kTextGapBufferBlockSize + fItemCount); in TextGapBuffer()65 _EnlargeGapTo(inNumItems + kTextGapBufferBlockSize); in InsertText()101 _EnlargeGapTo(inNumItems + kTextGapBufferBlockSize); in InsertText()131 if (fGapCount > kTextGapBufferBlockSize) in RemoveRange()132 _ShrinkGapTo(kTextGapBufferBlockSize / 2); in RemoveRange()245 _EnlargeGapTo(kTextGapBufferBlockSize); in RealText()