Searched refs:scoped_refptr (Results 1 - 25 of 5997) sorted by relevance

1234567891011>>

/external/chromium_org/tools/clang/rewrite_scoped_refptr/tests/
H A Dlocal-returned-as-raw-expected.cc5 #include "scoped_refptr.h"
13 scoped_refptr<Foo> GetBuggyFoo();
15 scoped_refptr<Foo> GetBuggyFoo() {
16 scoped_refptr<Foo> unsafe(new Foo);
H A Dscoped_refptr.h8 // 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<
[all...]
H A Dtemp-returned-as-raw-expected.cc12 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() {
H A Dtest6-expected.cc5 #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);
H A Dtest6-original.cc5 #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);
H A Dtemp-assigned-to-field-init-expected.cc5 #include "scoped_refptr.h"
12 scoped_refptr<Foo> GetBuggyFoo() {
18 scoped_refptr<Foo> f_;
H A Dtemp-assigned-to-raw-var-expected.cc5 #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();
H A Dtemp-bool-test-expected.cc5 #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() {
H A Dtemp-bool-test-original.cc5 #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() {
H A Dtest10-original.cc5 #include "scoped_refptr.h"
12 scoped_refptr<Foo> foo(new Foo);
H A Dconst-scoped_refptr&-to-raw-adds-get-expected.cc5 #include "scoped_refptr.h"
13 const scoped_refptr<Foo>& foo() const { return foo_; }
16 scoped_refptr<Foo> foo_;
H A Dconst-scoped_refptr&-to-raw-adds-get-original.cc5 #include "scoped_refptr.h"
13 const scoped_refptr<Foo>& foo() const { return foo_; }
16 scoped_refptr<Foo> foo_;
H A Dref-to-local-returned-as-raw-expected.cc12 // scoped_refptr with local storage. The tool should ignore this, since it
15 scoped_refptr<Foo> a;
16 scoped_refptr<Foo>& b = a;
H A Dref-to-local-returned-as-raw-original.cc12 // scoped_refptr with local storage. The tool should ignore this, since it
15 scoped_refptr<Foo> a;
16 scoped_refptr<Foo>& b = a;
/external/chromium_org/remoting/host/
H A Dchromoting_host_context.h31 scoped_refptr<AutoThreadTaskRunner> ui_task_runner);
34 scoped_refptr<AutoThreadTaskRunner> audio_task_runner();
39 scoped_refptr<AutoThreadTaskRunner> file_task_runner();
45 scoped_refptr<AutoThreadTaskRunner> input_task_runner();
50 scoped_refptr<AutoThreadTaskRunner> network_task_runner();
53 scoped_refptr<AutoThreadTaskRunner> ui_task_runner();
57 scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner();
60 scoped_refptr<AutoThreadTaskRunner> video_encode_task_runner();
62 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter();
68 scoped_refptr<AutoThreadTaskRunne
[all...]
/external/chromium_org/sync/api/
H A Dsyncable_service.cc11 scoped_refptr<AttachmentStore> SyncableService::GetAttachmentStore() {
12 return scoped_refptr<AttachmentStore>();
/external/chromium_org/content/browser/devtools/
H A Ddevtools_power_handler.h28 scoped_refptr<DevToolsProtocol::Response> OnStart(
29 scoped_refptr<DevToolsProtocol::Command> command);
30 scoped_refptr<DevToolsProtocol::Response> OnEnd(
31 scoped_refptr<DevToolsProtocol::Command> command);
32 scoped_refptr<DevToolsProtocol::Response> OnCanProfilePower(
33 scoped_refptr<DevToolsProtocol::Command> command);
34 scoped_refptr<DevToolsProtocol::Response> OnGetAccuracyLevel(
35 scoped_refptr<DevToolsProtocol::Command> command);
H A Drenderer_overrides_handler.h56 scoped_refptr<DevToolsProtocol::Response>
58 scoped_refptr<DevToolsProtocol::Command> command);
61 scoped_refptr<DevToolsProtocol::Response> CanEmulateNetworkConditions(
62 scoped_refptr<DevToolsProtocol::Command> command);
63 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCache(
64 scoped_refptr<DevToolsProtocol::Command> command);
65 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCookies(
66 scoped_refptr<DevToolsProtocol::Command> command);
69 scoped_refptr<DevToolsProtocol::Response> PageEnable(
70 scoped_refptr<DevToolsProtoco
[all...]
/external/chromium_org/components/webdata/common/
H A Dweb_data_service_test_util.cc24 scoped_refptr<AutofillWebDataService> fake_autofill,
25 scoped_refptr<TokenWebData> fake_token)
33 scoped_refptr<AutofillWebDataService>
38 scoped_refptr<TokenWebData> MockWebDataServiceWrapper::GetTokenWebData() {
H A Dweb_data_service_test_util.h31 scoped_refptr<autofill::AutofillWebDataService> fake_autofill,
32 scoped_refptr<TokenWebData> fake_token);
36 virtual scoped_refptr<autofill::AutofillWebDataService>
39 virtual scoped_refptr<TokenWebData> GetTokenWebData() OVERRIDE;
42 scoped_refptr<autofill::AutofillWebDataService> fake_autofill_web_data_;
43 scoped_refptr<TokenWebData> fake_token_web_data_;
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_ref_ptr.h25 // 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() 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...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_refptr.h31 // scoped_refptr<MyFoo> foo = new MyFoo();
37 // scoped_refptr<MyFoo> foo = new MyFoo();
45 // The above examples show how scoped_refptr<T> acts like a pointer to T.
46 // Given two scoped_refptr<T> classes, it is also possible to exchange
50 // scoped_refptr<MyFoo> a = new MyFoo();
51 // scoped_refptr<MyFoo> b;
61 // scoped_refptr<MyFoo> a = new MyFoo();
62 // scoped_refptr<MyFoo> b;
69 class scoped_refptr { class in namespace:webrtc
71 scoped_refptr() function in class:webrtc::scoped_refptr
74 scoped_refptr(T* p) : ptr_(p) { function in class:webrtc::scoped_refptr
79 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:webrtc::scoped_refptr
85 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:webrtc::scoped_refptr
[all...]
/external/webrtc/src/system_wrappers/interface/
H A Dscoped_refptr.h24 // scoped_refptr<MyFoo> foo = new MyFoo();
30 // scoped_refptr<MyFoo> foo = new MyFoo();
38 // The above examples show how scoped_refptr<T> acts like a pointer to T.
39 // Given two scoped_refptr<T> classes, it is also possible to exchange
43 // scoped_refptr<MyFoo> a = new MyFoo();
44 // scoped_refptr<MyFoo> b;
54 // scoped_refptr<MyFoo> a = new MyFoo();
55 // scoped_refptr<MyFoo> b;
62 class scoped_refptr { class in namespace:webrtc
64 scoped_refptr() function in class:webrtc::scoped_refptr
67 scoped_refptr(T* p) : ptr_(p) { function in class:webrtc::scoped_refptr
72 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:webrtc::scoped_refptr
78 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:webrtc::scoped_refptr
[all...]
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_dummy_unittest.cc10 scoped_refptr<Extension> extension =
16 scoped_refptr<Extension> extension =
/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.h18 // function. If encoding fails, then returned scoped_refptr has NULL.
19 scoped_refptr<base::RefCountedMemory> BytesForImage(const gfx::Image& image);
23 gfx::Image ImageForBytes(const scoped_refptr<base::RefCountedMemory>& data);

Completed in 2526 milliseconds

1234567891011>>