HomeSort by relevance Sort by last modified time
    Searched refs:fCapacity (Results 1 - 15 of 15) sorted by null

  /external/skia/src/core/
SkTDynamicHash.h 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) {
40 SkASSERT(fCurrentIndex <= fHash->fCapacity);
41 return fCurrentIndex == fHash->fCapacity;
67 SkASSERT(fCurrentIndex <= fHash->fCapacity);
68 return fCurrentIndex == fHash->fCapacity;
92 for (int round = 0; round < fCapacity; round++) {
93 SkASSERT(index >= 0 && index < fCapacity);
103 SkASSERT(fCapacity == 0);
124 sk_bzero(fArray, sizeof(T*)* fCapacity);
133 fCapacity = 0;
    [all...]
SkWriter32.cpp 69 fCapacity = 4096 + SkTMax(size, fCapacity + (fCapacity / 2));
70 fInternal.realloc(fCapacity);
SkRWBuffer.cpp 17 size_t fCapacity;
21 size_t avail() const { return fCapacity - fUsed; }
29 block->fCapacity = capacity;
45 SkASSERT(fCapacity > 0);
46 SkASSERT(fUsed <= fCapacity);
73 head->fBlock.fCapacity = capacity;
  /external/icu/icu4c/source/i18n/
nfrlist.h 37 uint32_t fCapacity;
42 , fCapacity(capacity) {}
64 if (fCount == fCapacity) {
65 fCapacity += 10;
66 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success
71 fCapacity = 0;
82 fCapacity = 0;
sortkey.cpp 107 fUnion.fFields.fCapacity = newCapacity;
  /external/skia/include/private/
SkTHash.h 27 SkTHashTable() : fCount(0), fRemoved(0), fCapacity(0) {}
39 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); }
54 if (4 * (fCount+fRemoved) >= 3 * fCapacity) {
55 this->resize(fCapacity > 0 ? fCapacity * 2 : 4);
63 int index = hash & (fCapacity-1);
64 for (int n = 0; n < fCapacity; n++) {
74 SkASSERT(fCapacity == 0);
83 int index = hash & (fCapacity-1);
84 for (int n = 0; n < fCapacity; n++)
    [all...]
  /external/icu/icu4c/source/layoutex/
RunArrays.cpp 20 : fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(initialCapacity)
23 fLimits = LE_NEW_ARRAY(le_int32, fCapacity);
37 if (fCount >= fCapacity) {
38 if (fCapacity == 0) {
39 fCapacity = INITIAL_CAPACITY;
40 init(fCapacity);
42 fCapacity += (fCapacity < CAPACITY_GROW_LIMIT ? fCapacity : CAPACITY_GROW_LIMIT);
43 grow(fCapacity);
    [all...]
  /external/icu/icu4c/source/tools/genrb/
ustr.c 35 s->fLength = s->fCapacity = 0;
44 s->fLength = s->fCapacity = 0;
48 if(s->fCapacity < length) {
75 s->fLength = s->fCapacity = 0;
87 if(dst->fCapacity < src->fLength) {
108 if(s->fCapacity < (len + 1)) {
135 if(dst->fCapacity < (dst->fLength + n)) {
155 if(dst->fCapacity < (dst->fLength + 1)) {
187 if(dst->fCapacity < (dst->fLength + len)) {
212 s->fLength = s->fCapacity = 0
    [all...]
ustr.h 55 int32_t fCapacity;
  /frameworks/base/core/jni/android/graphics/
CreateJavaOutputStreamAdaptor.cpp 22 fCapacity = env->GetArrayLength(ar);
23 SkASSERT(fCapacity > 0);
68 if (size > static_cast<size_t>(fCapacity)) {
69 requested = fCapacity;
72 // fCapacity.
134 jint fCapacity;
185 fCapacity = env->GetArrayLength(storage);
198 if (size > static_cast<size_t>(fCapacity)) {
199 requested = fCapacity;
202 // fCapacity
    [all...]
  /external/icu/icu4c/source/layoutex/layout/
RunArrays.h 219 le_int32 fCapacity;
223 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0)
229 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0)
235 : UObject(), fClientArrays(TRUE), fLimits(limits), fCount(count), fCapacity(count)
  /external/icu/icu4c/source/i18n/unicode/
sortkey.h 263 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity;
310 int32_t fCapacity;
  /external/skia/include/core/
SkWriter32.h 49 fCapacity = externalBytes;
65 if (totalRequired > fCapacity) {
242 size_t fCapacity; // Number of bytes we can write to fData.
  /external/icu/icu4c/source/common/
unistr.cpp 362 fUnion.fFields.fCapacity = (int32_t)((words - 1) * (sizeof(int32_t) / U_SIZEOF_UCHAR));
367 fUnion.fFields.fCapacity = 0;
506 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity;
516 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity;
539 fUnion.fFields.fCapacity = 0;
568 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity;
576 src.fUnion.fFields.fCapacity = 0
    [all...]
  /external/icu/icu4c/source/common/unicode/
unistr.h     [all...]

Completed in 305 milliseconds