Lines Matching refs:bytesCapacity
128 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder()
193 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
198 bytesCapacity=0; in build()
209 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece()
252 if(bytesCapacity<capacity) { in buildBytes()
257 bytesCapacity=0; in buildBytes()
260 bytesCapacity=capacity; in buildBytes()
375 if(length>bytesCapacity) { in ensureCapacity()
376 int32_t newCapacity=bytesCapacity; in ensureCapacity()
385 bytesCapacity=0; in ensureCapacity()
389 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity()
392 bytesCapacity=newCapacity; in ensureCapacity()
402 bytes[bytesCapacity-bytesLength]=(char)byte; in write()
412 uprv_memcpy(bytes+(bytesCapacity-bytesLength), b, length); in write()