OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fRefCnt
(Results
1 - 19
of
19
) sorted by null
/external/skia/legacy/src/core/
SkRegionPriv.h
22
int32_t
fRefCnt
;
33
head->
fRefCnt
= 1;
46
SkASSERT(
fRefCnt
== 1);
60
if (
fRefCnt
> 1)
72
if (sk_atomic_dec(&
fRefCnt
) == 1)
SkString.cpp
199
rec->
fRefCnt
= 1;
210
sk_atomic_inc(&src->
fRefCnt
);
219
SkASSERT(0 == gEmptyRec.
fRefCnt
);
224
SkASSERT(fRec->
fRefCnt
> 0);
277
SkASSERT(fRec->
fRefCnt
> 0);
278
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1) {
321
SkASSERT(fRec->
fRefCnt
> 0);
322
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1) {
337
if (fRec->
fRefCnt
> 1) {
339
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1)
[
all
...]
SkRegion.cpp
97
SkASSERT(fRunHead->
fRefCnt
>= 1);
98
if (sk_atomic_dec(&fRunHead->
fRefCnt
) == 1) {
150
sk_atomic_inc(&fRunHead->
fRefCnt
);
1089
SkASSERT(fRunHead->
fRefCnt
>= 1);
[
all
...]
SkBitmap.cpp
36
int32_t
fRefCnt
;
53
mm->
fRefCnt
= 1;
65
if (SK_MaxS32 == sk_atomic_inc(&
fRefCnt
)) {
70
SkASSERT(
fRefCnt
> 0);
71
if (sk_atomic_dec(&
fRefCnt
) == 1) {
[
all
...]
SkAAClip.cpp
57
int32_t
fRefCnt
;
77
head->
fRefCnt
= 1;
193
SkASSERT(head->
fRefCnt
> 0);
563
SkASSERT(fRunHead->
fRefCnt
>= 1);
564
if (1 == sk_atomic_dec(&fRunHead->
fRefCnt
)) {
594
sk_atomic_inc(&fRunHead->
fRefCnt
);
[
all
...]
/external/skia/legacy/include/effects/
SkGroupShape.h
18
SkTRefCnt() :
fRefCnt
(1) {}
19
~SkTRefCnt() { SkASSERT(1 ==
fRefCnt
); }
21
int32_t getRefCnt() const { return
fRefCnt
; }
26
SkASSERT(
fRefCnt
> 0);
27
sk_atomic_inc(&
fRefCnt
);
36
SkASSERT(
fRefCnt
> 0);
37
if (sk_atomic_dec(&
fRefCnt
) == 1) {
38
fRefCnt
= 1; // so our destructor won't complain
56
mutable int32_t
fRefCnt
;
/external/skia/legacy/include/core/
SkRefCnt.h
29
SkRefCnt() :
fRefCnt
(1) {}
35
SkASSERT(
fRefCnt
== 1);
36
fRefCnt
= 0; // illegal value, to catch us if we reuse after delete
42
int32_t getRefCnt() const { return
fRefCnt
; }
47
SkASSERT(
fRefCnt
> 0);
48
sk_atomic_inc(&
fRefCnt
);
57
SkASSERT(
fRefCnt
> 0);
58
if (sk_atomic_dec(&
fRefCnt
) == 1) {
59
fRefCnt
= 1; // so our destructor won't complain
65
SkASSERT(
fRefCnt
> 0)
[
all
...]
SkString.h
155
int32_t
fRefCnt
;
/external/skia/include/core/
SkRefCnt.h
33
SkRefCnt() :
fRefCnt
(1) {}
39
SkASSERT(
fRefCnt
== 1);
40
fRefCnt
= 0; // illegal value, to catch us if we reuse after delete
46
int32_t getRefCnt() const { return
fRefCnt
; }
51
SkASSERT(
fRefCnt
> 0);
52
sk_atomic_inc(&
fRefCnt
); // No barrier required.
60
SkASSERT(
fRefCnt
> 0);
62
if (sk_atomic_dec(&
fRefCnt
) == 1) {
71
SkASSERT(
fRefCnt
> 0);
87
* so they can reset
fRefCnt
before the destructor is called. Should onl
[
all
...]
SkWeakRefCnt.h
89
if (sk_atomic_conditional_inc(&
fRefCnt
) != 0) {
102
SkASSERT(
fRefCnt
> 0);
131
return
fRefCnt
== 0;
153
/* Invariant: fWeakCnt = #weak + (
fRefCnt
> 0 ? 1 : 0) */
SkString.h
206
int32_t
fRefCnt
;
/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
201
rec->
fRefCnt
= 1;
212
sk_atomic_inc(&src->
fRefCnt
);
221
SkASSERT(0 == gEmptyRec.
fRefCnt
);
226
SkASSERT(fRec->
fRefCnt
> 0);
279
SkASSERT(fRec->
fRefCnt
> 0);
280
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1) {
323
SkASSERT(fRec->
fRefCnt
> 0);
324
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1) {
339
if (fRec->
fRefCnt
> 1) {
341
if (sk_atomic_dec(&fRec->
fRefCnt
) == 1)
[
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
...]
SkRegion.cpp
93
SkASSERT(fRunHead->
fRefCnt
>= 1);
94
if (sk_atomic_dec(&fRunHead->
fRefCnt
) == 1) {
156
sk_atomic_inc(&fRunHead->
fRefCnt
);
[
all
...]
SkAAClip.cpp
57
int32_t
fRefCnt
;
77
head->
fRefCnt
= 1;
194
SkASSERT(head->
fRefCnt
> 0);
577
SkASSERT(fRunHead->
fRefCnt
>= 1);
578
if (1 == sk_atomic_dec(&fRunHead->
fRefCnt
)) {
608
sk_atomic_inc(&fRunHead->
fRefCnt
);
[
all
...]
/external/skia/src/gpu/
GrTexture.cpp
28
this->
fRefCnt
= 1; // restore ref count to initial setting
/external/skia/src/ports/
SkFontHost_FreeType.cpp
209
uint32_t
fRefCnt
;
251
: fNext(NULL), fSkStream(strm),
fRefCnt
(1), fFontID(fontID) {
268
rec->
fRefCnt
+= 1;
323
if (--rec->
fRefCnt
== 0) {
[
all
...]
/external/skia/legacy/src/ports/
SkFontHost_FreeType.cpp
196
uint32_t
fRefCnt
;
254
rec->
fRefCnt
+= 1;
298
rec->
fRefCnt
= 1;
309
if (--rec->
fRefCnt
== 0) {
[
all
...]
Completed in 2511 milliseconds