Home
last modified time | relevance | path

Searched refs:fCapacity (Results 1 – 14 of 14) sorted by relevance

/external/icu4c/common/
Dunistr.cpp152 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
159 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
205 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
214 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
226 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
236 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
247 fCapacity(isTerminated ? textLength + 1 : textLength), in UnicodeString()
254 fCapacity = US_STACKBUF_SIZE; in UnicodeString()
265 fCapacity = fLength + 1; in UnicodeString()
273 fCapacity(buffCapacity), in UnicodeString()
[all …]
Dunistr_case.cpp139 fLength = ustr_toLower(csp, fArray, fCapacity, in caseMap()
143 fLength = ustr_toUpper(csp, fArray, fCapacity, in caseMap()
150 fLength = ustr_toTitle(csp, fArray, fCapacity, in caseMap()
155 fLength = ustr_foldCase(csp, fArray, fCapacity, in caseMap()
Dunistr_cnv.cpp42 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
56 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
69 fCapacity(US_STACKBUF_SIZE), in UnicodeString()
347 ucnv_toUnicode(converter, &myTarget, fArray + fCapacity, in doCodepageCreate()
Dudata.c350 int32_t fCapacity; member
357 This->fCapacity = sizeof(This->fStaticBuf)-1; in TinyString_init()
363 if (newLen >= This->fCapacity) { in TinyString_append()
372 This->fCapacity = newCapacity; in TinyString_append()
375 if (newLen < This->fCapacity) { in TinyString_append()
384 if (newLen >= This->fCapacity) { in TinyString_appendn()
393 This->fCapacity = newCapacity; in TinyString_appendn()
396 if (newLen < This->fCapacity) { in TinyString_appendn()
/external/icu4c/tools/genrb/
Dustr.c34 s->fLength = s->fCapacity = 0; in ustr_init()
43 s->fLength = s->fCapacity = 0; in ustr_initChars()
47 if(s->fCapacity < length) { in ustr_initChars()
73 s->fLength = s->fCapacity = 0; in ustr_deinit()
84 if(dst->fCapacity < src->fLength) { in ustr_cpy()
105 if(s->fCapacity < (len + 1)) { in ustr_setlen()
132 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat()
152 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat()
184 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat()
209 s->fLength = s->fCapacity = 0; in ustr_resize()
[all …]
Dustr.h42 int32_t fCapacity; member
/external/icu4c/i18n/
Dsortkey.cpp49 : UObject(), fBogus(FALSE), fCount(0), fCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
56 : UObject(), fBogus(FALSE), fCount(count), fCapacity(count), in CollationKey()
71 : UObject(other), fBogus(FALSE), fCount(other.fCount), fCapacity(other.fCapacity), in CollationKey()
80 fBytes = (uint8_t *)uprv_malloc(fCapacity); in CollationKey()
89 if(fCapacity>fCount) { in CollationKey()
90 uprv_memset(fBytes+fCount, 0, fCapacity-fCount); in CollationKey()
106 fCapacity = count; in adopt()
128 fCapacity = 0; in setToBogus()
306 if (fCapacity < newSize) in ensureCapacity()
317 uprv_memset(fBytes, 0, fCapacity); in ensureCapacity()
[all …]
Dnfrlist.h37 uint32_t fCapacity; variable
42 , fCapacity(capacity) {};
61 if (fCount == fCapacity) { in add()
62 fCapacity += 10; in add()
63 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add()
74 fCapacity = 0; in release()
Dzstrfmt.h452 int32_t fCapacity;
Dzstrfmt.cpp1573 : fCapacity(capacity), fFirst(NULL) { in ZSFCache()
1668 if (idx >= fCapacity && entry->fRefCount == 0) { in get()
/external/icu4c/layoutex/
DRunArrays.cpp20 : 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/layoutex/layout/
DRunArrays.h219 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/
Dsortkey.h289 int32_t fCapacity; variable
/external/icu4c/common/unicode/
Dunistr.h3217 int32_t fCapacity; // sizeof fArray variable
3288 { return fCapacity; } in getCapacity()
3947 } else if(fLength<fCapacity && fArray[fLength]==0) { in getTerminatedBuffer()