/third_party/skia/include/private/ |
D | SkTDArray.h | 29 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 33 fReserve = fCount = 0; in SkTDArray() 38 fReserve = fCount = count; in SkTDArray() 42 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 43 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 46 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 55 if (src.fCount > fReserve) { 56 SkTDArray<T> tmp(src.fArray, src.fCount); 59 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * SkToSizeT(src.fCount)); 60 fCount = src.fCount; [all …]
|
D | SkTArray.h | 57 : SkTArray(that.fItemArray, that.fCount) {} in SkTArray() 62 fCount = that.fCount; in SkTArray() 68 that.fCount = 0; in SkTArray() 73 this->init(that.fCount); in SkTArray() 75 that.fCount = 0; in SkTArray() 101 fCount = 0; 103 fCount = that.fCount; 114 fCount = 0; 116 fCount = that.fCount; 118 that.fCount = 0; [all …]
|
D | SkTemplates.h | 90 SkDEBUGCODE(fCount = count;) in SkAutoTArray() 94 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) in SkAutoTArray() 99 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) 115 SkASSERT((unsigned)index < (unsigned)fCount); 125 SkDEBUGCODE(int fCount = 0;) 140 fCount = 0; in SkAutoSTArray() 147 fCount = 0; in SkAutoSTArray() 158 T* iter = start + fCount; in reset() 164 if (fCount != count) { in reset() 165 if (fCount > kCount) { in reset() [all …]
|
/third_party/flutter/skia/include/private/ |
D | SkTDArray.h | 21 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 25 fReserve = fCount = 0; in SkTDArray() 30 fReserve = fCount = count; in SkTDArray() 34 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 35 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 38 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 47 if (src.fCount > fReserve) { 48 SkTDArray<T> tmp(src.fArray, src.fCount); 51 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 52 fCount = src.fCount; [all …]
|
D | SkTArray.h | 45 this->init(that.fCount); in SkTArray() 51 this->init(that.fCount); in SkTArray() 53 that.fCount = 0; in SkTArray() 70 for (int i = 0; i < fCount; ++i) { 73 fCount = 0; 75 fCount = that.count(); 83 for (int i = 0; i < fCount; ++i) { 86 fCount = 0; 88 fCount = that.count(); 90 that.fCount = 0; [all …]
|
D | SkTemplates.h | 82 SkDEBUGCODE(fCount = count;) in SkAutoTArray() 86 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) in SkAutoTArray() 91 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) 107 SkASSERT((unsigned)index < (unsigned)fCount); 113 SkDEBUGCODE(int fCount = 0;) 128 fCount = 0; in SkAutoSTArray() 135 fCount = 0; in SkAutoSTArray() 146 T* iter = start + fCount; in reset() 152 if (fCount != count) { in reset() 153 if (fCount > kCount) { in reset() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrWindowRectangles.h | 18 GrWindowRectangles() : fCount(0) {} in GrWindowRectangles() 19 GrWindowRectangles(const GrWindowRectangles& that) : fCount(0) { *this = that; } in GrWindowRectangles() 24 bool empty() const { return !fCount; } in empty() 25 int count() const { return fCount; } in count() 41 const Rec* rec() const { return fCount <= kNumLocalWindows ? nullptr : fRec; } in rec() 43 int fCount; variable 61 return fCount <= kNumLocalWindows ? fLocalWindows : fRec->fData; in data() 66 fCount = 0; in reset() 71 fCount = that.fCount; 72 if (fCount <= kNumLocalWindows) { [all …]
|
D | GrShaderVar.h | 45 , fCount(kNonArray) in GrShaderVar() 52 , fCount(arrayCount) in fType() 62 , fCount(arrayCount) in fType() 72 , fCount(kNonArray) in GrShaderVar() 81 , fCount(arrayCount) in GrShaderVar() 90 , fCount(that.fCount) in GrShaderVar() 111 fCount = kNonArray; 132 fCount = kNonArray; 154 fCount = count; 176 fCount = count; [all …]
|
D | GrAllocator.h | 35 , fCount(0) in GrAllocator() 60 ++fCount; in push_back() 69 SkASSERT(fCount); in pop_back() 72 --fCount; in pop_back() 99 fCount = 0; in reset() 106 return fCount; in count() 112 bool empty() const { return 0 == fCount; } in empty() 118 SkASSERT(fCount); in front() 127 SkASSERT(fCount); in front() 136 SkASSERT(fCount); in back() [all …]
|
/third_party/skia/src/gpu/ |
D | GrWindowRectangles.h | 18 GrWindowRectangles() : fCount(0) {} in GrWindowRectangles() 19 GrWindowRectangles(const GrWindowRectangles& that) : fCount(0) { *this = that; } in GrWindowRectangles() 24 bool empty() const { return !fCount; } in empty() 25 int count() const { return fCount; } in count() 40 const Rec* rec() const { return fCount <= 1 ? nullptr : fRec; } in rec() 42 int fCount; variable 60 return fCount <= 1 ? &fLocalWindow : fRec->fData; in data() 65 fCount = 0; in reset() 70 fCount = that.fCount; 71 if (fCount <= 1) { [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | nfrlist.h | 38 uint32_t fCount; variable 43 , fCount(0) 47 for(uint32_t i = 0; i < fCount; ++i) { in ~NFRuleList() 59 fCount -= 1; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove() 66 if (fCount == fCapacity) { in add() 71 fStuff[fCount++] = thing; in add() 74 fCount = 0; in add() 77 uint32_t size() const { return fCount; } in size() 78 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; } in last() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | nfrlist.h | 38 uint32_t fCount; variable 43 , fCount(0) 47 for(uint32_t i = 0; i < fCount; ++i) { in ~NFRuleList() 59 fCount -= 1; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove() 66 if (fCount == fCapacity) { in add() 71 fStuff[fCount++] = thing; in add() 74 fCount = 0; in add() 77 uint32_t size() const { return fCount; } in size() 78 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; } in last() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | nfrlist.h | 38 uint32_t fCount; variable 43 , fCount(0) 47 for(uint32_t i = 0; i < fCount; ++i) { in ~NFRuleList() 59 fCount -= 1; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove() 66 if (fCount == fCapacity) { in add() 71 fStuff[fCount++] = thing; in add() 74 fCount = 0; in add() 77 uint32_t size() const { return fCount; } in size() 78 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; } in last() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | nfrlist.h | 38 uint32_t fCount; variable 43 , fCount(0) 47 for(uint32_t i = 0; i < fCount; ++i) { in ~NFRuleList() 59 fCount -= 1; in remove() 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove() 66 if (fCount == fCapacity) { in add() 71 fStuff[fCount++] = thing; in add() 74 fCount = 0; in add() 77 uint32_t size() const { return fCount; } in size() 78 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; } in last() [all …]
|
/third_party/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 222 , fCount(0) in SkParticleEffect() 268 fCount = 0; in start() 387 for (int i = 0; i < fCount; ++i) { in advanceTime() 393 fParticles.fData[j][i] = fParticles.fData[j][fCount - 1]; in advanceTime() 395 fStableRandoms[i] = fStableRandoms[fCount - 1]; in advanceTime() 397 --fCount; in advanceTime() 419 numToSpawn = SkTPin(numToSpawn, 0, fParams->fMaxCount - fCount); in advanceTime() 421 const int spawnBase = fCount; in advanceTime() 426 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in advanceTime() 427 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in advanceTime() [all …]
|
/third_party/flutter/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 403 , fCount(0) in SkParticleEffect() 410 fCount = 0; in start() 438 for (int i = 0; i < fCount; ++i) { in update() 444 fParticles.fData[j][i] = fParticles.fData[j][fCount - 1]; in update() 446 fStableRandoms[i] = fStableRandoms[fCount - 1]; in update() 448 --fCount; in update() 473 numToSpawn = SkTPin(numToSpawn, 0, fParams->fMaxCount - fCount); in update() 475 const int spawnBase = fCount; in update() 480 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in update() 481 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in update() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_string_list.cpp | 27 : fCount (0) in dng_string_list() 64 if (fCount) in Allocate() 67 DoCopyBytes (fList, list, fCount * (uint32) sizeof (dng_string *)); in Allocate() 92 Allocate (fCount + 1); in Insert() 103 fCount++; in Insert() 105 for (uint32 j = fCount - 1; j > index; j--) in Insert() 121 for (uint32 j = 0; j < fCount; j++) in Contains() 145 for (uint32 index = 0; index < fCount; index++) in Clear() 158 fCount = 0; in Clear()
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLGetLoopUnrollInfo.cpp | 178 loopInfo.fCount = 0; in get_es2_loop_unroll_info() 182 loopInfo.fCount = calculate_count(loopInfo.fStart, loopEnd, loopInfo.fDelta, in get_es2_loop_unroll_info() 187 loopInfo.fCount = calculate_count(loopInfo.fStart, loopEnd, loopInfo.fDelta, in get_es2_loop_unroll_info() 192 loopInfo.fCount = calculate_count(loopInfo.fStart, loopEnd, loopInfo.fDelta, in get_es2_loop_unroll_info() 197 loopInfo.fCount = calculate_count(loopInfo.fStart, loopEnd, loopInfo.fDelta, in get_es2_loop_unroll_info() 203 loopInfo.fCount = std::ceil(iterations); in get_es2_loop_unroll_info() 204 if (loopInfo.fCount < 0 || loopInfo.fCount != iterations || in get_es2_loop_unroll_info() 207 loopInfo.fCount = kLoopTerminationLimit; in get_es2_loop_unroll_info() 216 loopInfo.fCount = 1; in get_es2_loop_unroll_info() 219 loopInfo.fCount = kLoopTerminationLimit; in get_es2_loop_unroll_info() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkTDynamicHash.h | 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) { in SkTDynamicHash() 87 int count() const { return fCount; } in count() 126 fCount = 0; in rewind() 131 fCount = 0; in reset() 172 if (fCount < kLarge * kLarge) { in validate() 183 SKTDYNAMICHASH_CHECK(count == fCount); in validate() 188 if (fCount < kLarge) { in validate() 217 fCount++; in innerAdd() 234 fCount--; in innerRemove() 244 if (100 * (fCount + fDeleted + 1) > fCapacity * kGrowPercent) { in maybeGrow() [all …]
|
D | SkTLList.h | 47 SkTLList() : fCount(-1) {} in SkTLList() 150 SkASSERT(0 == fCount || -1 == fCount); in reset() 154 int count() const { return SkTMax(fCount ,0); } in count() 155 bool isEmpty() const { this->validate(); return 0 == fCount || -1 == fCount; } in isEmpty() 227 SkASSERT(-1 == fCount); in delayedInit() 233 fCount = 0; in delayedInit() 238 if (-1 == fCount) { in createNode() 248 SkASSERT(fCount > 0); in createNode() 260 ++fCount; in createNode() 281 --fCount; in removeNode() [all …]
|
/third_party/skia/bench/ |
D | CmapBench.cpp | 26 int fCount; member 34 SkASSERT(r.fCount <= NGLYPHS); in textToGlyphs_proc() 37 r.fFont.textToGlyphs(r.fText, r.fCount*4, SkTextEncoding::kUTF32, glyphs, NGLYPHS); in textToGlyphs_proc() 43 SkASSERT(r.fCount <= NGLYPHS); in charsToGlyphs_proc() 47 face->unicharsToGlyphs(r.fText, r.fCount, glyphs); in charsToGlyphs_proc() 54 for (int i = 0; i < r.fCount; ++i) { in addcache_proc() 62 for (int i = 0; i < r.fCount; ++i) { in findcache_proc() 74 int fCount; member in CMAPBench 82 fCount = count; in CMAPBench() 102 fProc({fCache, loops, fFont, fText, fCount}); in onDraw()
|
/third_party/flutter/skia/bench/ |
D | CmapBench.cpp | 26 int fCount; member 34 SkASSERT(r.fCount <= NGLYPHS); in textToGlyphs_proc() 37 r.fFont.textToGlyphs(r.fText, r.fCount*4, SkTextEncoding::kUTF32, glyphs, NGLYPHS); in textToGlyphs_proc() 43 SkASSERT(r.fCount <= NGLYPHS); in charsToGlyphs_proc() 47 face->unicharsToGlyphs(r.fText, r.fCount, glyphs); in charsToGlyphs_proc() 54 for (int i = 0; i < r.fCount; ++i) { in addcache_proc() 62 for (int i = 0; i < r.fCount; ++i) { in findcache_proc() 74 int fCount; member in CMAPBench 82 fCount = count; in CMAPBench() 102 fProc({fCache, loops, fFont, fText, fCount}); in onDraw()
|
/third_party/skia/src/core/ |
D | SkFontPriv.h | 89 fCount = length >> 1; in SkAutoToGlyphs() 91 fCount = font.countText(text, length, encoding); in SkAutoToGlyphs() 92 if (fCount < 0) { in SkAutoToGlyphs() 93 fCount = 0; in SkAutoToGlyphs() 95 fStorage.reset(fCount); in SkAutoToGlyphs() 96 font.textToGlyphs(text, length, encoding, fStorage.get(), fCount); in SkAutoToGlyphs() 101 int count() const { return fCount; } in count() 107 int fCount; variable
|
/third_party/skia/samplecode/ |
D | SampleVertices.cpp | 79 auto verts = SkVertices::MakeCopy(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 115 int fCount; member 119 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} in Rec() 128 rec->fCount = n * 3; in make_tris() 129 rec->fVerts = new SkPoint[rec->fCount]; in make_tris() 145 rec->fCount = n + 2; in make_fan() 146 rec->fVerts = new SkPoint[rec->fCount]; in make_fan() 147 rec->fTexs = new SkPoint[rec->fCount]; in make_fan() 167 m.mapPoints(v, rec->fCount); in make_fan() 176 rec->fCount = 2 * (n + 1); in make_strip() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleVertices.cpp | 79 auto verts = SkVertices::MakeCopy(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 115 int fCount; member 119 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} in Rec() 128 rec->fCount = n * 3; in make_tris() 129 rec->fVerts = new SkPoint[rec->fCount]; in make_tris() 145 rec->fCount = n + 2; in make_fan() 146 rec->fVerts = new SkPoint[rec->fCount]; in make_fan() 147 rec->fTexs = new SkPoint[rec->fCount]; in make_fan() 167 m.mapPoints(v, rec->fCount); in make_fan() 176 rec->fCount = 2 * (n + 1); in make_strip() [all …]
|