/external/icu4c/tools/genrb/ |
D | ustr.c | 34 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() 74 s->fLength = s->fCapacity = 0; in ustr_deinit() 86 if(dst->fCapacity < src->fLength) { in ustr_cpy() 107 if(s->fCapacity < (len + 1)) { in ustr_setlen() 134 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 154 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 186 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 211 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
D | ustr.h | 42 int32_t fCapacity; member
|
/external/chromium/third_party/icu/source/tools/genrb/ |
D | ustr.c | 34 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() 74 s->fLength = s->fCapacity = 0; in ustr_deinit() 86 if(dst->fCapacity < src->fLength) { in ustr_cpy() 107 if(s->fCapacity < (len + 1)) { in ustr_setlen() 134 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 154 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 186 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 211 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
D | ustr.h | 42 int32_t fCapacity; member
|
/external/chromium/third_party/icu/source/i18n/ |
D | sortkey.cpp | 49 : 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 …]
|
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 | zstrfmt.h | 452 int32_t fCapacity;
|
D | zstrfmt.cpp | 1635 : fCapacity(capacity), fFirst(NULL) { in ZSFCache() 1730 if (idx >= fCapacity && entry->fRefCount == 0) { in get()
|
/external/icu4c/i18n/ |
D | sortkey.cpp | 49 : 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 …]
|
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 | zstrfmt.h | 509 int32_t fCapacity;
|
D | zstrfmt.cpp | 1799 : fCapacity(capacity), fFirst(NULL) { in ZSFCache() 1894 if (idx >= fCapacity && entry->fRefCount == 0) { in get()
|
/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/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/common/ |
D | unistr.cpp | 384 fUnion.fFields.fCapacity = (int32_t)((words - 1) * (sizeof(int32_t) / U_SIZEOF_UCHAR)); in allocate() 389 fUnion.fFields.fCapacity = 0; in allocate() 500 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 508 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 526 fUnion.fFields.fCapacity = 0; in copyFrom() 1073 fUnion.fFields.fCapacity = 0; in setToBogus() 1240 fUnion.fFields.fCapacity -= length; in doReplace() 1248 fUnion.fFields.fCapacity = start; // not NUL-terminated any more in doReplace()
|
D | udata.c | 390 int32_t fCapacity; member 397 This->fCapacity = sizeof(This->fStaticBuf)-1; in TinyString_init() 403 if (newLen >= This->fCapacity) { in TinyString_append() 412 This->fCapacity = newCapacity; in TinyString_append() 415 if (newLen < This->fCapacity) { in TinyString_append() 424 if (newLen >= This->fCapacity) { in TinyString_appendn() 433 This->fCapacity = newCapacity; in TinyString_appendn() 436 if (newLen < This->fCapacity) { in TinyString_appendn()
|
/external/chromium/third_party/icu/source/common/ |
D | udata.c | 354 int32_t fCapacity; member 361 This->fCapacity = sizeof(This->fStaticBuf)-1; in TinyString_init() 367 if (newLen >= This->fCapacity) { in TinyString_append() 376 This->fCapacity = newCapacity; in TinyString_append() 379 if (newLen < This->fCapacity) { in TinyString_append() 388 if (newLen >= This->fCapacity) { in TinyString_appendn() 397 This->fCapacity = newCapacity; in TinyString_appendn() 400 if (newLen < This->fCapacity) { in TinyString_appendn()
|
D | unistr.cpp | 383 fUnion.fFields.fCapacity = (int32_t)((words - 1) * (sizeof(int32_t) / U_SIZEOF_UCHAR)); in allocate() 388 fUnion.fFields.fCapacity = 0; in allocate() 499 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 507 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 525 fUnion.fFields.fCapacity = 0; in copyFrom() 1061 fUnion.fFields.fCapacity = 0; in setToBogus()
|
/external/icu4c/i18n/unicode/ |
D | sortkey.h | 289 int32_t fCapacity; variable
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
D | sortkey.h | 289 int32_t fCapacity; variable
|
/external/icu4c/common/unicode/ |
D | unistr.h | 3421 int32_t fCapacity; // sizeof fArray member 3491 { return (fFlags&kUsingStackBuffer) ? US_STACKBUF_SIZE : fUnion.fFields.fCapacity; } in getCapacity() 4197 fUnion.fFields.fCapacity = capacity; in setArray() 4426 fUnion.fFields.fCapacity = targetLength; // not NUL-terminated any more in truncate()
|
/external/chromium/third_party/icu/public/common/unicode/ |
D | unistr.h | 3384 int32_t fCapacity; // sizeof fArray member 3454 { return (fFlags&kUsingStackBuffer) ? US_STACKBUF_SIZE : fUnion.fFields.fCapacity; } in getCapacity() 4155 fUnion.fFields.fCapacity = capacity; in setArray()
|