HomeSort by relevance Sort by last modified time
    Searched refs:fRefCnt (Results 1 - 9 of 9) sorted by null

  /external/skia/gpu/include/
GrRefCnt.h 34 GrRefCnt() : fRefCnt(1) {}
36 GrAssert(1 == fRefCnt);
38 fRefCnt = 0; // force validate() to trigger if called afterwards
42 int32_t refcnt() const { return fRefCnt; }
45 GrAssert(fRefCnt > 0);
46 ++fRefCnt;
50 GrAssert(fRefCnt > 0);
51 if (1 == fRefCnt) {
54 --fRefCnt;
60 GrAssert(fRefCnt > 0)
    [all...]
  /external/skia/src/core/
SkRegionPriv.h 30 int32_t fRefCnt;
41 head->fRefCnt = 1;
54 SkASSERT(fRefCnt == 1);
68 if (fRefCnt > 1)
80 if (sk_atomic_dec(&fRefCnt) == 1)
SkString.cpp 207 rec->fRefCnt = 1;
218 if (src->fRefCnt == kMaxRefCnt_SkString) {
221 src->fRefCnt += 1;
231 SkASSERT(gEmptyRec.fRefCnt == 0);
236 SkASSERT(fRec->fRefCnt > 0);
289 SkASSERT(fRec->fRefCnt > 0);
290 if (--fRec->fRefCnt == 0) {
333 SkASSERT(fRec->fRefCnt > 0);
334 if (--fRec->fRefCnt == 0) {
349 if (fRec->fRefCnt > 1)
    [all...]
SkRegion.cpp 109 SkASSERT(fRunHead->fRefCnt >= 1);
110 if (sk_atomic_dec(&fRunHead->fRefCnt) == 1) {
162 sk_atomic_inc(&fRunHead->fRefCnt);
1118 SkASSERT(fRunHead->fRefCnt >= 1);
    [all...]
SkBitmap.cpp 43 int32_t fRefCnt;
60 mm->fRefCnt = 1;
72 if (SK_MaxS32 == sk_atomic_inc(&fRefCnt)) {
77 SkASSERT(fRefCnt > 0);
78 if (sk_atomic_dec(&fRefCnt) == 1) {
    [all...]
  /external/skia/include/core/
SkRefCnt.h 36 SkRefCnt() : fRefCnt(1) {}
40 virtual ~SkRefCnt() { SkASSERT(fRefCnt == 1); }
44 int32_t getRefCnt() const { return fRefCnt; }
49 SkASSERT(fRefCnt > 0);
50 sk_atomic_inc(&fRefCnt);
59 SkASSERT(fRefCnt > 0);
60 if (sk_atomic_dec(&fRefCnt) == 1) {
61 fRefCnt = 1; // so our destructor won't complain
67 mutable int32_t fRefCnt;
SkString.h 162 uint16_t fRefCnt;
  /external/skia/include/effects/
SkGroupShape.h 11 SkTRefCnt() : fRefCnt(1) {}
12 ~SkTRefCnt() { SkASSERT(1 == fRefCnt); }
14 int32_t getRefCnt() const { return fRefCnt; }
19 SkASSERT(fRefCnt > 0);
20 sk_atomic_inc(&fRefCnt);
29 SkASSERT(fRefCnt > 0);
30 if (sk_atomic_dec(&fRefCnt) == 1) {
31 fRefCnt = 1; // so our destructor won't complain
49 mutable int32_t fRefCnt;
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 160 uint32_t fRefCnt;
218 rec->fRefCnt += 1;
262 rec->fRefCnt = 1;
273 if (--rec->fRefCnt == 0) {
    [all...]

Completed in 481 milliseconds