HomeSort by relevance Sort by last modified time
    Searched refs:shared_ptr (Results 176 - 200 of 737) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/libbrillo/brillo/http/
http_transport.cc 14 std::shared_ptr<Transport> Transport::CreateDefault() {
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
auto_ptr.pass.cpp 12 // template<class Y> explicit shared_ptr(auto_ptr<Y>&& r);
53 std::shared_ptr<B> p(std::move(ptr));
55 std::shared_ptr<B> p(ptr);
73 std::shared_ptr<B> p(std::move(ptr));
75 std::shared_ptr<B> p(ptr);
87 // the shared_ptr destructor and the copy was
shared_ptr.pass.cpp 12 // shared_ptr
14 // shared_ptr(const shared_ptr& r);
33 std::shared_ptr<A> pA(new A);
37 std::shared_ptr<A> pA2(pA);
48 std::shared_ptr<A> pA;
52 std::shared_ptr<A> pA2(pA);
shared_ptr_rv.pass.cpp 14 // shared_ptr
16 // shared_ptr(shared_ptr&& r);
37 std::shared_ptr<A> pA(new A);
42 std::shared_ptr<A> pA2(std::move(pA));
63 std::shared_ptr<A> pA;
67 std::shared_ptr<A> pA2(std::move(pA));
unique_ptr.pass.cpp 14 // template <class Y, class D> explicit shared_ptr(unique_ptr<Y, D>&&r);
47 void fn ( const std::shared_ptr<int> &) {}
48 void fn ( const std::shared_ptr<B> &) { assert (false); }
58 std::shared_ptr<B> p(std::move(ptr));
73 std::shared_ptr<B> p(std::move(ptr));
97 std::shared_ptr<int> p2(std::move(p)); // should not call deleter when going out of scope
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
make_shared.pass.cpp 12 // shared_ptr
14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
55 std::shared_ptr<A> p = std::make_shared<A>(i, c);
63 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
65 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
73 std::shared_ptr<A> p = std::make_shared<A>(67, c);
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
arrow.pass.cpp 12 // shared_ptr
22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));
  /external/protobuf/python/google/protobuf/pyext/
extension_dict.h 41 #include <google/protobuf/stubs/shared_ptr.h>
51 using std::shared_ptr;
53 using internal::shared_ptr;
67 shared_ptr<Message> owner;
  /external/skia/src/sksl/ir/
SkSLVarDeclarationsStatement.h 28 std::shared_ptr<VarDeclarations> fDeclaration;
  /frameworks/native/services/surfaceflinger/
FrameTracker.h 64 void setFrameReadyFence(std::shared_ptr<FenceTime>&& readyFence);
72 void setActualPresentFence(std::shared_ptr<FenceTime>&& fence);
104 std::shared_ptr<FenceTime> frameReadyFence;
105 std::shared_ptr<FenceTime> actualPresentFence;
  /hardware/libhardware/tests/input/evdev/
InputHub_test.cpp 41 using InputCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t)>;
42 using DeviceCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&)>;
44 static const InputCbFunc kNoopInputCb = [](const std::shared_ptr<InputDeviceNode>&, InputEvent&, nsecs_t){};
45 static const DeviceCbFunc kNoopDeviceCb = [](const std::shared_ptr<InputDeviceNode>&){};
57 virtual void onInputEvent(const std::shared_ptr<InputDeviceNode>& node, InputEvent& event,
61 virtual void onDeviceAdded(const std::shared_ptr<InputDeviceNode>& node) override {
64 virtual void onDeviceRemoved(const std::shared_ptr<InputDeviceNode>& node) override {
81 std::shared_ptr<TestInputCallback> mCallback;
82 std::shared_ptr<InputHub> mInputHub;
101 [&](const std::shared_ptr<InputDeviceNode>& node)
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr.pass.cpp 12 // shared_ptr
14 // shared_ptr(const shared_ptr& r);
33 std::shared_ptr<A> pA(new A);
37 std::shared_ptr<A> pA2(pA);
48 std::shared_ptr<A> pA;
52 std::shared_ptr<A> pA2(pA);
shared_ptr_rv.pass.cpp 12 // shared_ptr
14 // shared_ptr(shared_ptr&& r);
33 std::shared_ptr<A> pA(new A);
38 std::shared_ptr<A> pA2(std::move(pA));
59 std::shared_ptr<A> pA;
63 std::shared_ptr<A> pA2(std::move(pA));
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
arrow.pass.cpp 12 // shared_ptr
22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
owner_less.pass.cpp 15 // struct owner_less<shared_ptr<T> >
16 // : binary_function<shared_ptr<T>, shared_ptr<T>, bool>
19 // bool operator()(shared_ptr<T> const&, shared_ptr<T> const&) const;
20 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const;
21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const;
30 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const;
31 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const;
39 const std::shared_ptr<int> p1(new int)
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr.pass.cpp 12 // shared_ptr
14 // shared_ptr(const shared_ptr& r);
33 std::shared_ptr<A> pA(new A);
37 std::shared_ptr<A> pA2(pA);
48 std::shared_ptr<A> pA;
52 std::shared_ptr<A> pA2(pA);
shared_ptr_rv.pass.cpp 12 // shared_ptr
14 // shared_ptr(shared_ptr&& r);
33 std::shared_ptr<A> pA(new A);
38 std::shared_ptr<A> pA2(std::move(pA));
59 std::shared_ptr<A> pA;
63 std::shared_ptr<A> pA2(std::move(pA));
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
make_shared.pass.cpp 12 // shared_ptr
14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
54 std::shared_ptr<A> p = std::make_shared<A>(i, c);
62 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
64 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
72 std::shared_ptr<A> p = std::make_shared<A>(67, c);
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
arrow.pass.cpp 12 // shared_ptr
22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));
  /system/libhidl/base/include/hidl/
TaskRunner.h 60 std::shared_ptr<SynchronizedQueue<Task>> mQueue;
  /frameworks/native/libs/vr/libpdx/private/pdx/
service.h 62 * Utility to get a shared_ptr reference from the channel context pointer.
64 static std::shared_ptr<Channel> GetFromMessageInfo(const MessageInfo& info);
196 int flags, const std::shared_ptr<Channel>& channel, int* channel_id);
203 Service* service, int flags, const std::shared_ptr<Channel>& channel,
224 std::shared_ptr<Channel>* channel) const;
231 std::shared_ptr<Channel>* channel) const;
239 std::shared_ptr<C>* channel) const {
240 std::shared_ptr<Channel> base_pointer;
250 std::shared_ptr<C>* channel) const {
251 std::shared_ptr<Channel> base_pointer
    [all...]
  /frameworks/native/libs/vr/libbufferhub/include/private/dvr/
native_buffer.h 28 explicit NativeBuffer(const std::shared_ptr<IonBuffer>& buffer)
40 std::shared_ptr<IonBuffer> buffer() { return buffer_; }
48 std::shared_ptr<IonBuffer> buffer_;
63 NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer,
77 explicit NativeBufferProducer(const std::shared_ptr<BufferProducer>& buffer)
88 std::shared_ptr<BufferProducer> buffer() const { return buffer_; }
113 std::shared_ptr<BufferProducer> buffer_;
131 explicit NativeBufferConsumer(const std::shared_ptr<BufferConsumer>& buffer)
143 std::shared_ptr<BufferConsumer> buffer() const { return buffer_; }
165 std::shared_ptr<BufferConsumer> buffer_
    [all...]
  /frameworks/native/libs/vr/libvrflinger/
display_surface.h 30 static pdx::Status<std::shared_ptr<DisplaySurface>> Create(
64 std::shared_ptr<T> Self() {
74 const std::shared_ptr<ConsumerQueue>& consumer_queue);
76 const std::shared_ptr<ConsumerQueue>& consumer_queue);
81 const std::shared_ptr<ConsumerQueue>& consumer_queue, int events);
127 std::shared_ptr<ConsumerQueue> GetQueue(int32_t queue_id);
133 void OnQueueEvent(const std::shared_ptr<ConsumerQueue>& consumer_queue,
136 std::unordered_map<int32_t, std::shared_ptr<ConsumerQueue>> consumer_queues_;
158 void OnQueueEvent(const std::shared_ptr<ConsumerQueue>& consumer_queue,
179 std::shared_ptr<ConsumerQueue> direct_queue_
    [all...]
  /external/clang/include/clang/ARCMigrate/
ARCMT.h 43 std::shared_ptr<PCHContainerOperations> PCHContainerOps,
55 std::shared_ptr<PCHContainerOperations> PCHContainerOps,
71 std::shared_ptr<PCHContainerOperations> PCHContainerOps,
99 std::shared_ptr<PCHContainerOperations> PCHContainerOps;
107 std::shared_ptr<PCHContainerOperations> PCHContainerOps,
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
shared_ptr_Y.pass.cpp 14 // template<class Y> weak_ptr(const shared_ptr<Y>& r);
56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), "");
60 const std::shared_ptr<A> pA(new A);
78 std::shared_ptr<A> pA;

Completed in 503 milliseconds

1 2 3 4 5 6 78 91011>>