Home
last modified time | relevance | path

Searched refs:RefCountable (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang/test/Analysis/Checkers/WebKit/
H A Duncounted-local-vars.cpp10 RefCountable *bar; in foo()
14 void bar(RefCountable *) {} in bar() argument
19 RefCountable automatic; in foo_ref()
20 RefCountable &bar = automatic; in foo_ref()
27 RefCountable automatic; in foo_ref_trivial()
28 RefCountable &bar = automatic; in foo_ref_trivial()
31 void bar_ref(RefCountable &) {} in bar_ref() argument
36 RefPtr<RefCountable> foo; in foo1()
37 { RefCountable *bar = foo.get(); } in foo1()
41 RefPtr<RefCountable> fo in foo2()
[all...]
H A Dcall-args.cpp5 RefCountable* provide();
6 void consume_refcntbl(RefCountable*);
23 void consume_refcntbl(int, RefCountable* foo, bool);
31 Ref<RefCountable> provide_ref_counted() { return Ref<RefCountable>{}; } in provide_ref_counted()
32 void consume_ref_counted(Ref<RefCountable>) {} in consume_ref_counted() argument
42 void consume_ptr(RefCountable* ptr);
43 void consume_ref(const RefCountable& ref);
57 void consume(RefCountable*) { some_function(); } in foo2()
67 void consume(RefCountable*) { some_functio in foo3()
140 consume_ref(RefCountable &) consume_ref() argument
176 downcast(RefCountable *) downcast() argument
189 __anonf2a9bd8b0102(RefCountable&) __anonf2a9bd8b0102() argument
190 __anonf2a9bd8b0202(RefCountable*) __anonf2a9bd8b0202() argument
216 downcast(RefCountable *) downcast() argument
260 downcast(RefCountable *) downcast() argument
273 consume_ref_countable(RefCountable *) consume_ref_countable() argument
274 downcast(RefCountable *) downcast() argument
292 consume_ptr(RefCountable *) consume_ptr() argument
293 consume_ref(RefCountable &) consume_ref() argument
[all...]
H A Duncounted-members.cpp9 RefCountable* a = nullptr;
13 RefCountable* a_suppressed = nullptr;
16 RefPtr<RefCountable> b;
19 RefCountable silenceWarningAboutInit;
20 RefCountable& c = silenceWarningAboutInit;
22 Ref<RefCountable> d;
31 void forceTmplToInstantiate(FooTmpl<RefCountable>) {} in forceTmplToInstantiate() argument
35 RefCountable* a = nullptr;
42 RefCountable* a;
43 RefPtr<RefCountable> b;
[all …]
H A Duncounted-lambda-captures.cpp72 RefCountable* make_obj();
81 RefCountable* ref_countable = make_obj();
107 RefCountable* suppressed_ref_countable = nullptr;
114 RefCountable automatic;
115 RefCountable& ref_countable_ref = automatic;
134 RefCountable automatic;
135 RefCountable &ref_countable_ref = automatic;
144 RefCountable *ref_countable = nullptr;
148 void map(RefCountable* start, [[clang::noescape]] Callback&& callback)
157 void doubleMap(RefCountable* star
[all...]
H A Dref-ptr-accessor.cpp6 void someFunction(RefCountable*);
10 Ref item = RefCountable::create(); in testFunction()
H A Dmock-types.h202 struct RefCountable {
203 static Ref<RefCountable> create();
204 static std::unique_ptr<RefCountable> makeUnique();
210 RefCountable* next();
101 struct RefCountable { global() struct
103 refRefCountable ref() argument
104 derefRefCountable deref() argument
106 trivialRefCountable trivial() argument
H A Duncounted-obj-arg.cpp675 callMethod<RefCountable>(object);