OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fObj
(Results
1 - 15
of
15
) sorted by null
/external/skia/include/core/
SkTScopedPtr.h
27
explicit SkTScopedPtr(T* o = NULL) :
fObj
(o) {}
30
delete
fObj
;
37
if (o !=
fObj
) {
39
delete
fObj
;
40
fObj
= o;
48
T* retVal =
fObj
;
49
fObj
= NULL;
54
SkASSERT(
fObj
!= NULL);
55
return *
fObj
;
58
SkASSERT(
fObj
!= NULL)
[
all
...]
SkRefCnt.h
162
explicit SkAutoTUnref(T* obj = NULL) :
fObj
(obj) {}
163
~SkAutoTUnref() { SkSafeUnref(
fObj
); }
165
T* get() const { return
fObj
; }
168
SkSafeUnref(
fObj
);
169
fObj
= obj;
173
T* tmp =
fObj
;
174
fObj
= other->
fObj
;
175
other->
fObj
= tmp;
185
T* obj =
fObj
;
[
all
...]
SkTLazy.h
117
SkTCopyOnFirstWrite(const T& initial) :
fObj
(&initial) {}
120
SkTCopyOnFirstWrite() :
fObj
(NULL) {}
124
SkASSERT(NULL ==
fObj
);
126
fObj
= &initial;
133
SkASSERT(NULL !=
fObj
);
135
fLazy.set(*
fObj
);
136
fObj
= fLazy.get();
138
return const_cast<T*>(
fObj
);
145
const T *operator->() const { return
fObj
; }
147
operator const T*() const { return
fObj
; }
[
all
...]
SkTemplates.h
53
SkAutoTCallVProc(T* obj):
fObj
(obj) {}
54
~SkAutoTCallVProc() { if (
fObj
) P(
fObj
); }
55
T* detach() { T* obj =
fObj
;
fObj
= NULL; return obj; }
57
T*
fObj
;
70
SkAutoTCallIProc(T* obj):
fObj
(obj) {}
71
~SkAutoTCallIProc() { if (
fObj
) P(
fObj
); }
72
T* detach() { T* obj =
fObj
; fObj = NULL; return obj;
[
all
...]
/external/skia/legacy/include/core/
SkTScopedPtr.h
27
explicit SkTScopedPtr(T* o = NULL) :
fObj
(o) {}
30
delete
fObj
;
37
if (o !=
fObj
) {
39
delete
fObj
;
40
fObj
= o;
48
T* retVal =
fObj
;
49
fObj
= NULL;
54
SkASSERT(
fObj
!= NULL);
55
return *
fObj
;
58
SkASSERT(
fObj
!= NULL)
[
all
...]
SkRefCnt.h
109
explicit SkAutoTUnref(T* obj = NULL) :
fObj
(obj) {}
110
~SkAutoTUnref() { SkSafeUnref(
fObj
); }
112
T* get() const { return
fObj
; }
115
SkSafeUnref(
fObj
);
116
fObj
= obj;
126
T* obj =
fObj
;
127
fObj
= NULL;
132
T*
fObj
;
142
SkAutoRef(SkRefCnt* obj) :
fObj
(obj) { SkSafeRef(obj); }
143
~SkAutoRef() { SkSafeUnref(
fObj
); }
[
all
...]
SkTemplates.h
31
SkAutoTCallVProc(T* obj):
fObj
(obj) {}
32
~SkAutoTCallVProc() { if (
fObj
) P(
fObj
); }
33
T* detach() { T* obj =
fObj
;
fObj
= NULL; return obj; }
35
T*
fObj
;
48
SkAutoTCallIProc(T* obj):
fObj
(obj) {}
49
~SkAutoTCallIProc() { if (
fObj
) P(
fObj
); }
50
T* detach() { T* obj =
fObj
; fObj = NULL; return obj;
[
all
...]
/external/skia/legacy/src/core/
SkTemplatesPriv.h
52
SkAutoTPlacementDelete(T* obj, void* storage) :
fObj
(obj), fStorage(storage)
57
if (
fObj
)
59
if (
fObj
== fStorage)
60
fObj
->~T();
62
delete
fObj
;
67
T* obj =
fObj
;
68
fObj
= NULL;
72
T*
fObj
;
SkBlitter.cpp
747
:
fObj
(obj), fProc(proc) {}
750
if (
fObj
&& fProc) {
751
fProc(
fObj
);
755
void* get() const { return
fObj
; }
758
void* obj =
fObj
;
759
fObj
= NULL;
764
void*
fObj
;
/external/skia/src/core/
SkTemplatesPriv.h
52
SkAutoTPlacementDelete(T* obj, void* storage) :
fObj
(obj), fStorage(storage)
57
if (
fObj
)
59
if (
fObj
== fStorage)
60
fObj
->~T();
62
delete
fObj
;
67
T* obj =
fObj
;
68
fObj
= NULL;
72
T*
fObj
;
SkTLList.h
35
char
fObj
[sizeof(T)];
57
SkTCast<T*>(node->
fObj
)->~T();
73
SkNEW_PLACEMENT_ARGS(node->
fObj
, T, (t));
75
return reinterpret_cast<T*>(node->
fObj
);
82
SkNEW_PLACEMENT_ARGS(node->
fObj
, T, (t));
84
return reinterpret_cast<T*>(node->
fObj
);
129
SkASSERT(reinterpret_cast<T*>(node->
fObj
) == t);
205
return reinterpret_cast<T*>(node->
fObj
);
250
SkTCast<T*>(node->
fObj
)->~T();
331
return node->
fObj
;
[
all
...]
SkBlitter.cpp
763
:
fObj
(obj), fProc(proc) {}
766
if (
fObj
&& fProc) {
767
fProc(
fObj
);
771
void* get() const { return
fObj
; }
774
void* obj =
fObj
;
775
fObj
= NULL;
780
void*
fObj
;
/external/skia/src/pdf/
SkPDFTypes.cpp
76
SkPDFObjRef::SkPDFObjRef(SkPDFObject* obj) :
fObj
(obj) {
85
catalog->emitObjectNumber(stream,
fObj
.get());
91
return catalog->getObjectNumberSize(
fObj
.get()) + strlen(" R");
SkPDFTypes.h
115
SkAutoTUnref<SkPDFObject>
fObj
;
/external/skia/legacy/src/ports/
SkFontHost_mac_coretext.cpp
43
AutoCFRelease(CFTypeRef obj) :
fObj
(obj) {}
44
~AutoCFRelease() { CFSafeRelease(
fObj
); }
47
CFTypeRef
fObj
;
327
AutoCFDataRelease(CFDataRef obj) :
fObj
(obj) {}
329
return
fObj
? (const uint16_t*) CFDataGetBytePtr(
fObj
) : NULL;
331
~AutoCFDataRelease() { CFSafeRelease(
fObj
); }
333
CFDataRef
fObj
;
[
all
...]
Completed in 268 milliseconds