Searched refs:fCapacity (Results 1 – 9 of 9) sorted by relevance
/external/icu4c/tools/genrb/ |
D | ustr.c | 35 s->fLength = s->fCapacity = 0; in ustr_init() 44 s->fLength = s->fCapacity = 0; in ustr_initChars() 48 if(s->fCapacity < length) { in ustr_initChars() 75 s->fLength = s->fCapacity = 0; in ustr_deinit() 87 if(dst->fCapacity < src->fLength) { in ustr_cpy() 108 if(s->fCapacity < (len + 1)) { in ustr_setlen() 135 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 155 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 187 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 212 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
D | ustr.h | 55 int32_t fCapacity; member
|
/external/icu4c/layoutex/ |
D | RunArrays.cpp | 20 : fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(initialCapacity) in RunArray() 23 fLimits = LE_NEW_ARRAY(le_int32, fCapacity); in RunArray() 37 if (fCount >= fCapacity) { in ensureCapacity() 38 if (fCapacity == 0) { in ensureCapacity() 39 fCapacity = INITIAL_CAPACITY; in ensureCapacity() 40 init(fCapacity); in ensureCapacity() 42 fCapacity += (fCapacity < CAPACITY_GROW_LIMIT ? fCapacity : CAPACITY_GROW_LIMIT); in ensureCapacity() 43 grow(fCapacity); in ensureCapacity()
|
/external/icu4c/i18n/ |
D | nfrlist.h | 37 uint32_t fCapacity; variable 42 , fCapacity(capacity) {} 64 if (fCount == fCapacity) { in add() 65 fCapacity += 10; in add() 66 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add() 71 fCapacity = 0; in add() 82 fCapacity = 0; in release()
|
D | sortkey.cpp | 107 fUnion.fFields.fCapacity = newCapacity; in reallocate()
|
/external/icu4c/layoutex/layout/ |
D | RunArrays.h | 219 le_int32 fCapacity; variable 223 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 229 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 235 : UObject(), fClientArrays(TRUE), fLimits(limits), fCount(count), fCapacity(count) in RunArray()
|
/external/icu4c/i18n/unicode/ |
D | sortkey.h | 261 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity() 308 int32_t fCapacity; member
|
/external/icu4c/common/ |
D | unistr.cpp | 388 fUnion.fFields.fCapacity = (int32_t)((words - 1) * (sizeof(int32_t) / U_SIZEOF_UCHAR)); in allocate() 393 fUnion.fFields.fCapacity = 0; in allocate() 504 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 512 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 530 fUnion.fFields.fCapacity = 0; in copyFrom() 1122 fUnion.fFields.fCapacity = 0; in setToBogus() 1314 fUnion.fFields.fCapacity -= length; in doReplace() 1322 fUnion.fFields.fCapacity = start; // not NUL-terminated any more in doReplace()
|
/external/icu4c/common/unicode/ |
D | unistr.h | 3541 int32_t fCapacity; // capacity of fArray (in UChars) member 3615 { return (fFlags&kUsingStackBuffer) ? US_STACKBUF_SIZE : fUnion.fFields.fCapacity; } in getCapacity() 4269 fUnion.fFields.fCapacity = capacity; in setArray() 4488 fUnion.fFields.fCapacity = targetLength; // not NUL-terminated any more in truncate()
|