HomeSort by relevance Sort by last modified time
    Searched full:scoped_ptr (Results 1 - 25 of 1384) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/parameter-framework/asio-1.10.6/include/asio/detail/
scoped_ptr.hpp 2 // detail/scoped_ptr.hpp
23 class scoped_ptr class in namespace:asio::detail
27 explicit scoped_ptr(T* p = 0) function in class:asio::detail::scoped_ptr
33 ~scoped_ptr()
65 scoped_ptr(const scoped_ptr&);
66 scoped_ptr& operator=(const scoped_ptr&);
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
scoped_ptr.hpp 11 // http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
34 // scoped_ptr mimics a built-in pointer except that it guarantees deletion
35 // of the object pointed to, either on destruction of the scoped_ptr or via
36 // an explicit reset(). scoped_ptr is a simple solution for simple needs;
39 template<class T> class scoped_ptr // noncopyable class in namespace:boost
45 scoped_ptr(scoped_ptr const &);
46 scoped_ptr & operator=(scoped_ptr const &);
48 typedef scoped_ptr<T> this_type
57 explicit scoped_ptr( T * p = 0 ): px( p ) \/\/ never throws function in class:boost::scoped_ptr
66 explicit scoped_ptr( std::auto_ptr<T> p ): px( p.release() ) \/\/ never throws function in class:boost::scoped_ptr
    [all...]
  /external/libchrome/base/memory/
scoped_ptr_unittest.nc 8 #include "base/memory/scoped_ptr.h"
28 #if defined(NCTEST_NO_PASS_DOWNCAST) // [r"fatal error: no viable conversion from returned value of type 'scoped_ptr<\(anonymous namespace\)::Parent>' to function return type 'scoped_ptr<\(anonymous namespace\)::Child>'"]
30 scoped_ptr<Child> DowncastUsingPassAs(scoped_ptr<Parent> object) {
36 // scoped_ptr<> should not work for ref-counted objects.
38 scoped_ptr<RefCountedClass> x;
41 #elif defined(NCTEST_NO_ARRAY_WITH_SIZE) // [r"fatal error: static_assert failed \"scoped_ptr doesn't support array with size\""]
44 scoped_ptr<int[10]> x;
50 scoped_ptr<int[]> a
    [all...]
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]);
43 // using scoped_ptr:
45 // void TakesOwnership(scoped_ptr<Foo> arg) {
48 // scoped_ptr<Foo> CreateFoo() {
51 // return scoped_ptr<Foo>(new Foo("new"));
53 // scoped_ptr<Foo> PassThru(scoped_ptr<Foo> arg)
240 class scoped_ptr { class
254 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
257 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:scoped_ptr
260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:scoped_ptr
263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
300 scoped_ptr(scoped_ptr<U, E>&& other) function in class:scoped_ptr
407 class scoped_ptr<T[], D> { class
416 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
429 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:scoped_ptr
432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
435 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
    [all...]
scoped_ptr_unittest.cc 5 #include "base/memory/scoped_ptr.h"
89 scoped_ptr<ConDecLogger> PassThru(scoped_ptr<ConDecLogger> logger) {
93 void GrabAndDrop(scoped_ptr<ConDecLogger> logger) {
98 scoped_ptr<ConDecLogger> TestReturnOfType(int* constructed) {
99 return scoped_ptr<ConDecLogger>(new ConDecLogger(constructed));
107 // Ensure size of scoped_ptr<> doesn't increase unexpectedly.
108 static_assert(sizeof(int*) >= sizeof(scoped_ptr<int>),
109 "scoped_ptr shouldn't be larger than the raw pointer");
112 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed))
    [all...]
  /external/libchrome/crypto/
scoped_nss_types.h 13 #include "base/memory/scoped_ptr.h"
32 typedef scoped_ptr<PK11Context,
35 typedef scoped_ptr<PK11SlotInfo, NSSDestroyer<PK11SlotInfo, PK11_FreeSlot> >
37 typedef scoped_ptr<PK11SlotList, NSSDestroyer<PK11SlotList, PK11_FreeSlotList> >
39 typedef scoped_ptr<PK11SymKey, NSSDestroyer<PK11SymKey, PK11_FreeSymKey> >
41 typedef scoped_ptr<SECKEYPublicKey,
44 typedef scoped_ptr<SECKEYPrivateKey,
47 typedef scoped_ptr<SECAlgorithmID,
51 typedef scoped_ptr<SECItem, NSSDestroyer1<SECItem, SECITEM_FreeItem, PR_TRUE> >
53 typedef scoped_ptr<PLArenaPool
    [all...]
  /system/tpm/trunks/
trunks_factory_for_test.h 25 #include <base/memory/scoped_ptr.h>
65 scoped_ptr<TpmState> GetTpmState() const override;
66 scoped_ptr<TpmUtility> GetTpmUtility() const override;
67 scoped_ptr<AuthorizationDelegate> GetPasswordAuthorization(
69 scoped_ptr<SessionManager> GetSessionManager() const override;
70 scoped_ptr<HmacSession> GetHmacSession() const override;
71 scoped_ptr<PolicySession> GetPolicySession() const override;
72 scoped_ptr<PolicySession> GetTrialSession() const override;
73 scoped_ptr<BlobParser> GetBlobParser() const override;
109 scoped_ptr<MockTpm> default_tpm_
    [all...]
trunks_factory_impl.cc 65 scoped_ptr<TpmState> TrunksFactoryImpl::GetTpmState() const {
66 return scoped_ptr<TpmState>(new TpmStateImpl(*this));
69 scoped_ptr<TpmUtility> TrunksFactoryImpl::GetTpmUtility() const {
70 return scoped_ptr<TpmUtility>(new TpmUtilityImpl(*this));
73 scoped_ptr<AuthorizationDelegate> TrunksFactoryImpl::GetPasswordAuthorization(
75 return scoped_ptr<AuthorizationDelegate>(
79 scoped_ptr<SessionManager> TrunksFactoryImpl::GetSessionManager() const {
80 return scoped_ptr<SessionManager>(new SessionManagerImpl(*this));
83 scoped_ptr<HmacSession> TrunksFactoryImpl::GetHmacSession() const {
84 return scoped_ptr<HmacSession>(new HmacSessionImpl(*this))
    [all...]
trunks_factory_impl.h 25 #include <base/memory/scoped_ptr.h>
48 scoped_ptr<TpmState> GetTpmState() const override;
49 scoped_ptr<TpmUtility> GetTpmUtility() const override;
50 scoped_ptr<AuthorizationDelegate> GetPasswordAuthorization(
52 scoped_ptr<SessionManager> GetSessionManager() const override;
53 scoped_ptr<HmacSession> GetHmacSession() const override;
54 scoped_ptr<PolicySession> GetPolicySession() const override;
55 scoped_ptr<PolicySession> GetTrialSession() const override;
56 scoped_ptr<BlobParser> GetBlobParser() const override;
59 scoped_ptr<CommandTransceiver> default_transceiver_
    [all...]
trunks_factory.h 23 #include <base/memory/scoped_ptr.h>
51 virtual scoped_ptr<TpmState> GetTpmState() const = 0;
54 virtual scoped_ptr<TpmUtility> GetTpmUtility() const = 0;
58 virtual scoped_ptr<AuthorizationDelegate> GetPasswordAuthorization(
62 virtual scoped_ptr<SessionManager> GetSessionManager() const = 0;
65 virtual scoped_ptr<HmacSession> GetHmacSession() const = 0;
68 virtual scoped_ptr<PolicySession> GetPolicySession() const = 0;
71 virtual scoped_ptr<PolicySession> GetTrialSession() const = 0;
74 virtual scoped_ptr<BlobParser> GetBlobParser() const = 0;
  /external/webrtc/webrtc/common_audio/resampler/include/
push_resampler.h 14 #include "webrtc/base/scoped_ptr.h"
39 rtc::scoped_ptr<PushSincResampler> sinc_resampler_;
40 rtc::scoped_ptr<PushSincResampler> sinc_resampler_right_;
44 rtc::scoped_ptr<T[]> src_left_;
45 rtc::scoped_ptr<T[]> src_right_;
46 rtc::scoped_ptr<T[]> dst_left_;
47 rtc::scoped_ptr<T[]> dst_right_;
  /external/webrtc/webrtc/call/
congestion_controller.h 17 #include "webrtc/base/scoped_ptr.h"
71 rtc::scoped_ptr<VieRemb> remb_;
72 rtc::scoped_ptr<PacketRouter> packet_router_;
73 rtc::scoped_ptr<PacedSender> pacer_;
74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_;
84 rtc::scoped_ptr<ProcessThread> pacer_thread_;
86 rtc::scoped_ptr<BitrateController> bitrate_controller_;
87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_;
  /external/libweave/third_party/chromium/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]);
43 // using scoped_ptr:
45 // void TakesOwnership(scoped_ptr<Foo> arg) {
48 // scoped_ptr<Foo> CreateFoo() {
51 // return scoped_ptr<Foo>(new Foo("new"));
53 // scoped_ptr<Foo> PassThru(scoped_ptr<Foo> arg)
240 class scoped_ptr { class
254 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
257 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:scoped_ptr
260 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:scoped_ptr
263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
273 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
300 scoped_ptr(scoped_ptr<U, E>&& other) function in class:scoped_ptr
407 class scoped_ptr<T[], D> { class
416 scoped_ptr() : impl_(nullptr) {} function in class:scoped_ptr
429 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:scoped_ptr
432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:scoped_ptr
435 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:scoped_ptr
    [all...]
scoped_ptr_unittest.cc 5 #include "base/memory/scoped_ptr.h"
90 scoped_ptr<ConDecLogger> PassThru(scoped_ptr<ConDecLogger> logger) {
94 void GrabAndDrop(scoped_ptr<ConDecLogger> logger) {
99 scoped_ptr<ConDecLogger> TestReturnOfType(int* constructed) {
100 return scoped_ptr<ConDecLogger>(new ConDecLogger(constructed));
108 // Ensure size of scoped_ptr<> doesn't increase unexpectedly.
109 static_assert(sizeof(int*) >= sizeof(scoped_ptr<int>),
110 "scoped_ptr shouldn't be larger than the raw pointer");
113 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed))
    [all...]
  /external/libchrome/base/debug/
leak_tracker_unittest.cc 6 #include "base/memory/scoped_ptr.h"
31 // Use scoped_ptr so compiler doesn't complain about unused variables.
32 scoped_ptr<ClassA> a1(new ClassA);
33 scoped_ptr<ClassB> b1(new ClassB);
34 scoped_ptr<ClassB> b2(new ClassB);
55 scoped_ptr<ClassA> a2(new ClassA);
75 scoped_ptr<ClassA> a1(new ClassA);
76 scoped_ptr<ClassA> a2(new ClassA);
77 scoped_ptr<ClassA> a3(new ClassA);
78 scoped_ptr<ClassA> a4(new ClassA)
    [all...]
  /external/libchrome/base/
task_runner_util_unittest.cc 39 scoped_ptr<Foo> CreateFoo() {
40 return scoped_ptr<Foo>(new Foo);
43 void ExpectFoo(scoped_ptr<Foo> foo) {
45 scoped_ptr<Foo> local_foo(std::move(foo));
57 scoped_ptr<Foo, FooDeleter> CreateScopedFoo() {
58 return scoped_ptr<Foo, FooDeleter>(new Foo);
61 void ExpectScopedFoo(scoped_ptr<Foo, FooDeleter> foo) {
63 scoped_ptr<Foo, FooDeleter> local_foo(std::move(foo));
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
scoped_ptr.hpp 11 // http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
14 #include <boost/smart_ptr/scoped_ptr.hpp>
  /external/libchrome/dbus/
mock_object_proxy.h 24 // GMock doesn't support the return type of scoped_ptr<> because scoped_ptr is
32 scoped_ptr<Response> CallMethodAndBlockWithErrorDetails(
36 return scoped_ptr<Response>(
41 scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call,
43 return scoped_ptr<Response>(MockCallMethodAndBlock(method_call,
  /external/webrtc/webrtc/base/
scoped_ptr.h 11 // Borrowed from Chromium's src/base/memory/scoped_ptr.h.
18 // Example usage (scoped_ptr<T>):
20 // scoped_ptr<Foo> foo(new Foo("wee"));
24 // scoped_ptr<Foo> foo; // No pointer managed.
37 // Example usage (scoped_ptr<T[]>):
39 // scoped_ptr<Foo[]> foo(new Foo[100]);
50 // copy will NOT work. Here is an example using scoped_ptr:
52 // void TakesOwnership(scoped_ptr<Foo> arg) {
55 // scoped_ptr<Foo> CreateFoo() {
58 // return scoped_ptr<Foo>(new Foo("new"))
309 class scoped_ptr { class in namespace:rtc
322 scoped_ptr() : impl_(nullptr) {} function in class:rtc::scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) {} function in class:rtc::scoped_ptr
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {} function in class:rtc::scoped_ptr
331 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:rtc::scoped_ptr
344 scoped_ptr(scoped_ptr<U, V>&& other) function in class:rtc::scoped_ptr
466 class scoped_ptr<T[], D> { class in namespace:rtc
473 scoped_ptr() : impl_(nullptr) {} function in class:rtc::scoped_ptr
488 explicit scoped_ptr(element_type* array) : impl_(array) {} function in class:rtc::scoped_ptr
491 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} function in class:rtc::scoped_ptr
494 scoped_ptr(scoped_ptr&& other) : impl_(&other.impl_) {} function in class:rtc::scoped_ptr
    [all...]
  /external/ceres-solver/include/ceres/internal/
scoped_ptr.h 32 // implementation of the scoped_ptr class, and its closely-related brethren,
46 template <class C> class scoped_ptr;
51 scoped_ptr<C> make_scoped_ptr(C *);
53 // A scoped_ptr<T> is like a T*, except that the destructor of
54 // scoped_ptr<T> automatically deletes the pointer it holds (if
55 // any). That is, scoped_ptr<T> owns the T object that it points
56 // to. Like a T*, a scoped_ptr<T> may hold either NULL or a pointer to
57 // a T object. Also like T*, scoped_ptr<T> is thread-compatible, and
60 // The size of a scoped_ptr is small: sizeof(scoped_ptr<C>) == sizeof(C*
62 class scoped_ptr { class in namespace:ceres::internal
70 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } function in class:ceres::internal::scoped_ptr
    [all...]
  /external/libchrome/base/metrics/
sparse_histogram_unittest.cc 9 #include "base/memory/scoped_ptr.h"
39 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) {
40 return scoped_ptr<SparseHistogram>(new SparseHistogram(name));
47 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));
48 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples());
53 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples());
59 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples());
66 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));
67 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples());
72 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples())
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/test/
TwoWayCommunication.h 14 #include "webrtc/base/scoped_ptr.h"
34 rtc::scoped_ptr<AudioCodingModule> _acmA;
35 rtc::scoped_ptr<AudioCodingModule> _acmB;
37 rtc::scoped_ptr<AudioCodingModule> _acmRefA;
38 rtc::scoped_ptr<AudioCodingModule> _acmRefB;
iSACTest.h 16 #include "webrtc/base/scoped_ptr.h"
54 rtc::scoped_ptr<AudioCodingModule> _acmA;
55 rtc::scoped_ptr<AudioCodingModule> _acmB;
57 rtc::scoped_ptr<Channel> _channel_A2B;
58 rtc::scoped_ptr<Channel> _channel_B2A;
  /external/webrtc/webrtc/common_audio/
fir_filter_neon.h 14 #include "webrtc/base/scoped_ptr.h"
31 rtc::scoped_ptr<float[], AlignedFreeDeleter> coefficients_;
32 rtc::scoped_ptr<float[], AlignedFreeDeleter> state_;
fir_filter_sse.h 14 #include "webrtc/base/scoped_ptr.h"
31 rtc::scoped_ptr<float[], AlignedFreeDeleter> coefficients_;
32 rtc::scoped_ptr<float[], AlignedFreeDeleter> state_;

Completed in 463 milliseconds

1 2 3 4 5 6 7 8 91011>>