Lines Matching refs:bytesCapacity
131 bytes(NULL), bytesCapacity(0), bytesLength(0) { in BytesTrieBuilder()
197 newTrie=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength)); in build()
202 bytesCapacity=0; in build()
213 result.set(bytes+(bytesCapacity-bytesLength), bytesLength); in buildStringPiece()
256 if(bytesCapacity<capacity) { in buildBytes()
261 bytesCapacity=0; in buildBytes()
264 bytesCapacity=capacity; in buildBytes()
380 if(length>bytesCapacity) { in ensureCapacity()
381 int32_t newCapacity=bytesCapacity; in ensureCapacity()
390 bytesCapacity=0; in ensureCapacity()
394 bytes+(bytesCapacity-bytesLength), bytesLength); in ensureCapacity()
397 bytesCapacity=newCapacity; in ensureCapacity()
407 bytes[bytesCapacity-bytesLength]=(char)byte; in write()
417 uprv_memcpy(bytes+(bytesCapacity-bytesLength), b, length); in write()