/external/skia/src/gpu/ |
GrWindowRectangles.h | 18 GrWindowRectangles() : fCount(0) {} 19 GrWindowRectangles(const GrWindowRectangles& that) : fCount(0) { *this = that; } 24 bool empty() const { return !fCount; } 25 int count() const { return fCount; } 41 const Rec* rec() const { return fCount <= kNumLocalWindows ? nullptr : fRec; } 43 int fCount; 45 SkIRect fLocalWindows[kNumLocalWindows]; // If fCount <= kNumLocalWindows. 46 Rec* fRec; // If fCount > kNumLocalWindows. 61 return fCount <= kNumLocalWindows ? fLocalWindows : fRec->fData; 66 fCount = 0 [all...] |
GrShaderVar.h | 45 , fCount(kNonArray) 54 , fCount(arrayCount) 66 , fCount(arrayCount) 78 , fCount(kNonArray) 89 , fCount(arrayCount) 99 , fCount(that.fCount) 123 fCount = kNonArray; 147 fCount = kNonArray; 172 fCount = count [all...] |
GrAllocator.h | 33 , fCount(0) 58 ++fCount; 67 SkASSERT(fCount); 70 --fCount; 97 fCount = 0; 104 return fCount; 110 bool empty() const { return 0 == fCount; } 116 SkASSERT(fCount); 125 SkASSERT(fCount); 155 return fItemIndex < fAllocator->fCount; [all...] |
/external/skia/src/core/ |
SkPictureFlat.cpp | 19 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(nullptr) {} 26 for (int i = 0; i < fCount; i++) { 33 fCount = rec->count(); 34 fArray = new SkRefCnt* [fCount]; 36 for (int i = 0; i < fCount; i++) { 40 fCount = 0; 48 fCount = count; 54 SkASSERT((unsigned)index < (unsigned)fCount);
|
SkRecord.cpp | 20 SkASSERT(fCount == fReserved); 34 Record* noops = std::remove_if(fRecords.get(), fRecords.get() + fCount, 36 fCount = noops - fRecords.get();
|
SkVertState.h | 31 fCount = indexCount; 33 fCount = vCount; 46 int fCount;
|
SkColorTable.cpp | 18 fCount = count; 32 , fCount(count) 47 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); 48 for (int i = 0; i < fCount; i++) { 73 fCount = buffer.getArrayCount(); 74 size_t allocSize = fCount * sizeof(SkPMColor); 78 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount); 80 fCount = 0; 84 SkASSERT((unsigned)fCount <= 256); 91 buffer.writeColorArray(fColors, fCount); [all...] |
SkRTree.h | 50 int getDepth() const { return fCount ? fRoot.fSubtree->fLevel + 1 : 0; } 52 int getCount() const { return fCount; } 89 int fCount;
|
SkBigPicture.h | 26 SnapshotArray(const SkPicture* pics[], int count) : fPics(pics), fCount(count) {} 27 ~SnapshotArray() { for (int i = 0; i < fCount; i++) { fPics[i]->unref(); } } 30 int count() const { return fCount; } 33 int fCount;
|
SkTDynamicHash.h | 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) { 87 int count() const { return fCount; } 126 fCount = 0; 131 fCount = 0; 172 if (fCount < kLarge * kLarge) { 173 // Are fCount and fDeleted correct, and are all elements findable? 183 SKTDYNAMICHASH_CHECK(count == fCount); 188 if (fCount < kLarge) { 217 fCount++; 234 fCount-- [all...] |
SkPictureFlat.h | 162 int count() const { return fCount; } 170 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 174 int fCount; 180 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } 187 buffer.setFactoryPlayback(fArray, fCount); 191 int fCount;
|
SkVertState.cpp | 12 if (index + 3 > state->fCount) { 25 if (index + 3 > state->fCount) { 37 if (index + 3 > state->fCount) { 55 if (index + 3 > state->fCount) { 72 if (index + 3 > state->fCount) { 85 if (index + 3 > state->fCount) {
|
SkTLList.h | 43 // Having fCount initialized to -1 indicates that the first time we attempt to grab a free node 46 SkTLList() : fCount(-1) {} 149 SkASSERT(0 == fCount || -1 == fCount); 153 int count() const { return SkTMax(fCount ,0); } 154 bool isEmpty() const { this->validate(); return 0 == fCount || -1 == fCount; } 160 // Call count() rather than use fCount because an empty list may have fCount = 0 or -1. 226 SkASSERT(-1 == fCount); [all...] |
/external/skia/include/private/ |
SkTDArray.h | 18 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} 22 fReserve = fCount = 0; 27 fReserve = fCount = count; 30 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { 31 SkTDArray<T> tmp(src.fArray, src.fCount); 34 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { 43 if (src.fCount > fReserve) { 44 SkTDArray<T> tmp(src.fArray, src.fCount); 47 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 48 fCount = src.fCount [all...] |
SkTArray.h | 40 this->init(that.fCount); 46 this->init(that.fCount); 48 that.fCount = 0; 65 for (int i = 0; i < fCount; ++i) { 68 fCount = 0; 70 fCount = that.count(); 78 for (int i = 0; i < fCount; ++i) { 81 fCount = 0; 83 fCount = that.count(); 85 that.fCount = 0 [all...] |
SkSemaphore.h | 18 : fCount(count), fOSSemaphore(nullptr) {} 49 std::atomic<int> fCount; 61 int prev = fCount.fetch_add(n, std::memory_order_release); 81 if (fCount.fetch_sub(1, std::memory_order_acquire) <= 0) {
|
SkTemplates.h | 91 SkDEBUGCODE(fCount = 0;) 101 SkDEBUGCODE(fCount = count;) 113 SkDEBUGCODE(fCount = count;) 125 SkASSERT((unsigned)index < (unsigned)fCount); 131 SkDEBUGCODE(SkTSwap(fCount, other.fCount)); 136 SkDEBUGCODE(int fCount;) 146 fCount = 0; 153 fCount = 0; 164 T* iter = start + fCount; [all...] |
/external/icu/icu4c/source/i18n/ |
nfrlist.h | 38 uint32_t fCount; 43 , fCount(0) 47 for(uint32_t i = 0; i < fCount; ++i) { 59 fCount -= 1; 60 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays 66 if (fCount == fCapacity) { 71 fStuff[fCount++] = thing; 74 fCount = 0; 77 uint32_t size() const { return fCount; } 78 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; [all...] |
/external/dng_sdk/source/ |
dng_string_list.cpp | 27 : fCount (0) 64 if (fCount) 67 DoCopyBytes (fList, list, fCount * (uint32) sizeof (dng_string *)); 92 Allocate (fCount + 1); 103 fCount++; 105 for (uint32 j = fCount - 1; j > index; j--) 121 for (uint32 j = 0; j < fCount; j++) 145 for (uint32 index = 0; index < fCount; index++) 158 fCount = 0;
|
dng_string_list.h | 31 uint32 fCount; 45 return fCount;
|
/external/skia/include/core/ |
SkColorTable.h | 36 int count() const { return fCount; } 42 SkASSERT(fColors != NULL && (unsigned)index < (unsigned)fCount); 69 int fCount;
|
/external/skia/include/ports/ |
SkRemotableFontMgr.h | 40 int count() const { return fCount; } 46 SkRemotableFontIdentitySet() : fCount(0), fData() { } 50 int fCount;
|
/external/skia/src/fonts/ |
SkRemotableFontMgr.cpp | 12 : fCount(count), fData(count)
|
/external/skia/tests/ |
PackBitsTest.cpp | 27 int fCount; 38 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); 40 gTests[i].fCount, dst, maxSize - 1); 43 gTests[i].fCount, dst, sizeof(dst)); 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); 49 bool match = gTests[i].fCount == srcCount && 51 gTests[i].fCount * sizeof(uint8_t)) == 0;
|
/external/skia/samplecode/ |
SampleVertices.cpp | 86 auto verts = SkVertices::MakeCopy(fRecs[i].fMode, fRecs[i].fCount, 123 int fCount; 127 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} 136 rec->fCount = n * 3; 137 rec->fVerts = new SkPoint[rec->fCount]; 153 rec->fCount = n + 2; 154 rec->fVerts = new SkPoint[rec->fCount]; 155 rec->fTexs = new SkPoint[rec->fCount]; 174 m.mapPoints(v, rec->fCount); 183 rec->fCount = 2 * (n + 1) [all...] |