/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...] |
base_refcounted.cpp | 30 : public base::RefCounted<PublicRefCountedDtorInImpl> { 36 friend class base::RefCounted<PublicRefCountedDtorInImpl>; 46 typedef base::RefCounted<BarInterface> RefCountedBar;
|
/external/tensorflow/tensorflow/core/lib/core/ |
refcount.h | 27 class RefCounted { 30 RefCounted(); 52 // Make destructor protected so that RefCounted objects cannot 54 virtual ~RefCounted(); 59 RefCounted(const RefCounted&) = delete; 60 void operator=(const RefCounted&) = delete; 65 void operator()(tensorflow::core::RefCounted* o) const { o->Unref(); } 75 explicit ScopedUnref(RefCounted* o) : obj_(o) {} 81 RefCounted* obj_ [all...] |
/external/sfntly/cpp/src/test/ |
smart_pointer_test.cc | 21 using sfntly::RefCounted; 24 class Foo : public RefCounted<Foo> { 36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 55 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); 60 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); 63 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 67 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); 71 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_) [all...] |
/external/sfntly/cpp/src/sample/subtly/ |
character_predicate.h | 33 public sfntly::RefCounted<AcceptRange> { 48 public sfntly::RefCounted<AcceptSet> { 60 public sfntly::RefCounted<AcceptAll> {
|
merger.h | 29 class Merger : public sfntly::RefCounted<Merger> {
|
subsetter.h | 26 class Subsetter : public sfntly::RefCounted<Subsetter> {
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 25 public RefCounted<GlyphTableSubsetter> {
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
simple_bitmap_glyph.h | 25 public RefCounted<SimpleBitmapGlyph> { 28 public RefCounted<Builder> {
|
composite_bitmap_glyph.h | 25 public RefCounted<CompositeBitmapGlyph> { 51 public RefCounted<Builder> {
|
ebsc_table.h | 25 public RefCounted<EbscTable> { 51 public RefCounted<BitmapScaleTable> { 67 public RefCounted<Builder> {
|
/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/sfntly/cpp/src/sfntly/table/ |
generic_table_builder.h | 26 public RefCounted<GenericTableBuilder> {
|
/external/v8/tools/clang/blink_gc_plugin/tests/ |
cycle_sub.h | 29 class C : public RefCounted<C> {
|
cycle_super.h | 34 class D : public RefCounted<C> {
|
cycle_super_neg.h | 30 class C : public RefCounted<C> {
|
destructor_access_finalized_field.h | 12 class Other : public RefCounted<Other> {
|
/external/v8/tools/clang/rewrite_scoped_refptr/tests/ |
logging-checks-original.cc | 8 struct Foo : public base::RefCounted<Foo> {
|
logging-checks-expected.cc | 8 struct Foo : public base::RefCounted<Foo> {
|
/external/grpc-grpc/src/core/lib/gprpp/ |
ref_counted.h | 42 // e.g., class MyClass : public RefCounted<MyClass> 44 class RefCounted { 62 RefCounted(const RefCounted&) = delete; 63 RefCounted& operator=(const RefCounted&) = delete; 70 RefCounted() { gpr_ref_init(&refs_, 1); } 72 virtual ~RefCounted() {} 84 // An alternative version of the RefCounted base class that
|
/external/libchrome/mojo/public/cpp/bindings/ |
sync_handle_registry.h | 27 : public base::RefCounted<SyncHandleRegistry> { 61 friend class base::RefCounted<SyncHandleRegistry>;
|
/external/grpc-grpc/test/core/gprpp/ |
ref_counted_test.cc | 30 class Foo : public RefCounted<Foo> { 35 TEST(RefCounted, Basic) { 40 TEST(RefCounted, ExtraRef) {
|
/external/libchrome/base/memory/ |
ref_counted.h | 45 DCHECK(in_dtor_) << "RefCounted object deleted without calling Release()"; 57 << "This RefCounted object is created with non-zero reference count." 92 // safety standpoint. Should be DCHECK'd from the methods of RefCounted 193 << "This RefCounted object is created with non-zero reference count." 226 // RefCounted below for rare pre-existing use cases where thread-safety was 248 // knock-off of WebKit's RefCounted<T> class. To use this, just extend your 251 // class MyFoo : public base::RefCounted<MyFoo> { 254 // friend class base::RefCounted<MyFoo>; 262 // The ref count manipulation to RefCounted is NOT thread safe and has DCHECKs 263 // to trap unsafe cross thread usage. A subclass instance of RefCounted can b [all...] |
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/fake/ |
fake_resolver.h | 39 // instead of RefCounted, but external refs are currently needed to 43 : public RefCounted<FakeResolverResponseGenerator> {
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
retry_throttle.h | 30 class ServerRetryThrottleData : public RefCounted<ServerRetryThrottleData> {
|