/external/skia/gpu/include/ |
D | GrTArray.h | 30 fCount = 0; in GrTArray() 39 fCount = 0; in GrTArray() 50 fCount = 0; in GrTArray() 64 fCount = 0; in GrTArray() 73 fCount = array.count(); in GrTArray() 75 fAllocCount = GrMax(fReserveCount, fCount); in GrTArray() 80 memcpy(fMemArray, array.fMemArray, sizeof(T) * fCount); in GrTArray() 82 for (int i = 0; i < fCount; ++i) { in GrTArray() 90 fCount = count; in GrTArray() 92 fAllocCount = GrMax(fReserveCount, fCount); in GrTArray() [all …]
|
D | GrTDArray.h | 33 GrTDArray() : fArray(NULL), fAllocated(0), fCount(0) {} in GrTDArray() 35 fCount = fAllocated = src.fCount; in GrTDArray() 37 memcpy(fArray, src.fArray, fCount * sizeof(T)); in GrTDArray() 45 bool isEmpty() const { return 0 == fCount; } in isEmpty() 46 int count() const { return fCount; } in count() 49 GrAssert((unsigned)index < (unsigned)fCount); in at() 53 GrAssert((unsigned)index < (unsigned)fCount); in at() 61 if (fAllocated < src.fCount) { 62 fAllocated = src.fCount; 66 fCount = src.fCount; [all …]
|
D | GrAllocator.h | 44 fCount(0) { in GrAllocator() 57 int indexInBlock = fCount % fItemsPerBlock; in push_back() 60 if (0 != fCount) { in push_back() 66 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] + in push_back() 68 ++fCount; in push_back() 77 GrUIDivRoundUp(fCount, fItemsPerBlock)); in reset() 86 fCount = 0; in reset() 93 return fCount; in count() 99 bool empty() const { return fCount == 0; } in empty() 105 GrAssert(fCount); in back() [all …]
|
/external/skia/include/core/ |
D | SkTDArray.h | 25 fReserve = fCount = 0; in SkTDArray() 34 fReserve = fCount = 0; in SkTDArray() 45 fReserve = fCount = count; in SkTDArray() 49 fReserve = fCount = 0; in SkTDArray() 54 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 63 if (src.fCount > fReserve) { 64 SkTDArray<T> tmp(src.fArray, src.fCount); 67 memcpy(fArray, src.fArray, sizeof(T) * src.fCount); 68 fCount = src.fCount; 75 return a.fCount == b.fCount && [all …]
|
D | SkTDStack.h | 24 SkTDStack() : fCount(0), fTotalCount(0) in SkTDStack() 48 SkASSERT(fCount <= kSlotCount); in push() 49 if (fCount == kSlotCount) in push() 54 fCount = 0; in push() 57 return &fRec->fSlots[fCount++]; in push() 62 SkASSERT(fRec && fCount > idx); in index() 63 return fRec->fSlots[fCount - idx - 1]; in index() 67 SkASSERT(fRec && fCount > idx); in index() 68 return fRec->fSlots[fCount - idx - 1]; in index() 72 SkASSERT(fRec && fCount > 0); in top() [all …]
|
D | SkTemplates.h | 103 SkDEBUGCODE(fCount = count;) in SkAutoTArray() 117 SkASSERT((unsigned)index < fCount); 123 SkDEBUGCODE(size_t fCount;) 140 fCount = count; in SkAutoSTArray() 144 if (fCount > N) { in ~SkAutoSTArray() 148 T* iter = start + fCount; in ~SkAutoSTArray() 157 size_t count() const { return fCount; } in count() 166 SkASSERT((unsigned)index < fCount); 171 size_t fCount;
|
D | SkDescriptor.h | 45 fCount = 0; in init() 62 fCount += 1; 82 int count = fCount; in findEntry() 131 uint32_t getCount() const { return fCount; } in getCount() 137 uint32_t fCount; variable
|
/external/icu4c/i18n/ |
D | sortkey.cpp | 49 : UObject(), fBogus(FALSE), fCount(0), fCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 56 : UObject(), fBogus(FALSE), fCount(count), fCapacity(count), in CollationKey() 67 uprv_memcpy(fBytes, newValues, fCount); in CollationKey() 71 : UObject(other), fBogus(FALSE), fCount(other.fCount), fCapacity(other.fCapacity), in CollationKey() 88 uprv_memcpy(fBytes, other.fBytes, other.fCount); in CollationKey() 89 if(fCapacity>fCount) { in CollationKey() 90 uprv_memset(fBytes+fCount, 0, fCapacity-fCount); in CollationKey() 105 fCount = count; in adopt() 114 fCount = 0; in reset() 129 fCount = 0; in setToBogus() [all …]
|
D | nfrlist.h | 36 uint32_t fCount; variable 41 , fCount(0) 45 for(uint32_t i = 0; i < fCount; ++i) { in ~NFRuleList() 57 fCount -= 1; in remove() 58 for (uint32_t i = index; i < fCount; ++i) { // assumes small arrays in remove() 64 if (fCount == fCapacity) { in add() 69 fStuff[fCount++] = thing; in add() 72 fCount = 0; in add() 75 uint32_t size() const { return fCount; } in size() 76 NFRule* last() const { return (fCount > 0 && fStuff != NULL) ? fStuff[fCount-1] : NULL; } in last() [all …]
|
D | choicfmt.cpp | 75 fCount(0) in ChoiceFormat() 90 fCount(0) in ChoiceFormat() 104 fCount(0) in ChoiceFormat() 132 fCount(0) in ChoiceFormat() 144 if (fCount != thatAlias.fCount) return FALSE; in operator ==() 147 for (int32_t i = 0; i < fCount; i++) { in operator ==() 164 fCount = that.fCount; in operator =() 172 fChoiceLimits = (double*) uprv_malloc( sizeof(double) * fCount); in operator =() 173 fClosures = (UBool*) uprv_malloc( sizeof(UBool) * fCount); in operator =() 174 fChoiceFormats = new UnicodeString[fCount]; in operator =() [all …]
|
/external/skia/src/animator/ |
D | SkTypedArray.cpp | 39 fReserve = fCount = 0; in SkDS32Array() 48 fReserve = fCount = 0; in SkDS32Array() 53 SkDS32Array tmp(src.fArray, src.fCount); in SkDS32Array() 61 fReserve = fCount = 0; in SkDS32Array() 73 fReserve = fCount = SkToU16(count); in SkDS32Array() 81 if (src.fCount > fReserve) in operator =() 83 SkDS32Array tmp(src.fArray, src.fCount); in operator =() 88 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount); in operator =() 89 fCount = src.fCount; in operator =() 97 return a.fCount == b.fCount && in operator ==() [all …]
|
D | SkTDArray_Experimental.h | 61 bool isEmpty() const { return fCount == 0; } in isEmpty() 62 int count() const { return fCount; } in count() 66 SkASSERT(index + count <= fCount); 67 fCount = SkToU16(fCount - count); 68 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index)); 80 fReserve = fCount = 0; in reset() 84 SkASSERT(fReserve == 0 && fCount == 0); in reset() 91 this->growBy(count - fCount); in setCount() 93 fCount = SkToU16(count); in setCount() 103 uint16_t fReserve, fCount; variable [all …]
|
/external/skia/samplecode/ |
D | SampleVertices.cpp | 96 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 103 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 110 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent() 133 int fCount; member 137 Rec() : fCount(0), fVerts(NULL), fTexs(NULL) {} in Rec() 146 rec->fCount = n * 3; in make_tris() 147 rec->fVerts = new SkPoint[rec->fCount]; in make_tris() 163 rec->fCount = n + 2; in make_fan() 164 rec->fVerts = new SkPoint[rec->fCount]; in make_fan() 165 rec->fTexs = new SkPoint[rec->fCount]; in make_fan() [all …]
|
D | SampleAnimatedGradient.cpp | 13 int fCount; member 51 pts, data.fColors, data.fPos,data.fCount, in onDrawContent() 60 s, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 67 p, 0, q, 100, data.fColors, data.fPos, data.fCount, in onDrawContent() 74 100, 100, data.fColors, data.fPos, data.fCount); in onDrawContent()
|
/external/skia/src/core/ |
D | SkColorTable.cpp | 30 fCount = SkToU16(count); in SkColorTable() 43 fCount = SkToU16(count); in SkColorTable() 60 fCount = SkToU16(count); in SkColorTable() 117 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); in lock16BitCache() 118 build_16bitcache(f16BitCache, fColors, fCount); in lock16BitCache() 150 fCount = buffer.readU16(); in SkColorTable() 151 SkASSERT((unsigned)fCount <= 256); in SkColorTable() 155 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)); in SkColorTable() 156 buffer.read(fColors, fCount * sizeof(SkPMColor)); in SkColorTable()
|
D | SkPictureFlat.h | 58 int count() const { return fCount; } in count() 66 buffer.setRefCntArray(fArray, fCount); in setupBuffer() 70 int fCount; 77 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); in setupBuffer() 83 SkFactoryPlayback(int count) : fCount(count) { in SkFactoryPlayback() 94 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 98 int fCount;
|
D | SkDeque.cpp | 40 : fElemSize(elemSize), fInitialStorage(NULL), fCount(0) { in SkDeque() 45 : fElemSize(elemSize), fInitialStorage(storage), fCount(0) { in SkDeque() 103 fCount += 1; in push_front() 139 fCount += 1; in push_back() 175 SkASSERT(fCount > 0); in pop_front() 176 fCount -= 1; in pop_front() 201 SkASSERT(fCount > 0); in pop_back() 202 fCount -= 1; in pop_back()
|
/external/skia/gpu/src/ |
D | GrDrawMesh.cpp | 4 GrMesh::GrMesh() : fPts(NULL), fCount(0), fIndices(NULL), fIndexCount(0) {} in GrMesh() 19 fCount = src.fCount; in operator =() 20 fPts = new SkPoint[fCount * 2]; in operator =() 21 fTex = fPts + fCount; in operator =() 22 memcpy(fPts, src.fPts, fCount * 2 * sizeof(SkPoint)); in operator =() 41 fCount = (rows + 1) * (cols + 1); in init() 42 fPts = new SkPoint[fCount * 2]; in init() 43 fTex = fPts + fCount; in init() 81 canvas->drawVertices(SkCanvas::kTriangles_VertexMode, fCount, in draw()
|
/external/skia/src/images/ |
D | SkImageRefPool.cpp | 8 fCount = 0; in SkImageRefPool() 92 fCount += 1; in addToHead() 93 SkASSERT(computeCount() == fCount); in addToHead() 111 fCount += 1; in addToTail() 112 SkASSERT(computeCount() == fCount); in addToTail() 118 SkASSERT(fCount > 0); in detach() 135 fCount -= 1; in detach() 136 SkASSERT(computeCount() == fCount); in detach() 172 (int)fRAMBudget, (int)fRAMUsed, fCount); in dump()
|
D | SkImageDecoder_libpvjpeg.cpp | 45 MyObserver() : fCount(0) {} in MyObserver() 47 if (fCount != 0) { in ~MyObserver() 48 SkDebugf("--- pvjpeg left %d allocations\n", fCount); in ~MyObserver() 53 ++fCount; in allocateBuffer() 56 SkDebugf("--- pvjpeg alloc [%d] %d addr=%p\n", fCount, buffersize, buffer); in allocateBuffer() 60 SkDebugf("--- pvjpeg free [%d] addr=%p\n", fCount, buffer); in deallocateBuffer() 61 --fCount; in deallocateBuffer() 66 int fCount; member in MyObserver
|
/external/skia/src/ports/ |
D | SkFontHost_tables.cpp | 75 SfntHeader() : fCount(0), fDir(NULL) {} in SfntHeader() 86 fCount = count_tables(stream, &offsetToDir); in init() 87 if (0 == fCount) { in init() 96 size_t size = fCount * sizeof(SkSFNTDirEntry); in init() 101 int fCount; member 129 for (int i = 0; i < header.fCount; i++) { in GetTableTags() 132 return header.fCount; in GetTableTags() 147 for (int i = 0; i < header.fCount; i++) { in GetTableSize() 168 for (int i = 0; i < header.fCount; i++) { in GetTableData()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 44 fCount = count; in SkDashPathEffect() 74 SkASSERT(fInitialDashIndex >= 0 && fInitialDashIndex < fCount); in SkDashPathEffect() 129 SkASSERT(index <= fCount); in filterPath() 130 if (index == fCount) { in filterPath() 154 buffer.write32(fCount); in flatten() 159 buffer.writeMul4(fIntervals, fCount * sizeof(fIntervals[0])); in flatten() 167 fCount = buffer.readS32(); in SkDashPathEffect() 173 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * fCount); in SkDashPathEffect() 174 buffer.read(fIntervals, fCount * sizeof(fIntervals[0])); in SkDashPathEffect()
|
/external/skia/tests/ |
D | PackBitsTest.cpp | 19 int fCount; in test_pack16() member 30 gTests[i].fCount, dst); in test_pack16() 33 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, in test_pack16() 34 gTests[i].fCount * sizeof(uint16_t)) == 0; in test_pack16() 69 int fCount; in test_pack8() member 80 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8() 82 gTests[i].fCount, dst); in test_pack8() 86 bool match = gTests[i].fCount == srcCount && in test_pack8() 88 gTests[i].fCount * sizeof(uint8_t)) == 0; in test_pack8()
|
/external/skia/bench/ |
D | GradientBench.cpp | 12 int fCount; member 37 data.fCount, tm, mapper); in MakeLinear() 46 data.fPos, data.fCount, tm, mapper); in MakeRadial() 55 data.fPos, data.fCount, mapper); in MakeSweep() 68 data.fColors, data.fPos, data.fCount, tm, mapper); in Make2Radial() 97 int fCount; member in GradientBench 112 fCount = N * gGrads[gt].fRepeat; in GradientBench() 133 for (int i = 0; i < fCount; i++) { in onDraw()
|
/external/icu4c/layoutex/layout/ |
D | RunArrays.h | 218 le_int32 fCount; variable 223 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 229 : UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0), fCapacity(0) in RunArray() 235 : UObject(), fClientArrays(TRUE), fLimits(limits), fCount(count), fCapacity(count) in RunArray() 242 return fCount; in getCount() 247 fCount = 0; in reset() 252 if (run < 0 || run >= fCount) { in getLimit() 261 return getLimit(fCount - 1); in getLimit()
|