/external/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 …]
|
/external/skqp/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 | 41 this->init(that.fCount); in SkTArray() 47 this->init(that.fCount); in SkTArray() 49 that.fCount = 0; in SkTArray() 66 for (int i = 0; i < fCount; ++i) { 69 fCount = 0; 71 fCount = that.count(); 79 for (int i = 0; i < fCount; ++i) { 82 fCount = 0; 84 fCount = that.count(); 86 that.fCount = 0; [all …]
|
D | SkTemplates.h | 81 SkDEBUGCODE(fCount = count;) in SkAutoTArray() 85 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) in SkAutoTArray() 90 SkDEBUGCODE(fCount = other.fCount; other.fCount = 0;) 106 SkASSERT((unsigned)index < (unsigned)fCount); 112 SkDEBUGCODE(int fCount = 0;) 127 fCount = 0; in SkAutoSTArray() 134 fCount = 0; in SkAutoSTArray() 145 T* iter = start + fCount; in reset() 151 if (fCount != count) { in reset() 152 if (fCount > kCount) { in reset() [all …]
|
/external/skqp/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() 53 , fCount(arrayCount) in fType() 65 , fCount(arrayCount) in fType() 77 , fCount(kNonArray) in fType() 88 , fCount(arrayCount) in fType() 98 , fCount(that.fCount) in GrShaderVar() 122 fCount = kNonArray; 146 fCount = kNonArray; 171 fCount = count; 196 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 …]
|
/external/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 …]
|
D | GrShaderVar.h | 39 , fCount(kNonArray) {} in GrShaderVar() 44 , fCount(arrayCount) in fType() 52 , fCount(kNonArray) in GrShaderVar() 60 , fCount(arrayCount) in GrShaderVar() 67 , fCount(arrayCount) in GrShaderVar() 86 bool isArray() const { return kNonArray != fCount; } in isArray() 89 bool isUnsizedArray() const { return kUnsizedArray == fCount; } in isUnsizedArray() 92 int getArrayCount() const { return fCount; } in getArrayCount() 136 int fCount; variable
|
/external/icu/libicu/cts_headers/ |
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 …]
|
/external/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 …]
|
/external/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()
|
/external/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 219 , fCount(0) in SkParticleEffect() 265 fCount = 0; in start() 384 for (int i = 0; i < fCount; ++i) { in advanceTime() 390 fParticles.fData[j][i] = fParticles.fData[j][fCount - 1]; in advanceTime() 392 fStableRandoms[i] = fStableRandoms[fCount - 1]; in advanceTime() 394 --fCount; in advanceTime() 416 numToSpawn = SkTPin(numToSpawn, 0, fParams->fMaxCount - fCount); in advanceTime() 418 const int spawnBase = fCount; in advanceTime() 423 fParticles.fData[SkParticles::kAge ][fCount] = 0.0f; in advanceTime() 424 fParticles.fData[SkParticles::kLifetime ][fCount] = 0.0f; in advanceTime() [all …]
|
/external/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()
|
/external/skqp/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 …]
|
D | SkPictureFlat.h | 168 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 173 size_t count() const { return fCount; } in count() 176 SkASSERT(index < fCount); 181 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer() 185 size_t fCount; 191 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 198 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 202 int fCount;
|
/external/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
|
D | SkPictureFlat.h | 180 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 185 size_t count() const { return fCount; } in count() 188 SkASSERT(index < fCount); 193 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer() 197 size_t fCount; 203 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 210 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 214 int fCount;
|
D | SkTLList.h | 47 SkTLList() : fCount(-1) {} in SkTLList() 150 SkASSERT(0 == fCount || -1 == fCount); in reset() 154 int count() const { return std::max(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 …]
|
/external/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 …]
|
/external/skqp/samplecode/ |
D | SampleVertices.cpp | 85 auto verts = SkVertices::MakeCopy(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 121 int fCount; member 125 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} in Rec() 134 rec->fCount = n * 3; in make_tris() 135 rec->fVerts = new SkPoint[rec->fCount]; in make_tris() 151 rec->fCount = n + 2; in make_fan() 152 rec->fVerts = new SkPoint[rec->fCount]; in make_fan() 153 rec->fTexs = new SkPoint[rec->fCount]; in make_fan() 172 m.mapPoints(v, rec->fCount); in make_fan() 181 rec->fCount = 2 * (n + 1); in make_strip() [all …]
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeIndirectTessellator.cpp | 159 SkASSERT(fLineQueue.fCount == 0); in ~ResolveLevelCounter() 160 SkASSERT(fQuadQueue.fCount == 0); in ~ResolveLevelCounter() 161 SkASSERT(fCubicQueue.fCount == 0); in ~ResolveLevelCounter() 162 SkASSERT(fChoppedCubicQueue.fCount == 0); in ~ResolveLevelCounter() 202 if (fLineQueue.fCount) { in flush() 204 if (fLineQueue.fCount <= 2) { in flush() 210 if (fQuadQueue.fCount) { in flush() 211 if (fQuadQueue.fCount <= 2) { in flush() 217 if (fCubicQueue.fCount) { in flush() 218 if (fCubicQueue.fCount <= 2) { in flush() [all …]
|