Lines Matching refs:uchars
88 uchars(NULL), ucharsCapacity(0), ucharsLength(0) {} in UCharsTrieBuilder()
92 uprv_free(uchars); in ~UCharsTrieBuilder()
148 newTrie=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength)); in build()
152 uchars=NULL; // The new trie now owns the array. in build()
164 result.setTo(FALSE, uchars+(ucharsCapacity-ucharsLength), ucharsLength); in buildUnicodeString()
174 if(uchars!=NULL && ucharsLength>0) { in buildUChars()
212 uprv_free(uchars); in buildUChars()
213 uchars=static_cast<UChar *>(uprv_malloc(capacity*2)); in buildUChars()
214 if(uchars==NULL) { in buildUChars()
222 if(uchars==NULL) { in buildUChars()
322 if(uchars==NULL) { in ensureCapacity()
333 uprv_free(uchars); in ensureCapacity()
334 uchars=NULL; in ensureCapacity()
339 uchars+(ucharsCapacity-ucharsLength), ucharsLength); in ensureCapacity()
340 uprv_free(uchars); in ensureCapacity()
341 uchars=newUChars; in ensureCapacity()
352 uchars[ucharsCapacity-ucharsLength]=(UChar)unit; in write()
362 u_memcpy(uchars+(ucharsCapacity-ucharsLength), s, length); in write()