OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:try_ref
(Results
1 - 3
of
3
) sorted by null
/external/skia/include/private/
SkWeakRefCnt.h
28
call
try_ref
(). If
try_ref
() returns true, the owner's pointer is now also
37
result, it is allowable for the owner of a strong ref to call
try_ref
().
44
if (myRef.
try_ref
()) {
99
caller must already be an owner. If
try_ref
() returns true the owner
101
reference and new reference must be properly unreferenced. If
try_ref
()
105
bool SK_WARN_UNUSED_RESULT
try_ref
() const {
function in class:SkWeakRefCnt
133
// Like
try_ref
(), the acquire is only needed on success, to make sure
144
is the case all future calls to
try_ref
() will return false.
/external/skia/src/fonts/
SkFontMgr_indirect.cpp
92
!entry.fTypeface->weak_expired() && entry.fTypeface->
try_ref
())
97
!entry.fTypeface->weak_expired() && entry.fTypeface->
try_ref
())
/external/skia/tests/
RefCntTest.cpp
41
if (ref->
try_ref
()) {
Completed in 197 milliseconds