OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WeakPtr
(Results
1 - 6
of
6
) sorted by null
/external/perfetto/include/perfetto/base/
weak_ptr.h
27
// A simple
WeakPtr
for single-threaded cases.
29
//
WeakPtr
(s) invalidate as first thing in the class dtor.
33
//
WeakPtr
<MyClass> GetWeakPtr() { return weak_factory_.GetWeakPtr(); }
53
class
WeakPtr
{
55
WeakPtr
() {}
56
WeakPtr
(const
WeakPtr
&) = default;
57
WeakPtr
& operator=(const
WeakPtr
&) = default;
58
WeakPtr
(WeakPtr&&) = default
[
all
...]
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/
race_condition.pass.cpp
25
typedef std::weak_ptr<int>
WeakPtr
;
38
WeakPtr
x3 = x; // increment weak count
40
WeakPtr
x5 = x3; // increment weak count
58
WeakPtr
w = p;
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/memory/util.smartptr/
race_condition.pass.cpp
25
typedef std::weak_ptr<int>
WeakPtr
;
38
WeakPtr
x3 = x; // increment weak count
40
WeakPtr
x5 = x3; // increment weak count
58
WeakPtr
w = p;
/external/pdfium/core/fxcrt/
weak_ptr.h
20
class
WeakPtr
{
22
WeakPtr
() = default;
23
WeakPtr
(const
WeakPtr
& that) : m_pHandle(that.m_pHandle) {}
24
WeakPtr
(
WeakPtr
&& that) noexcept { Swap(that); }
25
explicit
WeakPtr
(std::unique_ptr<T, D> pObj)
30
WeakPtr
(std::nullptr_t arg) {}
36
WeakPtr
& operator=(const
WeakPtr
& that)
[
all
...]
/external/deqp/framework/delibs/decpp/
deSharedPtr.hpp
64
volatile deInt32 weakRefCount; //!<
WeakPtr
references + StrongPtr references.
96
class
WeakPtr
;
122
explicit SharedPtr (const
WeakPtr
<Y>& other);
131
SharedPtr& operator= (const
WeakPtr
<Y>& other);
148
void acquireFromWeak (const
WeakPtr
<T>& other);
154
friend class
WeakPtr
<T>;
163
*
WeakPtr
manages weak references to objects owned by SharedPtr. Shared
168
*
WeakPtr
can be converted back to SharedPtr but that operation can fail
173
class
WeakPtr
176
WeakPtr
(void)
[
all
...]
/external/libchrome/base/memory/
weak_ptr.h
31
// static void StartNew(const
WeakPtr
<Controller>& controller) {
36
// Worker(const
WeakPtr
<Controller>& controller)
42
//
WeakPtr
<Controller> controller_;
55
// To ensure correct use, the first time a
WeakPtr
issued by a WeakPtrFactory
62
// If all
WeakPtr
objects are destroyed or invalidated then the factory is
64
// destroyed, or new
WeakPtr
objects may be used, from a different sequence.
66
// Thus, at least one
WeakPtr
object must exist and have been dereferenced on
67
// the correct thread to enforce that other
WeakPtr
objects will enforce they
85
template <typename T> class
WeakPtr
;
88
// These classes are part of the
WeakPtr
implementation
[
all
...]
Completed in 849 milliseconds