HomeSort by relevance Sort by last modified time
    Searched full:scoped_ptr (Results 376 - 400 of 10634) sorted by null

<<11121314151617181920>>

  /external/oprofile/libutil++/
utility.h 29 template<typename T> class scoped_ptr { class
31 explicit scoped_ptr(T * p = 0) : p_(p) {} function in class:scoped_ptr
32 ~scoped_ptr() { delete p_; }
45 void swap(scoped_ptr & sp) {
52 scoped_ptr & operator=(scoped_ptr const &);
53 scoped_ptr(scoped_ptr const &);
  /external/chromium_org/chrome/browser/extensions/api/usb/
usb_api.h 12 #include "base/memory/scoped_ptr.h"
81 void OpenDevices(scoped_ptr<std::vector<scoped_refptr<UsbDevice> > > devices);
84 scoped_ptr<extensions::api::usb::FindDevices::Params> parameters_;
103 scoped_ptr<std::vector<scoped_refptr<UsbDevice> > > devices);
105 scoped_ptr<extensions::api::usb::GetDevices::Params> parameters_;
123 scoped_ptr<extensions::api::usb::RequestAccess::Params> parameters_;
140 scoped_ptr<extensions::api::usb::OpenDevice::Params> parameters_;
166 scoped_ptr<base::ListValue> result_;
167 scoped_ptr<extensions::api::usb::ListInterfaces::Params> parameters_;
183 scoped_ptr<extensions::api::usb::CloseDevice::Params> parameters_
    [all...]
  /external/chromium/chrome/browser/bookmarks/
bookmark_codec_unittest.cc 5 #include "base/memory/scoped_ptr.h"
39 scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL));
45 scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL));
52 scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL));
97 scoped_ptr<Value> value(encoder.Encode(model));
128 scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL));
168 scoped_ptr<BookmarkModel> model_to_encode(CreateTestModel1());
170 scoped_ptr<Value> value(EncodeHelper(model_to_encode.get(), &enc_checksum));
175 scoped_ptr<BookmarkModel> decoded_model(DecodeHelper(
182 scoped_ptr<BookmarkModel> model1(CreateTestModel1())
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
native_media_file_util.h 8 #include "base/memory/scoped_ptr.h"
29 scoped_ptr<fileapi::FileSystemOperationContext> context,
34 scoped_ptr<fileapi::FileSystemOperationContext> context,
38 scoped_ptr<fileapi::FileSystemOperationContext> context,
44 scoped_ptr<fileapi::FileSystemOperationContext> context,
48 scoped_ptr<fileapi::FileSystemOperationContext> context,
52 scoped_ptr<fileapi::FileSystemOperationContext> context,
58 scoped_ptr<fileapi::FileSystemOperationContext> context,
63 scoped_ptr<fileapi::FileSystemOperationContext> context,
70 scoped_ptr<fileapi::FileSystemOperationContext> context
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
sync_engine_initializer_unittest.cc 34 scoped_ptr<google_apis::FileResource> resource;
80 scoped_ptr<MetadataDatabase> database;
109 scoped_ptr<google_apis::FileResource> CreateRemoteFolder(
113 scoped_ptr<google_apis::ResourceEntry> entry;
121 scoped_ptr<google_apis::FileResource>();
125 scoped_ptr<google_apis::FileResource> CreateRemoteSyncRoot() {
126 scoped_ptr<google_apis::FileResource> sync_root(
164 scoped_ptr<google_apis::ResourceEntry> entry;
197 scoped_ptr<SyncEngineInitializer> initializer_;
198 scoped_ptr<MetadataDatabase> metadata_database_
    [all...]
  /external/chromium_org/base/memory/
scoped_ptr.h 10 // Example usage (scoped_ptr<T>):
12 // scoped_ptr<Foo> foo(new Foo("wee"));
16 // scoped_ptr<Foo> foo; // No pointer managed.
29 // Example usage (scoped_ptr<T[]>):
31 // scoped_ptr<Foo[]> foo(new Foo[100]);
42 // passing by copy will NOT work. Here is an example using scoped_ptr:
44 // void TakesOwnership(scoped_ptr<Foo> arg) {
47 // scoped_ptr<Foo> CreateFoo() {
50 // return scoped_ptr<Foo>(new Foo("new"));
52 // scoped_ptr<Foo> PassThru(scoped_ptr<Foo> arg)
310 class scoped_ptr { class
322 scoped_ptr() : impl_(NULL) { } function in class:scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) { } function in class:scoped_ptr
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { } function in class:scoped_ptr
341 scoped_ptr(scoped_ptr<U, V> other) : impl_(&other.impl_) { function in class:scoped_ptr
346 scoped_ptr(RValue rvalue) : impl_(&rvalue.object->impl_) { } function in class:scoped_ptr
447 class scoped_ptr<T[], D> { class
456 scoped_ptr() : impl_(NULL) { } function in class:scoped_ptr
474 explicit scoped_ptr(element_type* array) : impl_(array) { } function in class:scoped_ptr
477 scoped_ptr(RValue rvalue) : impl_(&rvalue.object->impl_) { } function in class:scoped_ptr
    [all...]
  /external/chromium_org/cc/base/
scoped_ptr_deque.h 13 #include "base/memory/scoped_ptr.h"
18 // This type acts like a deque<scoped_ptr> based on top of std::deque. The
73 scoped_ptr<T> take_front() {
74 scoped_ptr<T> ret(front());
79 scoped_ptr<T> take_back() {
80 scoped_ptr<T> ret(back());
89 void push_front(scoped_ptr<T> item) {
93 void push_back(scoped_ptr<T> item) {
97 void insert(iterator position, scoped_ptr<T> item) {
102 scoped_ptr<T> take(iterator position)
    [all...]
  /external/chromium_org/chrome/test/chromedriver/server/
http_handler.h 15 #include "base/memory/scoped_ptr.h"
59 typedef base::Callback<void(scoped_ptr<net::HttpServerResponseInfo>)>
69 scoped_ptr<PortServer> port_server);
94 scoped_ptr<base::Value> value,
96 scoped_ptr<net::HttpServerResponseInfo> PrepareResponseHelper(
99 scoped_ptr<base::Value> value,
109 scoped_ptr<CommandMap> command_map_;
110 scoped_ptr<Adb> adb_;
111 scoped_ptr<DeviceManager> device_manager_;
112 scoped_ptr<PortServer> port_server_
    [all...]
  /external/chromium_org/chromeos/network/onc/
onc_utils_unittest.cc 18 scoped_ptr<base::DictionaryValue> encrypted_onc =
21 scoped_ptr<base::DictionaryValue> decrypted_onc =
28 scoped_ptr<base::DictionaryValue> encrypted_onc =
32 scoped_ptr<base::DictionaryValue> decrypted_onc =
39 scoped_ptr<base::DictionaryValue> encrypted_onc =
41 scoped_ptr<base::DictionaryValue> expected_decrypted_onc =
45 scoped_ptr<base::DictionaryValue> actual_decrypted_onc =
78 scoped_ptr<base::DictionaryValue> vpn_onc =
91 scoped_ptr<base::DictionaryValue> wifi_onc =
104 scoped_ptr<base::DictionaryValue> test_cases
    [all...]
onc_merger_unittest.cc 52 scoped_ptr<const base::DictionaryValue> user_;
53 scoped_ptr<const base::DictionaryValue> policy_;
54 scoped_ptr<const base::DictionaryValue> policy_without_recommended_;
55 scoped_ptr<const base::DictionaryValue> device_policy_;
67 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective(
74 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective(
81 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective(
88 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective(
94 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective(
100 scoped_ptr<base::DictionaryValue> merged(MergeSettingsAndPoliciesToEffective
    [all...]
  /external/chromium_org/content/browser/aura/
software_browser_compositor_output_surface_unittest.cc 51 scoped_ptr<gfx::VSyncProvider> vsync_provider_;
66 scoped_ptr<content::BrowserCompositorOutputSurface> CreateSurface(
67 scoped_ptr<cc::SoftwareOutputDevice> device);
70 scoped_ptr<content::BrowserCompositorOutputSurface> output_surface_;
72 scoped_ptr<base::MessageLoop> message_loop_;
73 scoped_ptr<ui::Compositor> compositor_;
110 scoped_ptr<content::BrowserCompositorOutputSurface>
112 scoped_ptr<cc::SoftwareOutputDevice> device) {
113 return scoped_ptr<content::BrowserCompositorOutputSurface>(
124 scoped_ptr<cc::SoftwareOutputDevice> software_device
    [all...]
  /external/chromium_org/tools/android/forwarder2/
device_listener.cc 11 #include "base/memory/scoped_ptr.h"
21 scoped_ptr<DeviceListener> DeviceListener::Create(
22 scoped_ptr<Socket> host_socket,
25 scoped_ptr<Socket> listener_socket(new Socket());
26 scoped_ptr<DeviceListener> device_listener;
39 scoped_ptr<PipeNotifier>(new PipeNotifier()), listener_socket.Pass(),
54 void DeviceListener::SetAdbDataSocket(scoped_ptr<Socket> adb_data_socket) {
61 DeviceListener::DeviceListener(scoped_ptr<PipeNotifier> pipe_notifier,
62 scoped_ptr<Socket> listener_socket,
63 scoped_ptr<Socket> host_socket
    [all...]
  /external/chromium/net/spdy/
spdy_proxy_client_socket_unittest.cc 102 scoped_ptr<SpdyProxyClientSocket> sock_;
185 scoped_ptr<ClientSocketHandle> connection(new ClientSocketHandle);
418 scoped_ptr<spdy::SpdyFrame> conn(ConstructConnectRequestFrame());
423 scoped_ptr<spdy::SpdyFrame> resp(ConstructConnectReplyFrame());
439 scoped_ptr<spdy::SpdyFrame> conn(ConstructConnectRequestFrame());
444 scoped_ptr<spdy::SpdyFrame> resp(ConstructConnectAuthReplyFrame());
462 scoped_ptr<spdy::SpdyFrame> conn(ConstructConnectAuthRequestFrame());
467 scoped_ptr<spdy::SpdyFrame> resp(ConstructConnectReplyFrame());
482 scoped_ptr<spdy::SpdyFrame> conn(ConstructConnectRequestFrame());
487 scoped_ptr<spdy::SpdyFrame> resp(ConstructConnectReplyFrame())
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
scoped_ptr.h 9 // See http://www.boost.org/libs/smart_ptr/scoped_ptr.htm for documentation.
12 // scoped_ptr mimics a built-in pointer except that it guarantees deletion
13 // of the object pointed to, either on destruction of the scoped_ptr or via
14 // an explicit reset(). scoped_ptr is a simple solution for simple needs;
40 class scoped_ptr { class in namespace:talk_base
45 scoped_ptr(scoped_ptr const &);
46 scoped_ptr & operator=(scoped_ptr const &);
52 explicit scoped_ptr(T* p = NULL): ptr(p) { function in class:talk_base::scoped_ptr
    [all...]
  /external/chromium_org/cc/test/
render_pass_test_common.cc 22 void TestRenderPass::AppendQuad(scoped_ptr<DrawQuad> quad) {
26 void TestRenderPass::AppendSharedQuadState(scoped_ptr<SharedQuadState> state) {
79 scoped_ptr<SharedQuadState> shared_state = SharedQuadState::Create();
88 scoped_ptr<CheckerboardDrawQuad> checkerboard_quad =
95 scoped_ptr<DebugBorderDrawQuad> debug_border_quad =
103 scoped_ptr<IOSurfaceDrawQuad> io_surface_quad = IOSurfaceDrawQuad::Create();
113 scoped_ptr<RenderPassDrawQuad> render_pass_quad =
126 scoped_ptr<RenderPassDrawQuad> render_pass_replica_quad =
140 scoped_ptr<SolidColorDrawQuad> solid_color_quad =
148 scoped_ptr<StreamVideoDrawQuad> stream_video_quad
    [all...]
  /external/chromium_org/chrome/browser/local_discovery/
privet_http_impl.h 41 scoped_ptr<PrivetURLFetcher> url_fetcher_;
92 scoped_ptr<PrivetURLFetcher> url_fetcher_;
108 scoped_ptr<PrivetURLFetcher> url_fetcher_;
116 scoped_ptr<PrivetInfoOperation> info_operation_;
145 scoped_ptr<PrivetURLFetcher> url_fetcher_;
146 scoped_ptr<PrivetInfoOperation> info_operation_;
175 scoped_ptr<PWGRasterConverter> pwg_raster_converter) OVERRIDE;
234 scoped_ptr<PrivetURLFetcher> url_fetcher_;
235 scoped_ptr<PrivetInfoOperation> info_operation_;
236 scoped_ptr<PWGRasterConverter> pwg_raster_converter_
    [all...]
  /external/chromium_org/chrome/test/base/
testing_browser_process.h 16 #include "base/memory/scoped_ptr.h"
73 scoped_ptr<BackgroundModeManager> manager) OVERRIDE;
132 void SetStorageMonitor(scoped_ptr<StorageMonitor> storage_monitor);
139 scoped_ptr<content::NotificationService> notification_service_;
146 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_;
148 scoped_ptr<policy::PolicyService> policy_service_;
150 scoped_ptr<ProfileManager> profile_manager_;
151 scoped_ptr<NotificationUIManager> notification_ui_manager_;
154 scoped_ptr<printing::PrintJobManager> print_job_manager_;
155 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_
    [all...]
  /external/webrtc/src/system_wrappers/interface/
scoped_ptr.h 9 // See http://www.boost.org/libs/smart_ptr/scoped_ptr.htm for documentation.
12 // scoped_ptr mimics a built-in pointer except that it guarantees deletion
13 // of the object pointed to, either on destruction of the scoped_ptr or via
14 // an explicit reset(). scoped_ptr is a simple solution for simple needs;
40 class scoped_ptr { class in namespace:webrtc
45 scoped_ptr(scoped_ptr const &);
46 scoped_ptr & operator=(scoped_ptr const &);
52 explicit scoped_ptr(T* p = NULL): ptr(p) { function in class:webrtc::scoped_ptr
    [all...]
  /external/chromium_org/chrome/browser/
io_thread.h 14 #include "base/memory/scoped_ptr.h"
113 scoped_ptr<net::NetworkDelegate> system_network_delegate;
114 scoped_ptr<net::HostResolver> host_resolver;
115 scoped_ptr<net::CertVerifier> cert_verifier;
117 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service;
121 scoped_ptr<net::TransportSecurityState> transport_security_state;
122 scoped_ptr<net::CTVerifier> cert_transparency_verifier;
124 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory;
125 scoped_ptr<net::HttpServerProperties> http_server_properties;
126 scoped_ptr<net::ProxyService> proxy_script_fetcher_proxy_service
    [all...]
  /external/chromium_org/base/
callback_list_unittest.cc 10 #include "base/memory/scoped_ptr.h"
39 scoped_ptr<CallbackList<void(void)>::Subscription> sub) {
47 scoped_ptr<CallbackList<void(void)>::Subscription> removal_subscription_;
75 scoped_ptr<CallbackList<void(void)>::Subscription> subscription_;
106 scoped_ptr<CallbackList<void(int)>::Subscription> subscription1 =
113 scoped_ptr<CallbackList<void(int, int)>::Subscription> subscription2 =
120 scoped_ptr<CallbackList<void(int, int, int)>::Subscription>
127 scoped_ptr<CallbackList<void(int, int, int, int)>::Subscription>
134 scoped_ptr<CallbackList<void(int, int, int, int, int)>::Subscription>
141 scoped_ptr<CallbackList<void(int, int, int, int, int, int)>::Subscription
    [all...]
  /external/chromium_org/tools/json_schema_compiler/test/
enums_unittest.cc 35 scoped_ptr<TakesEnumAsType::Params> params(
63 scoped_ptr<TakesEnumArrayAsType::Params> params(
73 scoped_ptr<TakesEnumArrayAsType::Params> params(
82 scoped_ptr<Value> result(
84 scoped_ptr<Value> expected(Value::CreateStringValue("foo"));
89 scoped_ptr<ListValue> results = ReturnsEnum::Results::Create(state);
98 scoped_ptr<ListValue> results = ReturnsTwoEnums::Results::Create(
136 scoped_ptr<TakesEnum::Params> params(
144 scoped_ptr<TakesEnum::Params> params(
155 scoped_ptr<TakesEnumArray::Params> params
    [all...]
  /external/chromium_org/ui/views/corewm/
image_grid.h 10 #include "base/memory/scoped_ptr.h"
164 scoped_ptr<ui::Layer>* layer_ptr,
165 scoped_ptr<ImagePainter>* painter_ptr);
178 scoped_ptr<ui::Layer> layer_;
200 scoped_ptr<ui::Layer> top_left_layer_;
201 scoped_ptr<ui::Layer> top_layer_;
202 scoped_ptr<ui::Layer> top_right_layer_;
203 scoped_ptr<ui::Layer> left_layer_;
204 scoped_ptr<ui::Layer> center_layer_;
205 scoped_ptr<ui::Layer> right_layer_
    [all...]
  /external/chromium_org/media/base/
yuv_convert_unittest.cc 39 // Helper for reading test data into a scoped_ptr<uint8[]>.
42 scoped_ptr<uint8[]>* data) {
63 static void ReadYV12Data(scoped_ptr<uint8[]>* data) {
67 static void ReadYV16Data(scoped_ptr<uint8[]>* data) {
71 static void ReadRGB24Data(scoped_ptr<uint8[]>* data) {
75 static void ReadYUY2Data(scoped_ptr<uint8[]>* data) {
92 scoped_ptr<uint8[]> yuv_bytes;
93 scoped_ptr<uint8[]> rgb_bytes(new uint8[kRGBSize]);
94 scoped_ptr<uint8[]> rgb_converted_bytes(new uint8[kRGBSizeConverted]);
121 scoped_ptr<uint8[]> yuv_bytes
    [all...]
  /external/chromium_org/cc/animation/
keyframed_animation_curve_unittest.cc 30 scoped_ptr<KeyframedColorAnimationCurve> curve(
33 ColorKeyframe::Create(0.0, color, scoped_ptr<TimingFunction>()));
47 scoped_ptr<KeyframedColorAnimationCurve> curve(
50 ColorKeyframe::Create(0.0, color_a, scoped_ptr<TimingFunction>()));
52 ColorKeyframe::Create(1.0, color_b, scoped_ptr<TimingFunction>()));
70 scoped_ptr<KeyframedColorAnimationCurve> curve(
73 ColorKeyframe::Create(0.0, color_a, scoped_ptr<TimingFunction>()));
75 ColorKeyframe::Create(1.0, color_b, scoped_ptr<TimingFunction>()));
77 ColorKeyframe::Create(2.0, color_c, scoped_ptr<TimingFunction>()));
93 scoped_ptr<KeyframedColorAnimationCurve> curve
    [all...]
  /external/chromium_org/third_party/cld/base/
scoped_ptr.h 9 // implementation of the scoped_ptr class, and its closely-related brethren,
28 template <class C> class scoped_ptr;
33 scoped_ptr<C> make_scoped_ptr(C *);
35 // A scoped_ptr<T> is like a T*, except that the destructor of scoped_ptr<T>
37 // That is, scoped_ptr<T> owns the T object that it points to.
38 // Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to a T object.
39 // Also like T*, scoped_ptr<T> is thread-compatible, and once you
42 // The size of a scoped_ptr is small:
43 // sizeof(scoped_ptr<C>) == sizeof(C*
45 class scoped_ptr { class
54 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:scoped_ptr
    [all...]

Completed in 995 milliseconds

<<11121314151617181920>>