HomeSort by relevance Sort by last modified time
    Searched defs:RefCounted (Results 1 - 10 of 10) sorted by null

  /external/tensorflow/tensorflow/core/lib/core/
refcount.h 25 class RefCounted {
28 RefCounted();
50 // Make destructor protected so that RefCounted objects cannot
52 virtual ~RefCounted();
57 RefCounted(const RefCounted&) = delete;
58 void operator=(const RefCounted&) = delete;
64 explicit ScopedUnref(RefCounted* o) : obj_(o) {}
70 RefCounted* obj_;
77 inline RefCounted::RefCounted() : ref_(1) {
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
refcount.h 22 // type inherits from RefCounted<>, which have AddRef and Release just like
26 // class Foo : public RefCounted<Foo> {
44 // 2. All RefCounted objects must be instantiated on the heap. Allocating the
47 // class A : public RefCounted<A>;
48 // class B : public A, public RefCounted<B>;
52 // class A : public I, public RefCounted<A>; // A specific implementation
53 // class B : public I, public RefCounted<B>; // B specific implementation
119 class RefCounted : virtual public RefCount {
121 RefCounted() : ref_count_(0) {
128 RefCounted(const RefCounted<TDerived>&) : ref_count_(0) {
    [all...]
  /external/v8/tools/clang/plugins/tests/
base_refcounted.h 11 class RefCounted {
13 RefCounted() {}
15 ~RefCounted() {}
28 // Ignore classes whose inheritance tree ends in WebKit's RefCounted base
34 class RefCounted {
36 RefCounted() {}
37 ~RefCounted() {}
44 : public base::RefCounted<PublicRefCountedDtorInHeader> {
50 friend class base::RefCounted<PublicRefCountedDtorInHeader>;
68 : public base::RefCounted<ProtectedRefCountedDtorInHeader>
    [all...]
  /external/Microsoft-GSL/tests/
notnull_tests.cpp 39 struct RefCounted
41 RefCounted(T* p) : p_(p) {}
124 auto rp = RefCounted<int>(&i);
  /external/tensorflow/tensorflow/core/lib/gtl/
inlined_vector_test.cc 56 class RefCounted {
58 RefCounted(int value, int* count) : value_(value), count_(count) { Ref(); }
60 RefCounted(const RefCounted& v) : value_(v.value_), count_(v.count_) {
61 VLOG(5) << "[RefCounted: copy"
66 ~RefCounted() {
71 friend void swap(RefCounted& a, RefCounted& b) {
77 RefCounted& operator=(RefCounted v)
    [all...]
  /external/libchrome/base/memory/
ref_counted.h 57 DCHECK(in_dtor_) << "RefCounted object deleted without calling Release()";
69 << "This RefCounted object is created with non-zero reference count."
173 // RefCounted below for rare pre-existing use cases where thread-safety was
195 // knock-off of WebKit's RefCounted<T> class. To use this, just extend your
198 // class MyFoo : public base::RefCounted<MyFoo> {
201 // friend class base::RefCounted<MyFoo>;
209 // The ref count manipulation to RefCounted is NOT thread safe and has DCHECKs
210 // to trap unsafe cross thread usage. A subclass instance of RefCounted can be
212 // count is more than 1, the RefCounted class verifies the ref updates are made
231 // - Behavior parity to Blink's WTF::RefCounted, whose count starts from one
    [all...]
  /external/v8/tools/clang/blink_gc_plugin/tests/heap/
stubs.h 20 template<typename T> class RefCounted { };
  /external/v8/tools/clang/blink_gc_plugin/tests/legacy_naming/heap/
stubs.h 20 template<typename T> class RefCounted { };
  /external/protobuf/php/ext/google/protobuf/
upb.h 25 ** upb::RefCounted (upb_refcounted)
340 /* Provides RAII semantics for upb refcounted objects. Each reffed_ptr owns a
    [all...]
  /external/protobuf/ruby/ext/google/protobuf_c/
upb.h 26 ** upb::RefCounted (upb_refcounted)
    [all...]

Completed in 630 milliseconds