HomeSort by relevance Sort by last modified time
    Searched refs:scoped_refptr (Results 1 - 25 of 450) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libchrome/base/test/
opaque_ref_counted.h 12 // OpaqueRefCounted is a test class for scoped_refptr to ensure it still works
16 // Test functions that return and accept scoped_refptr<OpaqueRefCounted> values.
17 scoped_refptr<OpaqueRefCounted> MakeOpaqueRefCounted();
18 void TestOpaqueRefCounted(scoped_refptr<OpaqueRefCounted> p);
22 extern template class scoped_refptr<base::OpaqueRefCounted>;
opaque_ref_counted.cc 25 scoped_refptr<OpaqueRefCounted> MakeOpaqueRefCounted() {
29 void TestOpaqueRefCounted(scoped_refptr<OpaqueRefCounted> p) {
35 template class scoped_refptr<base::OpaqueRefCounted>;
  /external/v8/tools/clang/rewrite_scoped_refptr/tests/
local-returned-as-raw-expected.cc 5 #include "scoped_refptr.h"
13 scoped_refptr<Foo> GetBuggyFoo();
15 scoped_refptr<Foo> GetBuggyFoo() {
16 scoped_refptr<Foo> unsafe(new Foo);
scoped_refptr.h 8 // Stub scoped_refptr<T> class that supports an implicit cast to T*.
10 class scoped_refptr { class
13 scoped_refptr() : ptr_(0) {} function in class:scoped_refptr
14 scoped_refptr(T* p) : ptr_(p) {} function in class:scoped_refptr
15 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {} function in class:scoped_refptr
18 scoped_refptr(const scoped_refptr<U>& r) function in class:scoped_refptr
21 ~scoped_refptr() {}
27 scoped_refptr<T>& operator=(T* p)
    [all...]
temp-returned-as-raw-expected.cc 12 scoped_refptr<Foo> TestFunction();
15 scoped_refptr<Foo> CreateFoo();
17 // An example of an unsafe conversion--the scoped_refptr will be destroyed by
20 scoped_refptr<Foo> Bar::TestFunction() {
test6-expected.cc 5 #include "scoped_refptr.h"
15 // Ensure that scoped_refptr<A> -> scoped_refptr<B> conversions are not
17 void ExpectsScopedPtr(const scoped_refptr<Foo>& foo) {
18 scoped_refptr<Foo> temp(foo);
22 scoped_refptr<Bar> temp(new Bar);
test6-original.cc 5 #include "scoped_refptr.h"
15 // Ensure that scoped_refptr<A> -> scoped_refptr<B> conversions are not
17 void ExpectsScopedPtr(const scoped_refptr<Foo>& foo) {
18 scoped_refptr<Foo> temp(foo);
22 scoped_refptr<Bar> temp(new Bar);
temp-assigned-to-field-init-expected.cc 5 #include "scoped_refptr.h"
12 scoped_refptr<Foo> GetBuggyFoo() {
18 scoped_refptr<Foo> f_;
temp-assigned-to-raw-var-expected.cc 5 #include "scoped_refptr.h"
11 // Case 2: An example of an unsafe conversion, where the scoped_refptr<> is
14 scoped_refptr<Foo> GetBuggyFoo() {
18 scoped_refptr<Foo> unsafe = GetBuggyFoo();
temp-bool-test-expected.cc 5 #include "scoped_refptr.h"
11 // A temporary scoped_refptr<T> is used in a boolean test. This doesn't result
14 scoped_refptr<Foo> GetBuggyFoo() {
temp-bool-test-original.cc 5 #include "scoped_refptr.h"
11 // A temporary scoped_refptr<T> is used in a boolean test. This doesn't result
14 scoped_refptr<Foo> GetBuggyFoo() {
test10-original.cc 5 #include "scoped_refptr.h"
12 scoped_refptr<Foo> foo(new Foo);
const-scoped_refptr&-to-raw-adds-get-expected.cc 5 #include "scoped_refptr.h"
13 const scoped_refptr<Foo>& foo() const { return foo_; }
16 scoped_refptr<Foo> foo_;
const-scoped_refptr&-to-raw-adds-get-original.cc 5 #include "scoped_refptr.h"
13 const scoped_refptr<Foo>& foo() const { return foo_; }
16 scoped_refptr<Foo> foo_;
ref-to-local-returned-as-raw-expected.cc 12 // scoped_refptr with local storage. The tool should ignore this, since it
15 scoped_refptr<Foo> a;
16 scoped_refptr<Foo>& b = a;
ref-to-local-returned-as-raw-original.cc 12 // scoped_refptr with local storage. The tool should ignore this, since it
15 scoped_refptr<Foo> a;
16 scoped_refptr<Foo>& b = a;
test3-expected.cc 5 #include "scoped_refptr.h"
11 void ExpectsScopedRefptr(const scoped_refptr<Foo>& param) {
16 scoped_refptr<Foo> temp(new Foo);
test3-original.cc 5 #include "scoped_refptr.h"
11 void ExpectsScopedRefptr(const scoped_refptr<Foo>& param) {
16 scoped_refptr<Foo> temp(new Foo);
test7-expected.cc 5 #include "scoped_refptr.h"
15 // Ensure that de-referencing scoped_refptr<>'s are properly rewritten as
18 scoped_refptr<Foo>* heap_allocated = new scoped_refptr<Foo>();
test7-original.cc 5 #include "scoped_refptr.h"
15 // Ensure that de-referencing scoped_refptr<>'s are properly rewritten as
18 scoped_refptr<Foo>* heap_allocated = new scoped_refptr<Foo>();
temp-assigned-to-raw-var-original.cc 5 #include "scoped_refptr.h"
11 // Case 2: An example of an unsafe conversion, where the scoped_refptr<> is
14 scoped_refptr<Foo> GetBuggyFoo() {
test10-expected.cc 5 #include "scoped_refptr.h"
12 scoped_refptr<Foo> foo(new Foo);
  /external/libchrome/base/threading/
sequenced_task_runner_handle.h 21 static scoped_refptr<SequencedTaskRunner> Get();
34 scoped_refptr<SequencedTaskRunner> task_runner);
38 scoped_refptr<SequencedTaskRunner> task_runner_;
thread_task_runner_handle.h 23 static scoped_refptr<SingleThreadTaskRunner> Get();
32 scoped_refptr<SingleThreadTaskRunner> task_runner);
36 scoped_refptr<SingleThreadTaskRunner> task_runner_;
  /external/webrtc/webrtc/base/
scoped_ref_ptr.h 25 // scoped_refptr<MyFoo> foo = new MyFoo();
31 // scoped_refptr<MyFoo> foo = new MyFoo();
39 // The above examples show how scoped_refptr<T> acts like a pointer to T.
40 // Given two scoped_refptr<T> classes, it is also possible to exchange
44 // scoped_refptr<MyFoo> a = new MyFoo();
45 // scoped_refptr<MyFoo> b;
55 // scoped_refptr<MyFoo> a = new MyFoo();
56 // scoped_refptr<MyFoo> b;
71 class scoped_refptr { class in namespace:rtc
73 scoped_refptr() : ptr_(NULL) function in class:rtc::scoped_refptr
76 scoped_refptr(T* p) : ptr_(p) { function in class:rtc::scoped_refptr
81 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:rtc::scoped_refptr
87 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:rtc::scoped_refptr
    [all...]

Completed in 162 milliseconds

1 2 3 4 5 6 7 8 91011>>