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

  /external/chromium_org/third_party/skia/include/core/
SkRefCnt.h 33 SkRefCntBase() : fRefCnt(1) {}
39 SkASSERT(fRefCnt == 1);
40 fRefCnt = 0; // illegal value, to catch us if we reuse after delete
45 int32_t getRefCnt() const { return fRefCnt; }
51 bool const unique = (1 == fRefCnt);
53 // Aquire barrier (L/SL), if not provided by load of fRefCnt.
63 SkASSERT(fRefCnt > 0);
64 sk_atomic_inc(&fRefCnt); // No barrier required.
72 SkASSERT(fRefCnt > 0);
74 if (sk_atomic_dec(&fRefCnt) == 1)
    [all...]
SkWeakRefCnt.h 91 if (sk_atomic_conditional_inc(&fRefCnt) != 0) {
104 SkASSERT(fRefCnt > 0);
133 return fRefCnt == 0;
155 /* Invariant: fWeakCnt = #weak + (fRefCnt > 0 ? 1 : 0) */
SkString.h 219 int32_t fRefCnt;
  /external/skia/include/core/
SkRefCnt.h 33 SkRefCntBase() : fRefCnt(1) {}
39 SkASSERT(fRefCnt == 1);
40 fRefCnt = 0; // illegal value, to catch us if we reuse after delete
45 int32_t getRefCnt() const { return fRefCnt; }
51 bool const unique = (1 == fRefCnt);
53 // Aquire barrier (L/SL), if not provided by load of fRefCnt.
63 SkASSERT(fRefCnt > 0);
64 sk_atomic_inc(&fRefCnt); // No barrier required.
72 SkASSERT(fRefCnt > 0);
74 if (sk_atomic_dec(&fRefCnt) == 1)
    [all...]
SkWeakRefCnt.h 91 if (sk_atomic_conditional_inc(&fRefCnt) != 0) {
104 SkASSERT(fRefCnt > 0);
133 return fRefCnt == 0;
155 /* Invariant: fWeakCnt = #weak + (fRefCnt > 0 ? 1 : 0) */
SkString.h 219 int32_t fRefCnt;
  /external/chromium_org/third_party/skia/src/core/
SkRegionPriv.h 40 int32_t fRefCnt;
69 head->fRefCnt = 1;
88 SkASSERT(fRefCnt == 1);
98 if (fRefCnt > 1) {
109 if (sk_atomic_dec(&fRefCnt) == 1) {
SkString.cpp 219 rec->fRefCnt = 1;
230 sk_atomic_inc(&src->fRefCnt);
239 SkASSERT(0 == gEmptyRec.fRefCnt);
244 SkASSERT(fRec->fRefCnt > 0);
295 SkASSERT(fRec->fRefCnt > 0);
296 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
339 SkASSERT(fRec->fRefCnt > 0);
340 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
355 if (fRec->fRefCnt > 1) {
357 if (sk_atomic_dec(&fRec->fRefCnt) == 1)
    [all...]
SkRegion.cpp 93 SkASSERT(fRunHead->fRefCnt >= 1);
94 if (sk_atomic_dec(&fRunHead->fRefCnt) == 1) {
165 sk_atomic_inc(&fRunHead->fRefCnt);
    [all...]
SkBitmap.cpp 38 int32_t fRefCnt;
55 mm->fRefCnt = 1;
67 if (SK_MaxS32 == sk_atomic_inc(&fRefCnt)) {
72 SkASSERT(fRefCnt > 0);
73 if (sk_atomic_dec(&fRefCnt) == 1) {
    [all...]
SkAAClip.cpp 59 int32_t fRefCnt;
79 head->fRefCnt = 1;
197 SkASSERT(head->fRefCnt > 0);
579 SkASSERT(fRunHead->fRefCnt >= 1);
580 if (1 == sk_atomic_dec(&fRunHead->fRefCnt)) {
610 sk_atomic_inc(&fRunHead->fRefCnt);
    [all...]
  /external/skia/src/core/
SkRegionPriv.h 40 int32_t fRefCnt;
69 head->fRefCnt = 1;
88 SkASSERT(fRefCnt == 1);
98 if (fRefCnt > 1) {
109 if (sk_atomic_dec(&fRefCnt) == 1) {
SkString.cpp 219 rec->fRefCnt = 1;
230 sk_atomic_inc(&src->fRefCnt);
239 SkASSERT(0 == gEmptyRec.fRefCnt);
244 SkASSERT(fRec->fRefCnt > 0);
295 SkASSERT(fRec->fRefCnt > 0);
296 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
339 SkASSERT(fRec->fRefCnt > 0);
340 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
355 if (fRec->fRefCnt > 1) {
357 if (sk_atomic_dec(&fRec->fRefCnt) == 1)
    [all...]
SkRegion.cpp 93 SkASSERT(fRunHead->fRefCnt >= 1);
94 if (sk_atomic_dec(&fRunHead->fRefCnt) == 1) {
165 sk_atomic_inc(&fRunHead->fRefCnt);
    [all...]
SkBitmap.cpp 38 int32_t fRefCnt;
55 mm->fRefCnt = 1;
67 if (SK_MaxS32 == sk_atomic_inc(&fRefCnt)) {
72 SkASSERT(fRefCnt > 0);
73 if (sk_atomic_dec(&fRefCnt) == 1) {
    [all...]
SkAAClip.cpp 59 int32_t fRefCnt;
79 head->fRefCnt = 1;
197 SkASSERT(head->fRefCnt > 0);
579 SkASSERT(fRunHead->fRefCnt >= 1);
580 if (1 == sk_atomic_dec(&fRunHead->fRefCnt)) {
610 sk_atomic_inc(&fRunHead->fRefCnt);
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrTexture.cpp 33 this->fRefCnt = 1; // restore ref count to initial setting
  /external/skia/src/gpu/
GrTexture.cpp 33 this->fRefCnt = 1; // restore ref count to initial setting
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_FreeType.cpp 228 uint32_t fRefCnt;
270 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) {
288 rec->fRefCnt += 1;
339 if (--rec->fRefCnt == 0) {
    [all...]
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 230 uint32_t fRefCnt;
272 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) {
290 rec->fRefCnt += 1;
341 if (--rec->fRefCnt == 0) {
    [all...]

Completed in 178 milliseconds