/third_party/flutter/skia/src/core/ |
D | SkTDynamicHash.h | 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) { in SkTDynamicHash() 40 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done() 41 return fCurrentIndex == fHash->fCapacity; in done() 67 SkASSERT(fCurrentIndex <= fHash->fCapacity); in done() 68 return fCurrentIndex == fHash->fCapacity; in done() 92 for (int round = 0; round < fCapacity; round++) { in find() 93 SkASSERT(index >= 0 && index < fCapacity); in find() 103 SkASSERT(fCapacity == 0); in find() 124 sk_bzero(fArray, sizeof(T*)* fCapacity); in rewind() 133 fCapacity = 0; in reset() [all …]
|
D | SkWriter32.cpp | 78 fCapacity = 4096 + SkTMax(size, fCapacity + (fCapacity / 2)); in growToAtLeast() 79 fInternal.realloc(fCapacity); in growToAtLeast()
|
D | SkRWBuffer.cpp | 24 const size_t fCapacity; member 26 SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0), fCapacity(capacity) {} in SkBufferBlock() 30 size_t avail() const { return fCapacity - fUsed; } in avail() 55 SkASSERT(fCapacity > 0); in validate() 56 SkASSERT(fUsed <= fCapacity); in validate() 175 return SkTMin(fBlock->fCapacity, fRemaining); in size()
|
/third_party/skia/include/private/ |
D | SkTHash.h | 38 fCapacity = that.fCapacity; 39 fSlots.reset(that.fCapacity); 40 for (int i = 0; i < fCapacity; i++) { 50 fCapacity = that.fCapacity; 53 that.fCount = that.fCapacity = 0; 66 int capacity() const { return fCapacity; } in capacity() 69 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); } in approxBytesUsed() 84 if (4 * fCount >= 3 * fCapacity) { in set() 85 this->resize(fCapacity > 0 ? fCapacity * 2 : 4); in set() 93 int index = hash & (fCapacity-1); in find() [all …]
|
/third_party/flutter/skia/include/private/ |
D | SkTHash.h | 28 SkTHashTable() : fCount(0), fCapacity(0) {} in SkTHashTable() 31 , fCapacity(other.fCapacity) in SkTHashTable() 32 , fSlots(std::move(other.fSlots)) { other.fCount = other.fCapacity = 0; } in SkTHashTable() 49 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); } in approxBytesUsed() 64 if (4 * fCount >= 3 * fCapacity) { in set() 65 this->resize(fCapacity > 0 ? fCapacity * 2 : 4); in set() 73 int index = hash & (fCapacity-1); in find() 74 for (int n = 0; n < fCapacity; n++) { in find() 84 SkASSERT(fCapacity == 0); in find() 102 int index = hash & (fCapacity-1); in remove() [all …]
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | ustr.c | 37 s->fLength = s->fCapacity = 0; in ustr_init() 46 s->fLength = s->fCapacity = 0; in ustr_initChars() 50 if(s->fCapacity < length) { in ustr_initChars() 77 s->fLength = s->fCapacity = 0; in ustr_deinit() 89 if(dst->fCapacity < src->fLength) { in ustr_cpy() 110 if(s->fCapacity < (len + 1)) { in ustr_setlen() 137 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 157 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 189 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 214 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/ |
D | ustr.c | 37 s->fLength = s->fCapacity = 0; in ustr_init() 46 s->fLength = s->fCapacity = 0; in ustr_initChars() 50 if(s->fCapacity < length) { in ustr_initChars() 77 s->fLength = s->fCapacity = 0; in ustr_deinit() 89 if(dst->fCapacity < src->fLength) { in ustr_cpy() 110 if(s->fCapacity < (len + 1)) { in ustr_setlen() 137 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 157 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 189 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 214 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | ustr.c | 37 s->fLength = s->fCapacity = 0; in ustr_init() 46 s->fLength = s->fCapacity = 0; in ustr_initChars() 50 if(s->fCapacity < length) { in ustr_initChars() 77 s->fLength = s->fCapacity = 0; in ustr_deinit() 89 if(dst->fCapacity < src->fLength) { in ustr_cpy() 110 if(s->fCapacity < (len + 1)) { in ustr_setlen() 137 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 157 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 189 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 214 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | ustr.c | 37 s->fLength = s->fCapacity = 0; in ustr_init() 46 s->fLength = s->fCapacity = 0; in ustr_initChars() 50 if(s->fCapacity < length) { in ustr_initChars() 77 s->fLength = s->fCapacity = 0; in ustr_deinit() 89 if(dst->fCapacity < src->fLength) { in ustr_cpy() 110 if(s->fCapacity < (len + 1)) { in ustr_setlen() 137 if(dst->fCapacity < (dst->fLength + n)) { in ustr_ncat() 157 if(dst->fCapacity < (dst->fLength + 1)) { in ustr_ucat() 189 if(dst->fCapacity < (dst->fLength + len)) { in ustr_uscat() 214 s->fLength = s->fCapacity = 0; in ustr_resize() [all …]
|
/third_party/icu/icu4c/source/layoutex/ |
D | RunArrays.cpp | 22 : fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(initialCapacity) in RunArray() 25 fLimits = LE_NEW_ARRAY(le_int32, fCapacity); in RunArray() 39 if (fCount >= fCapacity) { in ensureCapacity() 40 if (fCapacity == 0) { in ensureCapacity() 41 fCapacity = INITIAL_CAPACITY; in ensureCapacity() 42 init(fCapacity); in ensureCapacity() 44 fCapacity += (fCapacity < CAPACITY_GROW_LIMIT ? fCapacity : CAPACITY_GROW_LIMIT); in ensureCapacity() 45 grow(fCapacity); in ensureCapacity()
|
/third_party/skia/modules/skplaintexteditor/src/ |
D | stringslice.cpp | 18 , fCapacity(that.fCapacity) in StringSlice() 21 that.fCapacity = 0; in StringSlice() 77 fCapacity = size ? (((size - 1) >> kBits) + 1) << kBits : 0; in realloc() 78 assert(fCapacity % (1u << kBits) == 0); in realloc() 79 assert(fCapacity >= size); in realloc() 80 fPtr.reset((char*)std::realloc(fPtr.release(), fCapacity)); in realloc() 81 assert(fCapacity >= fLength); in realloc()
|
/third_party/flutter/skia/experimental/editor/ |
D | stringslice.cpp | 18 , fCapacity(that.fCapacity) in StringSlice() 21 that.fCapacity = 0; in StringSlice() 77 fCapacity = size ? (((size - 1) >> kBits) + 1) << kBits : 0; in realloc() 78 assert(fCapacity % (1u << kBits) == 0); in realloc() 79 assert(fCapacity >= size); in realloc() 80 fPtr.reset((char*)std::realloc(fPtr.release(), fCapacity)); in realloc() 81 assert(fCapacity >= fLength); in realloc()
|
D | stringslice.h | 35 void reserve(std::size_t size) { if (size > fCapacity) { this->realloc(size); } } in reserve() 42 std::size_t fCapacity = 0; variable
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | nfrlist.h | 39 uint32_t fCapacity; variable 44 , fCapacity(capacity) {} 66 if (fCount == fCapacity) { in add() 67 fCapacity += 10; in add() 68 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add() 73 fCapacity = 0; in add() 84 fCapacity = 0; in release()
|
/third_party/icu/icu4c/source/i18n/ |
D | nfrlist.h | 39 uint32_t fCapacity; variable 44 , fCapacity(capacity) {} 66 if (fCount == fCapacity) { in add() 67 fCapacity += 10; in add() 68 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add() 73 fCapacity = 0; in add() 84 fCapacity = 0; in release()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | nfrlist.h | 39 uint32_t fCapacity; variable 44 , fCapacity(capacity) {} 66 if (fCount == fCapacity) { in add() 67 fCapacity += 10; in add() 68 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add() 73 fCapacity = 0; in add() 84 fCapacity = 0; in release()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | nfrlist.h | 39 uint32_t fCapacity; variable 44 , fCapacity(capacity) {} 66 if (fCount == fCapacity) { in add() 67 fCapacity += 10; in add() 68 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success in add() 73 fCapacity = 0; in add() 84 fCapacity = 0; in release()
|
/third_party/skia/src/gpu/ |
D | GrSubRunAllocator.h | 122 fCapacity = fCapacity & -alignment; in allocateBytes() 123 if (fCapacity < size) { in allocateBytes() 126 char* const ptr = fEndByte - fCapacity; in allocateBytes() 128 SkASSERT(fCapacity >= size); in allocateBytes() 129 fCapacity -= size; in allocateBytes() 147 int fCapacity{0};
|
D | GrSubRunAllocator.cpp | 58 fCapacity = fEndByte - bytes; in setupBytesAndCapacity() 74 fCapacity = fCapacity & -alignment; in needMoreBytes() 75 SkASSERT(fCapacity >= requestedSize); in needMoreBytes()
|
/third_party/skia/src/core/ |
D | SkWriter32.cpp | 48 fCapacity = 4096 + std::max(size, fCapacity + (fCapacity / 2)); in growToAtLeast() 49 fInternal.realloc(fCapacity); in growToAtLeast()
|
/third_party/icu/icu4c/source/layoutex/layout/ |
D | RunArrays.h | 221 le_int32 fCapacity; variable 225 : UObject(), fClientArrays(false), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 231 : UObject(), fClientArrays(false), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 237 : UObject(), fClientArrays(true), fLimits(limits), fCount(count), fCapacity(count) in RunArray()
|
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/cpp/ |
D | JavaInputStreamAdaptor.cpp | 56 , fCapacity(capacity) in JavaInputStreamAdaptor() 132 if (size > static_cast<size_t>(fCapacity)) { in doRead() 133 requested = fCapacity; in doRead() 202 const jint fCapacity; member in JavaInputStreamAdaptor
|
/third_party/skia/modules/skplaintexteditor/include/ |
D | stringslice.h | 35 void reserve(std::size_t size) { if (size > fCapacity) { this->realloc(size); } } in reserve() 42 std::size_t fCapacity = 0; variable
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | unistr.cpp | 390 fUnion.fFields.fCapacity = (int32_t)(numBytes / U_SIZEOF_UCHAR); in allocate() 397 fUnion.fFields.fCapacity = 0; in allocate() 533 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 543 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 568 fUnion.fFields.fCapacity = 0; in copyFrom() 597 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFieldsFrom() 605 src.fUnion.fFields.fCapacity = 0; in copyFieldsFrom() 1207 fUnion.fFields.fCapacity = 0; in setToBogus() 1431 fUnion.fFields.fCapacity -= length; in doReplace() 1439 fUnion.fFields.fCapacity = start; // not NUL-terminated any more in doReplace()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | unistr.cpp | 389 fUnion.fFields.fCapacity = (int32_t)(numBytes / U_SIZEOF_UCHAR); in allocate() 396 fUnion.fFields.fCapacity = 0; in allocate() 532 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 542 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFrom() 567 fUnion.fFields.fCapacity = 0; in copyFrom() 596 fUnion.fFields.fCapacity = src.fUnion.fFields.fCapacity; in copyFieldsFrom() 604 src.fUnion.fFields.fCapacity = 0; in copyFieldsFrom() 1206 fUnion.fFields.fCapacity = 0; in setToBogus() 1430 fUnion.fFields.fCapacity -= length; in doReplace() 1438 fUnion.fFields.fCapacity = start; // not NUL-terminated any more in doReplace()
|