Home
last modified time | relevance | path

Searched refs:bytesCapacity (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp131 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()
379 if(length>bytesCapacity) { in ensureCapacity()
380 int32_t newCapacity=bytesCapacity; in ensureCapacity()
389 bytesCapacity=0; in ensureCapacity()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ducm.c954 if(m->bLen>4 && table->bytesCapacity==0) { in ucm_addMapping()
955 table->bytesCapacity=10000; in ucm_addMapping()
956 table->bytes=(uint8_t *)uprv_malloc(table->bytesCapacity); in ucm_addMapping()
959 (int)table->bytesCapacity); in ucm_addMapping()
979 if(table->bytesLength>table->bytesCapacity) { in ucm_addMapping()
Ducm.h78 int32_t bytesCapacity, bytesLength; member
/external/icu/icu4c/source/common/unicode/
Dbytestriebuilder.h177 int32_t bytesCapacity; variable