/external/skia/src/utils/ |
SkCountdown.cpp | 12 : fCount(count) {} 15 fCount = count; 19 if (sk_atomic_dec(&fCount) == 1) { 28 while (fCount > 0) {
|
/external/skia/include/core/ |
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...] |
SkTDArray.h | 18 fReserve = fCount = 0; 27 fReserve = fCount = 0; 38 fReserve = fCount = count; 42 fReserve = fCount = 0; 47 SkTDArray<T> tmp(src.fArray, src.fCount); 56 if (src.fCount > fReserve) { 57 SkTDArray<T> tmp(src.fArray, src.fCount); 60 memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 61 fCount = src.fCount; [all...] |
SkTArray.h | 21 memcpy(self->fMemArray, array, self->fCount * sizeof(T)); 25 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T)); 30 for (int i = 0; i < self->fCount; ++i) { 36 for (int i = 0; i < self->fCount; ++i) { 55 fCount = 0; 74 this->init(array.fItemArray, array.fCount, NULL, 0); 90 for (int i = 0; i < fCount; ++i) { 93 fCount = 0; 95 fCount = array.count(); 101 for (int i = 0; i < fCount; ++i) [all...] |
SkColorTable.h | 50 int count() const { return fCount; } 56 SkASSERT(fColors != NULL && (unsigned)index < fCount); 102 uint16_t fCount;
|
SkDataSet.h | 39 bool isEmpty() const { return 0 == fCount; } 40 int count() const { return fCount; } 47 fStop = ds.fPairs + ds.fCount; 81 int32_t fCount;
|
/external/skia/legacy/include/core/ |
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...] |
SkTDArray.h | 18 fReserve = fCount = 0; 27 fReserve = fCount = 0; 38 fReserve = fCount = count; 42 fReserve = fCount = 0; 47 SkTDArray<T> tmp(src.fArray, src.fCount); 56 if (src.fCount > fReserve) { 57 SkTDArray<T> tmp(src.fArray, src.fCount); 60 memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 61 fCount = src.fCount; [all...] |
SkTArray.h | 21 memcpy(self->fMemArray, array, self->fCount * sizeof(T)); 25 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T)); 30 for (int i = 0; i < self->fCount; ++i) { 36 for (int i = 0; i < self->fCount; ++i) { 55 fCount = 0; 74 this->init(array.fItemArray, array.fCount, NULL, 0); 90 for (int i = 0; i < fCount; ++i) { 93 fCount = 0; 95 fCount = array.count(); 101 for (int i = 0; i < fCount; ++i) [all...] |
SkDeque.h | 21 bool empty() const { return 0 == fCount; } 22 int count() const { return fCount; } 69 int fCount;
|
SkPerspIter.h | 45 int fCount;
|
/external/skia/legacy/src/animator/ |
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/src/animator/ |
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/icu4c/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/skia/include/utils/ |
SkCountdown.h | 33 int32_t fCount;
|
/external/skia/src/gpu/ |
GrAllocator.h | 37 fCount(0) { 50 int indexInBlock = fCount % fItemsPerBlock; 53 if (0 != fCount) { 59 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] + 61 ++fCount; 70 GrUIDivRoundUp(fCount, fItemsPerBlock)); 79 fCount = 0; 86 return fCount; 92 bool empty() const { return fCount == 0; } 98 GrAssert(fCount); [all...] |
/external/skia/src/core/ |
SkTRefArray.h | 31 obj->fCount = count; 64 int count() const { return fCount; } 66 const T* end() const { return this->begin() + fCount; } 68 SkASSERT((unsigned)index < (unsigned)fCount); 81 return this->writableBegin() + fCount; 84 SkASSERT((unsigned)index < (unsigned)fCount); 91 int n = fCount; 104 int fCount;
|
SkColorTable.cpp | 25 fCount = SkToU16(count); 39 fCount = SkToU16(count); 56 fCount = SkToU16(count); 113 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); 114 build_16bitcache(f16BitCache, fColors, fCount); 147 fCount = buffer.getArrayCount(); 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)); 151 SkASSERT((unsigned)fCount <= 256); 152 SkASSERT(countRead == fCount); 158 buffer.writeColorArray(fColors, fCount); [all...] |
SkData.cpp | 177 fCount = 1; 189 fCount = 0; 218 fCount = uniqueCount; 223 for (int i = 0; i < fCount; ++i) { 230 return findValue(key, fPairs, fCount); 234 stream->write32(fCount); 235 if (fCount > 0) { 239 for (int i = 0; i < fCount; ++i) { 246 buffer.writeInt(fCount); 247 if (fCount > 0) [all...] |
SkPerspIter.h | 45 int fCount;
|
/external/skia/legacy/src/core/ |
SkColorTable.cpp | 23 fCount = SkToU16(count); 36 fCount = SkToU16(count); 53 fCount = SkToU16(count); 110 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); 111 build_16bitcache(f16BitCache, fColors, fCount); 143 fCount = buffer.readU16(); 144 SkASSERT((unsigned)fCount <= 256); 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)); 149 buffer.read(fColors, fCount * sizeof(SkPMColor));
|
/external/skia/src/gpu/gl/ |
GrGLShaderVar.h | 61 fCount = kNonArray; 71 fCount = arrayCount; 82 , fCount(var.fCount) 110 fCount = kNonArray; 129 fCount = kNonArray; 149 fCount = count; 169 fCount = count; 178 bool isArray() const { return kNonArray != fCount; } 182 bool isUnsizedArray() const { return kUnsizedArray == fCount; } [all...] |
/external/skia/legacy/src/effects/ |
SkDashPathEffect.cpp | 36 fCount = count; 66 SkASSERT(fInitialDashIndex >= 0 && fInitialDashIndex < fCount); 121 SkASSERT(index <= fCount); 122 if (index == fCount) { 146 buffer.write32(fCount); 151 buffer.writeMul4(fIntervals, fCount * sizeof(fIntervals[0])); 159 fCount = buffer.readS32(); 165 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * fCount); 166 buffer.read(fIntervals, fCount * sizeof(fIntervals[0]));
|