Home
last modified time | relevance | path

Searched refs:RefCounted (Results 1 – 25 of 107) sorted by relevance

12345

/external/v8/tools/clang/plugins/tests/
Dbase_refcounted.h11 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 …]
Dbase_refcounted.txt5 …: [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 …]
Dbase_refcounted.cpp30 : public base::RefCounted<PublicRefCountedDtorInImpl> {
36 friend class base::RefCounted<PublicRefCountedDtorInImpl>;
46 typedef base::RefCounted<BarInterface> RefCountedBar;
/external/tensorflow/tensorflow/core/lib/core/
Drefcount.h27 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/
Dsmart_pointer_test.cc21 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/
Drefcount.h119 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;
Djava_iterator.h41 public RefCounted< PODIterator<ReturnType, Container> > {
68 public RefCounted< RefIterator<ReturnType, Container> > {
/external/grpc-grpc/src/core/lib/gprpp/
Dref_counted.h44 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/
Dref_counted_unittest.cc15 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 …]
Dref_counted.h295 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/
Dcharacter_predicate.h33 public sfntly::RefCounted<AcceptRange> {
48 public sfntly::RefCounted<AcceptSet> {
60 public sfntly::RefCounted<AcceptAll> {
/external/grpc-grpc/test/core/gprpp/
Dref_counted_test.cc30 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/
Dglyph_table.h36 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/
Debsc_table.h25 public RefCounted<EbscTable> {
51 public RefCounted<BitmapScaleTable> {
67 public RefCounted<Builder> {
Dsimple_bitmap_glyph.h25 public RefCounted<SimpleBitmapGlyph> {
28 public RefCounted<Builder> {
Dcomposite_bitmap_glyph.h25 public RefCounted<CompositeBitmapGlyph> {
51 public RefCounted<Builder> {
Dsmall_glyph_metrics.h26 public RefCounted<SmallGlyphMetrics> {
40 public RefCounted<Builder> {
Debdt_table.h27 public RefCounted<EbdtTable> {
37 public RefCounted<Builder> {
Dbig_glyph_metrics.h25 public RefCounted<BigGlyphMetrics> {
43 public RefCounted<Builder> {
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h49 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> {
Dhorizontal_device_metrics_table.h28 public RefCounted<HorizontalDeviceMetricsTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
Dhorizontal_metrics_table.h27 public RefCounted<HorizontalMetricsTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
Dhorizontal_header_table.h27 public RefCounted<HorizontalHeaderTable> {
30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> {
/external/libchrome/mojo/public/cpp/bindings/
Dsync_handle_registry.h27 : public base::RefCounted<SyncHandleRegistry> {
61 friend class base::RefCounted<SyncHandleRegistry>;
/external/libbrillo/brillo/dbus/
Dasync_event_sequencer.h39 : public base::RefCounted<AsyncEventSequencer> {
105 friend class base::RefCounted<AsyncEventSequencer>;

12345