/external/skia/src/animator/ |
SkTDStack.h | 17 SkTDStack() : fCount(0), fTotalCount(0) { 21 // fCount = kSlotCount; 38 SkASSERT(fCount <= kSlotCount); 39 if (fCount == kSlotCount) { 43 fCount = 0; 46 return &fRec->fSlots[fCount++]; 52 SkASSERT(fRec && fCount > idx); 53 return fRec->fSlots[fCount - idx - 1]; 57 SkASSERT(fRec && fCount > idx); 58 return fRec->fSlots[fCount - idx - 1] [all...] |
SkTypedArray.cpp | 31 fReserve = fCount = 0; 40 fReserve = fCount = 0; 45 SkDS32Array tmp(src.fArray, src.fCount); 53 fReserve = fCount = 0; 65 fReserve = fCount = SkToU16(count); 73 if (src.fCount > fReserve) 75 SkDS32Array tmp(src.fArray, src.fCount); 80 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount); 81 fCount = src.fCount; [all...] |
SkTDArray_Experimental.h | 53 bool isEmpty() const { return fCount == 0; } 54 int count() const { return fCount; } 58 SkASSERT(index + count <= fCount); 59 fCount = SkToU16(fCount - count); 60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index)); 72 fReserve = fCount = 0; 76 SkASSERT(fReserve == 0 && fCount == 0); 83 this->growBy(count - fCount); 85 fCount = SkToU16(count) [all...] |
/external/skia/include/private/ |
SkTDArray.h | 18 fReserve = fCount = 0; 24 fReserve = fCount = 0; 29 fReserve = fCount = count; 33 fReserve = fCount = 0; 35 SkTDArray<T> tmp(src.fArray, src.fCount); 44 if (src.fCount > fReserve) { 45 SkTDArray<T> tmp(src.fArray, src.fCount); 48 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 49 fCount = src.fCount; [all...] |
SkSemaphore.h | 23 if (sk_atomic_fetch_add(&fCount, 1, sk_memory_order_release) < 0) { 37 if (sk_atomic_fetch_sub(&fCount, 1, sk_memory_order_acquire) <= 0) { 57 int fCount;
|
SkTArray.h | 29 fCount = 0; 48 this->init(array.fItemArray, array.fCount, NULL, 0); 64 for (int i = 0; i < fCount; ++i) { 67 fCount = 0; 69 fCount = array.count(); 75 for (int i = 0; i < fCount; ++i) { 86 void reset() { this->pop_back_n(fCount); } 93 for (int i = 0; i < fCount; ++i) { 96 // set fCount to 0 before calling checkRealloc so that no copy cons. are called. 97 fCount = 0 [all...] |
/external/icu/icu4c/source/i18n/ |
nfrlist.h | 36 uint32_t fCount; 41 , fCount(0) 45 for(uint32_t i = 0; i < fCount; ++i) { 57 fCount -= 1; 58 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays 64 if (fCount == fCapacity) { 69 fStuff[fCount++] = thing; 72 fCount = 0; 75 uint32_t size() const { return fCount; } 76 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/src/core/ |
SkPictureFlat.cpp | 21 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(nullptr) {} 28 for (int i = 0; i < fCount; i++) { 35 fCount = rec->count(); 36 fArray = new SkRefCnt* [fCount]; 38 for (int i = 0; i < fCount; i++) { 42 fCount = 0; 50 fCount = count; 56 SkASSERT((unsigned)index < (unsigned)fCount);
|
SkColorTable.cpp | 19 fCount = count; 37 , fCount(count) 52 auto cache = new uint16_t[fCount]; 53 for (int i = 0; i < fCount; i++) { 68 fCount = buffer.getArrayCount(); 69 size_t allocSize = fCount * sizeof(SkPMColor); 73 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount); 75 fCount = 0; 79 SkASSERT((unsigned)fCount <= 256); 86 buffer.writeColorArray(fColors, fCount); [all...] |
SkVertState.h | 31 fCount = indexCount; 33 fCount = vCount; 46 int fCount;
|
SkRTree.h | 51 int getDepth() const { return fCount ? fRoot.fSubtree->fLevel + 1 : 0; } 53 int getCount() const { return fCount; } 90 int fCount;
|
SkRecord.cpp | 19 SkASSERT(fCount == fReserved); 39 Record* noops = std::remove_if(fRecords.get(), fRecords.get() + fCount, 41 fCount = noops - fRecords.get();
|
SkBigPicture.h | 27 SnapshotArray(const SkPicture* pics[], int count) : fPics(pics), fCount(count) {} 28 ~SnapshotArray() { for (int i = 0; i < fCount; i++) { fPics[i]->unref(); } } 31 int count() const { return fCount; } 34 int fCount;
|
SkPerspIter.h | 45 int fCount;
|
/external/skia/include/core/ |
SkColorTable.h | 34 int count() const { return fCount; } 40 SkASSERT(fColors != NULL && (unsigned)index < (unsigned)fCount); 66 int fCount; 73 if (count < 0 || count > fCount) { 78 fCount = count; // update fCount, in case count is smaller
|
/external/skia/include/gpu/ |
GrShaderVar.h | 43 , fCount(kNonArray) 52 , fCount(arrayCount) 63 , fCount(arrayCount) 74 , fCount(arrayCount) 98 fCount = count; 112 fCount = count; 119 bool isArray() const { return kNonArray != fCount; } 123 bool isUnsizedArray() const { return kUnsizedArray == fCount; } 127 int getArrayCount() const { return fCount; } 131 void setArrayCount(int count) { fCount = count; [all...] |
GrProcessor.h | 28 GrProcessorKeyBuilder(SkTArray<unsigned char, true>* data) : fData(data), fCount(0) { 33 ++fCount; 41 fCount += count; 45 size_t size() const { return sizeof(uint32_t) * fCount; } 49 int fCount; // number of uint32_ts added to fData by the processor.
|
/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/ |
SamplePictFile.cpp | 38 SkCounterDrawFilter(int count) : fCount(count) {} 41 return --fCount >= 0; 44 int fCount; 56 fCount = 0; 95 case 'n': fCount += 1; this->inval(nullptr); return true; 96 case 'p': fCount -= 1; this->inval(nullptr); return true; 97 case 's': fCount = 0; this->inval(nullptr); return true; 124 SkCounterDrawFilter filter(fCount); 125 if (fCount > 0) { 151 int fCount; [all...] |
SampleVertices.cpp | 99 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 106 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 113 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 136 int fCount; 140 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} 149 rec->fCount = n * 3; 150 rec->fVerts = new SkPoint[rec->fCount]; 166 rec->fCount = n + 2; 167 rec->fVerts = new SkPoint[rec->fCount]; 168 rec->fTexs = new SkPoint[rec->fCount]; [all...] |
/external/skia/src/gpu/ |
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...] |