/external/v8/tools/clang/plugins/tests/ |
D | base_refcounted.h | 11 class RefCounted { 13 RefCounted() {} in RefCounted() function 15 ~RefCounted() {} in ~RefCounted() 34 class RefCounted { 36 RefCounted() {} in RefCounted() function 37 ~RefCounted() {} in ~RefCounted() 44 : public base::RefCounted<PublicRefCountedDtorInHeader> { 50 friend class base::RefCounted<PublicRefCountedDtorInHeader>; 68 : public base::RefCounted<ProtectedRefCountedDtorInHeader> { 76 friend class base::RefCounted<ProtectedRefCountedDtorInHeader>; [all …]
|
D | base_refcounted.txt | 5 …: [chromium-style] 'PublicRefCountedDtorInHeader' inherits from 'base::RefCounted<PublicRefCounted… 6 : public base::RefCounted<PublicRefCountedDtorInHeader> { 23 …m-style] 'ProtectedRefCountedVirtualDtorInHeader' inherits from 'base::RefCounted<ProtectedRefCoun… 24 : public base::RefCounted<ProtectedRefCountedVirtualDtorInHeader> { 32 …m-style] 'ProtectedRefCountedVirtualDtorInHeader' inherits from 'base::RefCounted<ProtectedRefCoun… 33 : public base::RefCounted<ProtectedRefCountedVirtualDtorInHeader> { 38 …te: [chromium-style] 'ImplementsAPublicInterface' inherits from 'base::RefCounted<ImplementsAPubli… 39 public base::RefCounted<ImplementsAPublicInterface> { 50 … [chromium-style] 'ImplementsAnImplicitInterface' inherits from 'base::RefCounted<ImplementsAnImpl… 51 public base::RefCounted<ImplementsAnImplicitInterface> { [all …]
|
D | 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/ |
D | refcount.h | 27 class RefCounted { 30 RefCounted(); 54 virtual ~RefCounted(); 59 RefCounted(const RefCounted&) = delete; 60 void operator=(const RefCounted&) = delete; 65 void operator()(tensorflow::core::RefCounted* o) const { o->Unref(); } in operator() 75 explicit ScopedUnref(RefCounted* o) : obj_(o) {} in ScopedUnref() 81 RefCounted* obj_; 88 inline RefCounted::RefCounted() : ref_(1) {} in RefCounted() function 90 inline RefCounted::~RefCounted() { DCHECK_EQ(ref_.load(), 0); } in ~RefCounted() [all …]
|
/external/sfntly/cpp/src/test/ |
D | smart_pointer_test.cc | 21 using sfntly::RefCounted; 24 class Foo : public RefCounted<Foo> { 36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() 42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() 49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() 55 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer() 60 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer() 63 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() 67 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() 71 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer() [all …]
|
/external/sfntly/cpp/src/sfntly/port/ |
D | refcount.h | 119 class RefCounted : virtual public RefCount { 121 RefCounted() : ref_count_(0) { in RefCounted() function 128 RefCounted(const RefCounted<TDerived>&) : ref_count_(0) {} in RefCounted() function 129 virtual ~RefCounted() { in ~RefCounted() 136 RefCounted<TDerived>& operator=(const RefCounted<TDerived>&) { 168 template <typename TDerived> size_t RefCounted<TDerived>::object_counter_ = 0; 169 template <typename TDerived> size_t RefCounted<TDerived>::next_id_ = 0;
|
D | java_iterator.h | 41 public RefCounted< PODIterator<ReturnType, Container> > { 68 public RefCounted< RefIterator<ReturnType, Container> > {
|
/external/grpc-grpc/src/core/lib/gprpp/ |
D | ref_counted.h | 44 class RefCounted { 62 RefCounted(const RefCounted&) = delete; 63 RefCounted& operator=(const RefCounted&) = delete; 70 RefCounted() { gpr_ref_init(&refs_, 1); } in RefCounted() function 72 virtual ~RefCounted() {} in ~RefCounted()
|
/external/libchrome/base/memory/ |
D | ref_counted_unittest.cc | 15 class SelfAssign : public base::RefCounted<SelfAssign> { 20 friend class base::RefCounted<SelfAssign>; 28 friend class base::RefCounted<Derived>; 40 class ScopedRefPtrToSelf : public base::RefCounted<ScopedRefPtrToSelf> { 51 friend class base::RefCounted<ScopedRefPtrToSelf>; 59 class ScopedRefPtrCountBase : public base::RefCounted<ScopedRefPtrCountBase> { 76 friend class base::RefCounted<ScopedRefPtrCountBase>; 102 friend class base::RefCounted<ScopedRefPtrCountDerived>; 111 class Other : public base::RefCounted<Other> { 113 friend class base::RefCounted<Other>; [all …]
|
D | ref_counted.h | 295 class RefCounted; variable 300 RefCounted<T, DefaultRefCountedTraits>::DeleteInternal(x); in Destruct() 305 class RefCounted : public subtle::RefCountedBase { 310 RefCounted() : subtle::RefCountedBase(T::kRefCountPreference) {} in RefCounted() function 328 ~RefCounted() = default; 337 DISALLOW_COPY_AND_ASSIGN(RefCounted);
|
/external/sfntly/cpp/src/sample/subtly/ |
D | character_predicate.h | 33 public sfntly::RefCounted<AcceptRange> { 48 public sfntly::RefCounted<AcceptSet> { 60 public sfntly::RefCounted<AcceptAll> {
|
/external/grpc-grpc/test/core/gprpp/ |
D | ref_counted_test.cc | 30 class Foo : public RefCounted<Foo> { 35 TEST(RefCounted, Basic) { in TEST() argument 40 TEST(RefCounted, ExtraRef) { in TEST() argument
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | glyph_table.h | 36 public RefCounted<GlyphTable> { 112 public RefCounted<GlyphTable::Builder> { 161 class SimpleGlyph : public Glyph, public RefCounted<SimpleGlyph> { 177 public RefCounted<SimpleGlyphBuilder> { 233 class CompositeGlyph : public Glyph, public RefCounted<CompositeGlyph> { 250 public RefCounted<CompositeGlyphBuilder> {
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | ebsc_table.h | 25 public RefCounted<EbscTable> { 51 public RefCounted<BitmapScaleTable> { 67 public RefCounted<Builder> {
|
D | simple_bitmap_glyph.h | 25 public RefCounted<SimpleBitmapGlyph> { 28 public RefCounted<Builder> {
|
D | composite_bitmap_glyph.h | 25 public RefCounted<CompositeBitmapGlyph> { 51 public RefCounted<Builder> {
|
D | small_glyph_metrics.h | 26 public RefCounted<SmallGlyphMetrics> { 40 public RefCounted<Builder> {
|
D | ebdt_table.h | 27 public RefCounted<EbdtTable> { 37 public RefCounted<Builder> {
|
D | big_glyph_metrics.h | 25 public RefCounted<BigGlyphMetrics> { 43 public RefCounted<Builder> {
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | cmap_table.h | 49 class CMapTable : public SubTableContainerTable, public RefCounted<CMapTable> { 216 class CMapFormat0 : public CMap, public RefCounted<CMapFormat0> { 220 public RefCounted<Builder> { 268 class CMapFormat2 : public CMap, public RefCounted<CMapFormat2> { 272 public RefCounted<Builder> { 321 public RefCounted<CMapFormat4> { 325 public RefCounted<Builder> { 328 class Segment : public RefCounted<Segment> { 497 public RefCounted<Builder> {
|
D | horizontal_device_metrics_table.h | 28 public RefCounted<HorizontalDeviceMetricsTable> { 30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
|
D | horizontal_metrics_table.h | 27 public RefCounted<HorizontalMetricsTable> { 30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
|
D | horizontal_header_table.h | 27 public RefCounted<HorizontalHeaderTable> { 30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | sync_handle_registry.h | 27 : public base::RefCounted<SyncHandleRegistry> { 61 friend class base::RefCounted<SyncHandleRegistry>;
|
/external/libbrillo/brillo/dbus/ |
D | async_event_sequencer.h | 39 : public base::RefCounted<AsyncEventSequencer> { 105 friend class base::RefCounted<AsyncEventSequencer>;
|