Searched refs:mincapacity (Results 1 – 2 of 2) sorted by relevance
151 UBool TextFile::ensureCapacity(int32_t mincapacity) { in ensureCapacity() argument152 if (capacity >= mincapacity) { in ensureCapacity()159 while (i < mincapacity) { in ensureCapacity()166 mincapacity = i; in ensureCapacity()170 char* newbuffer = (char*) uprv_malloc(mincapacity); in ensureCapacity()179 capacity = mincapacity; in ensureCapacity()