/external/skia/src/gpu/ |
H A D | 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; member in class:GrWindowRectangles 45 SkIRect fLocalWindows[kNumLocalWindows]; // If fCount <= kNumLocalWindows. 46 Rec* fRec; // If fCount > kNumLocalWindows. 61 return fCount <= kNumLocalWindows ? fLocalWindows : fRec->fData; 66 fCount [all...] |
H A D | 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; 221 int fCount; member in class:GrAllocator [all...] |
/external/skia/src/core/ |
H A D | 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);
|
H A D | SkColorTable.cpp | 18 fCount = count; 36 , fCount(count) 51 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); 52 for (int i = 0; i < fCount; i++) { 67 fCount = buffer.getArrayCount(); 68 size_t allocSize = fCount * sizeof(SkPMColor); 72 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount); 74 fCount = 0; 78 SkASSERT((unsigned)fCount <= 256); 85 buffer.writeColorArray(fColors, fCount); [all...] |
H A D | SkVertState.h | 31 fCount = indexCount; 33 fCount = vCount; 46 int fCount; member in struct:VertState
|
H A D | SkRecord.cpp | 19 SkASSERT(fCount == fReserved); 39 Record* noops = std::remove_if(fRecords.get(), fRecords.get() + fCount, 41 fCount = noops - fRecords.get();
|
H A D | 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; member in class:final::SnapshotArray
|
H A D | 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 283 int fCount; // Number of non Empty(), non Deleted() entries in fArray. member in class:SkTDynamicHash [all...] |
H A D | SkPictureFlat.h | 160 int count() const { return fCount; } 168 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 172 int fCount; member in class:SkTypefacePlayback 178 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } 185 buffer.setFactoryPlayback(fArray, fCount); 189 int fCount; member in class:SkFactoryPlayback
|
H A D | 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) {
|
H A D | SkFontStream.cpp | 105 SfntHeader() : fCount(0), fDir(nullptr) {} 108 /** If it returns true, then fCount and fDir are properly initialized. 118 fCount = count_tables(stream, ttcIndex, &offsetToDir); 119 if (0 == fCount) { 128 size_t size = fCount * sizeof(SkSFNTDirEntry); 133 int fCount; member in struct:SfntHeader 164 for (int i = 0; i < header.fCount; i++) { 168 return header.fCount; 179 for (int i = 0; i < header.fCount; i++) {
|
H A D | SkPerspIter.h | 45 int fCount; member in class:SkPerspIter
|
/external/skia/include/private/ |
H A D | 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 362 int fCount; member in class:SkTDArray [all...] |
H A D | 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 536 int fCount; variable [all...] |
H A D | SkSemaphore.h | 18 : fCount(count), fOSSemaphore(nullptr) {} 49 std::atomic<int> fCount; member in class:SkBaseSemaphore 61 int prev = fCount.fetch_add(n, std::memory_order_release); 81 if (fCount.fetch_sub(1, std::memory_order_acquire) <= 0) {
|
/external/icu/icu4c/source/i18n/ |
H A D | nfrlist.h | 38 uint32_t fCount; member in class:NFRuleList 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 > [all...] |
/external/dng_sdk/source/ |
H A D | 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;
|
H A D | dng_string_list.h | 31 uint32 fCount; member in class:dng_string_list 45 return fCount;
|
/external/skia/include/core/ |
H A D | SkColorTable.h | 34 int count() const { return fCount; } 40 SkASSERT(fColors != NULL && (unsigned)index < (unsigned)fCount); 67 int fCount; member in class:SkColorTable 75 if (count < 0 || count > fCount) { 80 fCount = count; // update fCount, in case count is smaller
|
H A D | SkDataTable.h | 25 bool isEmpty() const { return 0 == fCount; } 30 int count() const { return fCount; } 98 int fCount; member in class:SkDataTable
|
/external/skia/include/gpu/ |
H A D | 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 323 int fCount; member in class:GrShaderVar [all...] |
/external/skia/src/fonts/ |
H A D | SkRemotableFontMgr.cpp | 12 : fCount(count), fData(count)
|
/external/skia/tests/ |
H A D | PackBitsTest.cpp | 27 int fCount; member in struct:__anon17256 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/ |
H A D | SamplePictFile.cpp | 36 SkCounterDrawFilter(int count) : fCount(count) {} 39 return --fCount >= 0; 42 int fCount; member in class:SkCounterDrawFilter 54 fCount = 0; 98 case 'n': fCount += 1; this->inval(nullptr); return true; 99 case 'p': fCount -= 1; this->inval(nullptr); return true; 100 case 's': fCount = 0; this->inval(nullptr); return true; 133 SkCounterDrawFilter filter(fCount); 134 if (fCount > 0) { 160 int fCount; member in class:PictFileView [all...] |
H A D | SampleVertices.cpp | 90 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 97 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 104 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, 127 int fCount; member in struct:VerticesView::Rec 131 Rec() : fCount(0), fVerts(nullptr), fTexs(nullptr) {} 140 rec->fCount = n * 3; 141 rec->fVerts = new SkPoint[rec->fCount]; 157 rec->fCount = n + 2; 158 rec->fVerts = new SkPoint[rec->fCount]; 159 rec->fTexs = new SkPoint[rec->fCount]; [all...] |