/external/skia/include/core/ |
H A D | 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 107 int fCount, fTotalCount; member in class:SkTDStack [all...] |
H A D | 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; 297 size_t fReserve, fCount; member in class:SkTDArray [all...] |
H A D | 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; 368 int fCount; member in class:SkTArray [all...] |
H A D | SkDeque.h | 21 bool empty() const { return 0 == fCount; } 22 int count() const { return fCount; } 69 int fCount; member in class:SkDeque
|
H A D | SkPerspIter.h | 45 int fCount; member in class:SkPerspIter
|
H A D | SkTemplates.h | 96 SkDEBUGCODE(fCount = count;) 110 SkASSERT((unsigned)index < fCount); 116 SkDEBUGCODE(size_t fCount;) 133 fCount = count; 137 if (fCount > N) { 141 T* iter = start + fCount; 150 size_t count() const { return fCount; } 159 SkASSERT((unsigned)index < fCount); 164 size_t fCount; member in class:SkAutoSTArray
|
/external/icu4c/i18n/ |
H A D | nfrlist.h | 36 uint32_t fCount; member in class:NFRuleList 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 > [all...] |
H A D | sortkey.cpp | 49 : UObject(), fBogus(FALSE), fCount(0), fCapacity(0), 56 : UObject(), fBogus(FALSE), fCount(count), fCapacity(count), 67 uprv_memcpy(fBytes, newValues, fCount); 71 : UObject(other), fBogus(FALSE), fCount(other.fCount), fCapacity(other.fCapacity), 88 uprv_memcpy(fBytes, other.fBytes, other.fCount); 89 if(fCapacity>fCount) { 90 uprv_memset(fBytes+fCount, 0, fCapacity-fCount); 110 fCount [all...] |
/external/skia/src/animator/ |
H A D | 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...] |
H A D | 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 95 uint16_t fReserve, fCount; member in class:SkDS32Array [all...] |
/external/skia/src/gpu/ |
H A D | GrTDArray.h | 27 GrTDArray() : fArray(NULL), fAllocated(0), fCount(0) {} 29 fCount = fAllocated = src.fCount; 31 memcpy(fArray, src.fArray, fCount * sizeof(T)); 39 bool isEmpty() const { return 0 == fCount; } 40 int count() const { return fCount; } 43 GrAssert((unsigned)index < (unsigned)fCount); 47 GrAssert((unsigned)index < (unsigned)fCount); 55 if (fAllocated < src.fCount) { 56 fAllocated = src.fCount; 182 int fAllocated, fCount; member in class:GrTDArray [all...] |
H A D | GrAllocator.h | 36 fCount(0) { 49 int indexInBlock = fCount % fItemsPerBlock; 52 if (0 != fCount) { 58 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] + 60 ++fCount; 69 GrUIDivRoundUp(fCount, fItemsPerBlock)); 78 fCount = 0; 85 return fCount; 91 bool empty() const { return fCount == 0; } 97 GrAssert(fCount); 135 int fCount; member in class:GrAllocator [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLShaderVar.h | 53 fCount = kNonArray; 62 , fCount(var.fCount) 85 fCount = kNonArray; 101 fCount = kNonArray; 118 fCount = count; 135 fCount = count; 143 bool isArray() const { return kNonArray != fCount; } 147 bool isUnsizedArray() const { return kUnsizedArray == fCount; } 151 int getArrayCount() const { return fCount; } 293 int fCount; member in class:GrGLShaderVar [all...] |
/external/skia/src/core/ |
H A D | 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));
|
H A D | SkPictureFlat.h | 86 int count() const { return fCount; } 94 buffer.setRefCntArray(fArray, fCount); 98 int fCount; member in class:SkRefCntPlayback 105 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 111 SkFactoryPlayback(int count) : fCount(count) { 122 buffer.setFactoryPlayback(fArray, fCount); 126 int fCount; member in class:SkFactoryPlayback
|
/external/skia/samplecode/ |
H A D | SampleVertices.cpp | 102 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 109 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 116 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 139 int fCount; member in struct:VerticesView::Rec 143 Rec() : fCount(0), fVerts(NULL), fTexs(NULL) {} 152 rec->fCount = n * 3; 153 rec->fVerts = new SkPoint[rec->fCount]; 169 rec->fCount = n + 2; 170 rec->fVerts = new SkPoint[rec->fCount]; 171 rec->fTexs = new SkPoint[rec->fCount]; [all...] |
H A D | SampleAnimatedGradient.cpp | 20 int fCount; member in struct:GradientView::GradData 58 pts, data.fColors, data.fPos,data.fCount, 67 s, 100, data.fColors, data.fPos, data.fCount, 74 p, 0, q, 100, data.fColors, data.fPos, data.fCount, 81 100, 100, data.fColors, data.fPos, data.fCount);
|
H A D | OverView.cpp | 63 int fCount; member in class:OverView 74 fCount = count; 90 for (int i = 0; i < fCount; i++) {
|
/external/skia/src/effects/ |
H A D | 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]));
|
/external/skia/src/images/ |
H A D | SkImageRefPool.cpp | 15 fCount = 0; 99 fCount += 1; 100 SkASSERT(computeCount() == fCount); 118 fCount += 1; 119 SkASSERT(computeCount() == fCount); 125 SkASSERT(fCount > 0); 142 fCount -= 1; 143 SkASSERT(computeCount() == fCount); 179 (int)fRAMBudget, (int)fRAMUsed, fCount);
|
H A D | SkImageRefPool.h | 37 int fCount; member in class:SkImageRefPool
|
/external/skia/src/ports/ |
H A D | SkFontHost_tables.cpp | 82 SfntHeader() : fCount(0), fDir(NULL) {} 85 /** If it returns true, then fCount and fDir are properly initialized. 93 fCount = count_tables(stream, &offsetToDir); 94 if (0 == fCount) { 103 size_t size = fCount * sizeof(SkSFNTDirEntry); 108 int fCount; member in struct:SfntHeader 136 for (int i = 0; i < header.fCount; i++) { 139 return header.fCount; 154 for (int i = 0; i < header.fCount; i++) { 175 for (int i = 0; i < header.fCount; [all...] |
/external/junit/src/org/junit/runner/ |
H A D | Result.java | 19 private AtomicInteger fCount = new AtomicInteger(); field in class:Result 29 return fCount.get(); 81 fCount.getAndIncrement();
|
/external/skia/include/effects/ |
H A D | SkDashPathEffect.h | 49 int32_t fCount; member in class:SkDashPathEffect
|
/external/skia/tests/ |
H A D | PackBitsTest.cpp | 26 int fCount; member in struct:__anon12133 37 gTests[i].fCount, dst); 40 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, 41 gTests[i].fCount * sizeof(uint16_t)) == 0; 76 int fCount; member in struct:__anon12134 87 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); 89 gTests[i].fCount, dst); 93 bool match = gTests[i].fCount == srcCount && 95 gTests[i].fCount * sizeof(uint8_t)) == 0;
|