Home
last modified time | relevance | path

Searched refs:shared_ptr (Results 1 – 25 of 719) sorted by relevance

12345678910>>...29

/third_party/cef/tests/cefclient/browser/
Dosr_d3d11_win.h50 ScopedBinder(const std::shared_ptr<Context>& ctx, in ScopedBinder()
51 const std::shared_ptr<T>& target) in ScopedBinder()
64 const std::shared_ptr<T> target_;
78 const std::shared_ptr<ID3D11DeviceContext> ctx_;
86 static std::shared_ptr<Device> create();
92 std::shared_ptr<Context> immedidate_context();
94 std::shared_ptr<SwapChain> create_swapchain(HWND,
98 std::shared_ptr<Geometry> create_quad(float x,
104 std::shared_ptr<Texture2D> create_texture(int width,
110 std::shared_ptr<Texture2D> open_shared_texture(void*);
[all …]
Dosr_render_handler_win_d3d11.h17 explicit BrowserLayer(const std::shared_ptr<d3d11::Device>& device);
19 void render(const std::shared_ptr<d3d11::Context>& ctx) override;
27 std::shared_ptr<d3d11::FrameBuffer> frame_buffer_;
34 explicit PopupLayer(const std::shared_ptr<d3d11::Device>& device);
79 std::shared_ptr<d3d11::Device> device_;
80 std::shared_ptr<d3d11::SwapChain> swap_chain_;
81 std::shared_ptr<d3d11::Composition> composition_;
82 std::shared_ptr<BrowserLayer> browser_layer_;
83 std::shared_ptr<PopupLayer> popup_layer_;
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
DContext.hpp66 std::shared_ptr<Thread> currentThread();
70 std::shared_ptr<Thread> get(ID<Thread>);
74 std::vector<std::shared_ptr<Thread>> threads();
80 std::shared_ptr<File> createVirtualFile(const std::string &name,
85 std::shared_ptr<File> createPhysicalFile(const std::string &path);
89 std::shared_ptr<File> get(ID<File>);
93 std::shared_ptr<File> findFile(const std::string &path);
96 std::vector<std::shared_ptr<File>> files();
100 std::shared_ptr<Frame> createFrame(
101 const std::shared_ptr<File> &file, std::string function);
[all …]
DThread.hpp46 const std::shared_ptr<File> &file,
47 const std::shared_ptr<VariableContainer> &variables);
53 const std::shared_ptr<File> file;
56 const std::shared_ptr<VariableContainer> variables;
60 const std::shared_ptr<File> &file, in Scope()
61 const std::shared_ptr<VariableContainer> &variables) in Scope()
87 std::shared_ptr<Scope> arguments;
90 std::shared_ptr<Scope> locals;
93 std::shared_ptr<Scope> registers;
96 std::shared_ptr<Scope> hovers;
[all …]
DContext.cpp63 std::shared_ptr<ListenerSet> listeners = std::make_shared<ListenerSet>();
175 void addFile(const std::shared_ptr<File> &file);
181 std::unordered_map<std::thread::id, std::shared_ptr<Thread>> threadsByStdId;
230 void Context::Impl::addFile(const std::shared_ptr<File> &file) in addFile()
247 std::shared_ptr<Context> Context::create() in create()
249 return std::shared_ptr<Context>(new Context::Impl()); in create()
296 std::shared_ptr<Thread> Context::Lock::currentThread() in currentThread()
317 std::shared_ptr<Thread> Context::Lock::get(Thread::ID id) in get()
322 std::vector<std::shared_ptr<Thread>> Context::Lock::threads() in threads()
324 std::vector<std::shared_ptr<Thread>> out; in threads()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.cpp59 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
65 std::shared_ptr<WaitableEvent> SingleThreadedWorkerPool::postWorkerTask( in postWorkerTask()
66 std::shared_ptr<Closure> task) in postWorkerTask()
137 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
150 std::queue<std::pair<std::shared_ptr<AsyncWaitableEvent>, std::shared_ptr<Closure>>> mTaskQueue;
154 std::shared_ptr<WaitableEvent> AsyncWorkerPool::postWorkerTask(std::shared_ptr<Closure> task) in postWorkerTask()
262 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
273 DelegateWorkerTask(std::shared_ptr<Closure> task, in DelegateWorkerTask()
274 std::shared_ptr<DelegateWaitableEvent> waitable) in DelegateWorkerTask()
293 std::shared_ptr<Closure> mTask;
[all …]
DWorkerThread.h46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()
49 static void WaitMany(std::array<std::shared_ptr<WaitableEvent>, Count> *waitables) in WaitMany()
59 std::shared_ptr<WorkerThreadPool> mPool;
78 static std::shared_ptr<WorkerThreadPool> Create(bool multithreaded);
79 static std::shared_ptr<WaitableEvent> PostWorkerTask(std::shared_ptr<WorkerThreadPool> pool,
80 std::shared_ptr<Closure> task);
89 virtual std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) = 0;
/third_party/flutter/engine/flutter/runtime/
Ddart_vm.h39 std::shared_ptr<const DartVMData> GetVMData() const;
41 std::shared_ptr<ServiceProtocol> GetServiceProtocol() const;
43 std::shared_ptr<IsolateNameServer> GetIsolateNameServer() const;
45 std::shared_ptr<fml::ConcurrentTaskRunner> GetConcurrentWorkerTaskRunner()
50 std::shared_ptr<fml::ConcurrentMessageLoop> concurrent_message_loop_;
52 std::shared_ptr<const DartVMData> vm_data_;
53 const std::shared_ptr<IsolateNameServer> isolate_name_server_;
54 const std::shared_ptr<ServiceProtocol> service_protocol_;
59 static std::shared_ptr<DartVM> Create(
64 std::shared_ptr<IsolateNameServer> isolate_name_server);
[all …]
/third_party/flutter/txt/src/txt/
Dfont_collection.h56 std::shared_ptr<minikin::FontCollection> GetMinikinFontCollectionForFamilies(
62 const std::shared_ptr<minikin::FontFamily>& MatchFallbackFont(
88 const std::shared_ptr<minikin::FontFamily>& MatchFallbackFontFromHwFont(
113 std::shared_ptr<minikin::FontCollection>,
118 std::unordered_map<uint32_t, const std::shared_ptr<minikin::FontFamily>*>
120 std::unordered_map<std::string, std::shared_ptr<minikin::FontFamily>>
139 const std::shared_ptr<minikin::FontFamily>& DoMatchFallbackFont(
145 std::shared_ptr<minikin::FontFamily> FindFontFamilyInManagers(
148 std::shared_ptr<minikin::FontFamily> CreateMinikinFontFamily(
157 const std::shared_ptr<minikin::FontFamily>& GetFallbackFontFamily(
[all …]
Dfont_collection.cc41 const std::shared_ptr<minikin::FontFamily> g_null_family;
69 TxtFallbackFontProvider(std::shared_ptr<FontCollection> font_collection) in TxtFallbackFontProvider()
72 virtual const std::shared_ptr<minikin::FontFamily>& matchFallbackFont( in matchFallbackFont()
75 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFont()
83 virtual const std::shared_ptr<minikin::FontFamily>& matchFallbackFontFromHwFont( in matchFallbackFontFromHwFont()
87 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFontFromHwFont()
185 std::shared_ptr<minikin::FontCollection>
202 std::vector<std::shared_ptr<minikin::FontFamily>> minikin_families; in GetMinikinFontCollectionForFamilies()
207 std::shared_ptr<minikin::FontFamily> minikin_family = in GetMinikinFontCollectionForFamilies()
217 std::shared_ptr<minikin::FontFamily> minikin_family = in GetMinikinFontCollectionForFamilies()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dfont_collection.h55 std::shared_ptr<minikin::FontCollection> GetMinikinFontCollectionForFamilies(
61 const std::shared_ptr<minikin::FontFamily>& MatchFallbackFont(
87 const std::shared_ptr<minikin::FontFamily>& MatchFallbackFontFromHwFont(
112 std::shared_ptr<minikin::FontCollection>,
117 std::unordered_map<uint32_t, const std::shared_ptr<minikin::FontFamily>*>
119 std::unordered_map<std::string, std::shared_ptr<minikin::FontFamily>>
133 const std::shared_ptr<minikin::FontFamily>& DoMatchFallbackFont(
139 std::shared_ptr<minikin::FontFamily> FindFontFamilyInManagers(
142 std::shared_ptr<minikin::FontFamily> CreateMinikinFontFamily(
146 const std::shared_ptr<minikin::FontFamily>& GetFallbackFontFamily(
[all …]
Dfont_collection.cc39 const std::shared_ptr<minikin::FontFamily> g_null_family;
67 TxtFallbackFontProvider(std::shared_ptr<FontCollection> font_collection) in TxtFallbackFontProvider()
70 virtual const std::shared_ptr<minikin::FontFamily>& matchFallbackFont( in matchFallbackFont()
73 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFont()
81 virtual const std::shared_ptr<minikin::FontFamily>& matchFallbackFontFromHwFont( in matchFallbackFontFromHwFont()
85 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFontFromHwFont()
153 std::shared_ptr<minikin::FontCollection>
170 std::vector<std::shared_ptr<minikin::FontFamily>> minikin_families; in GetMinikinFontCollectionForFamilies()
175 std::shared_ptr<minikin::FontFamily> minikin_family = in GetMinikinFontCollectionForFamilies()
184 std::shared_ptr<minikin::FontFamily> minikin_family = in GetMinikinFontCollectionForFamilies()
[all …]
/third_party/node/src/
Dnode_sockaddr.h158 std::shared_ptr<SocketAddress> address);
168 std::shared_ptr<SocketAddress> address);
170 inline const std::shared_ptr<SocketAddress>& address() const { in address()
188 inline explicit TransferData(std::shared_ptr<SocketAddress> address) in TransferData()
201 std::shared_ptr<SocketAddress> address_;
205 std::shared_ptr<SocketAddress> address_;
249 std::shared_ptr<SocketAddressBlockList> parent = {});
252 void AddSocketAddress(const std::shared_ptr<SocketAddress>& address);
254 void RemoveSocketAddress(const std::shared_ptr<SocketAddress>& address);
257 const std::shared_ptr<SocketAddress>& start,
[all …]
Dinspector_io.h31 std::shared_ptr<MainThreadHandle> main_thread,
33 std::shared_ptr<ExclusiveAccess<HostPort>> host_port,
43 InspectorIo(std::shared_ptr<MainThreadHandle> handle,
45 std::shared_ptr<ExclusiveAccess<HostPort>> host_port,
56 std::shared_ptr<MainThreadHandle> main_thread_;
59 std::shared_ptr<RequestQueue> request_queue_;
60 std::shared_ptr<ExclusiveAccess<HostPort>> host_port_;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.cpp57 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
63 std::shared_ptr<WaitableEvent> SingleThreadedWorkerPool::postWorkerTask( in postWorkerTask()
64 std::shared_ptr<Closure> task) in postWorkerTask()
134 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
147 std::queue<std::pair<std::shared_ptr<AsyncWaitableEvent>, std::shared_ptr<Closure>>> mTaskQueue;
151 std::shared_ptr<WaitableEvent> AsyncWorkerPool::postWorkerTask(std::shared_ptr<Closure> task) in postWorkerTask()
211 std::shared_ptr<WorkerThreadPool> WorkerThreadPool::Create(bool multithreaded) in Create()
213 std::shared_ptr<WorkerThreadPool> pool(nullptr); in Create()
217 pool = std::shared_ptr<WorkerThreadPool>(static_cast<WorkerThreadPool *>( in Create()
223 return std::shared_ptr<WorkerThreadPool>( in Create()
[all …]
DWorkerThread.h46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()
49 static void WaitMany(std::array<std::shared_ptr<WaitableEvent>, Count> *waitables) in WaitMany()
59 std::shared_ptr<WorkerThreadPool> mPool;
78 static std::shared_ptr<WorkerThreadPool> Create(bool multithreaded);
79 static std::shared_ptr<WaitableEvent> PostWorkerTask(std::shared_ptr<WorkerThreadPool> pool,
80 std::shared_ptr<Closure> task);
89 virtual std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) = 0;
/third_party/flutter/engine/flutter/third_party/txt/tests/
DFontCollectionTest.cpp62 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(kVsTestFont)); in TEST()
63 std::shared_ptr<FontFamily> family( in TEST()
65 std::vector<std::shared_ptr<FontFamily>> families({family}); in TEST()
66 std::shared_ptr<FontCollection> fc(new FontCollection(families)); in TEST()
89 std::shared_ptr<FontCollection> collection( in TEST()
124 std::shared_ptr<FontCollection> collection( in TEST()
142 std::shared_ptr<MinikinFont> multiAxisFont( in TEST()
144 std::shared_ptr<FontFamily> multiAxisFamily( in TEST()
146 std::vector<std::shared_ptr<FontFamily>> multiAxisFamilies({multiAxisFamily}); in TEST()
147 std::shared_ptr<FontCollection> multiAxisFc( in TEST()
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Drunner_context.h25 RunnerContext(std::shared_ptr<sys::ServiceDirectory> svc,
31 const std::shared_ptr<sys::ServiceDirectory>& svc() const { return svc_; } in svc()
32 const std::shared_ptr<vfs::PseudoDir>& root_dir() const { return root_dir_; } in root_dir()
33 const std::shared_ptr<vfs::PseudoDir>& public_dir() const { in public_dir()
36 const std::shared_ptr<vfs::PseudoDir>& debug_dir() const { in debug_dir()
39 const std::shared_ptr<vfs::PseudoDir>& ctrl_dir() const { return ctrl_dir_; } in ctrl_dir()
59 std::shared_ptr<sys::ServiceDirectory> svc_;
60 std::shared_ptr<vfs::PseudoDir> root_dir_;
61 std::shared_ptr<vfs::PseudoDir> public_dir_;
62 std::shared_ptr<vfs::PseudoDir> debug_dir_;
[all …]
/third_party/flutter/txt/src/minikin/
DFontCollection.h35 static std::shared_ptr<minikin::FontCollection> Create(
36 const std::vector<std::shared_ptr<FontFamily>>& typefaces);
43 virtual const std::shared_ptr<FontFamily>& matchFallbackFont(
46 virtual const std::shared_ptr<FontFamily>& matchFallbackFontFromHwFont(
73 std::shared_ptr<FontCollection> createCollectionWithVariation(
106 bool init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
108 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch,
113 const std::shared_ptr<FontFamily>&
120 const std::shared_ptr<FontFamily>& fontFamily) const;
125 const std::shared_ptr<FontFamily>& fontFamily) const;
[all …]
DFontCollection.cpp54 std::shared_ptr<minikin::FontCollection> FontCollection::Create( in Create()
55 const std::vector<std::shared_ptr<FontFamily>>& typefaces) { in Create()
56 std::shared_ptr<minikin::FontCollection> font_collection( in Create()
67 const std::vector<std::shared_ptr<FontFamily>>& typefaces) { in init()
77 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
116 const std::shared_ptr<FontFamily>& family = mFamilies[j]; in init()
165 const std::shared_ptr<FontFamily>& fontFamily) const { in calcFamilyScore()
201 const std::shared_ptr<FontFamily>& fontFamily) const { in calcCoverageScore()
302 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar( in getFamilyForChar()
320 const std::shared_ptr<FontFamily>& fallback = in getFamilyForChar()
[all …]
/third_party/libabigail/include/
Dabg-fwd.h52 using std::shared_ptr;
67 typedef shared_ptr<corpus> corpus_sptr;
70 typedef shared_ptr<corpus_group> corpus_group_sptr;
80 typedef shared_ptr<ir_traversable_base> ir_traversable_base_sptr;
84 typedef shared_ptr<environment> environment_sptr;
91 typedef shared_ptr<type_or_decl_base> type_or_decl_base_sptr;
96 typedef shared_ptr<type_base> type_base_sptr;
107 typedef shared_ptr<translation_unit> translation_unit_sptr;
124 typedef shared_ptr<decl_base> decl_base_sptr;
128 typedef shared_ptr<type_decl> type_decl_sptr;
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontCollection.h32 const std::vector<std::shared_ptr<FontFamily>>& typefaces);
33 explicit FontCollection(std::shared_ptr<FontFamily>&& typeface);
40 virtual const std::shared_ptr<FontFamily>& matchFallbackFont(
43 virtual const std::shared_ptr<FontFamily>& matchFallbackFontFromHwFont(
70 std::shared_ptr<FontCollection> createCollectionWithVariation(
103 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
105 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch,
114 const std::shared_ptr<FontFamily>& fontFamily) const;
119 const std::shared_ptr<FontFamily>& fontFamily) const;
138 std::vector<std::shared_ptr<FontFamily>> mFamilies;
[all …]
DFontCollection.cpp54 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) in FontCollection()
56 std::vector<std::shared_ptr<FontFamily>> typefaces; in FontCollection()
62 const vector<std::shared_ptr<FontFamily>>& typefaces) in FontCollection()
68 const vector<std::shared_ptr<FontFamily>>& typefaces) { in init()
78 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
113 const std::shared_ptr<FontFamily>& family = mFamilies[j]; in init()
159 const std::shared_ptr<FontFamily>& fontFamily) const { in calcFamilyScore()
195 const std::shared_ptr<FontFamily>& fontFamily) const { in calcCoverageScore()
296 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar( in getFamilyForChar()
314 const std::shared_ptr<FontFamily>& fallback = in getFamilyForChar()
[all …]
/third_party/node/src/inspector/
Dworker_inspector.h25 std::shared_ptr<MainThreadHandle> worker) = 0;
31 explicit WorkerManagerEventHandle(std::shared_ptr<WorkerManager> manager, in WorkerManagerEventHandle()
38 std::shared_ptr<WorkerManager> manager_;
45 std::shared_ptr<MainThreadHandle> worker_thread) in WorkerInfo()
51 std::shared_ptr<MainThreadHandle> worker_thread;
58 std::shared_ptr<MainThreadHandle> parent_thread,
68 void WorkerStarted(std::shared_ptr<MainThreadHandle> worker_thread,
81 std::shared_ptr<MainThreadHandle> parent_thread_;
87 explicit WorkerManager(std::shared_ptr<MainThreadHandle> thread) in WorkerManager()
98 std::shared_ptr<MainThreadHandle> MainThread() { in MainThread()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLDebugSections.cpp92 virtual std::shared_ptr<DebugSubsection>
110 std::shared_ptr<DebugSubsection>
113 static Expected<std::shared_ptr<YAMLChecksumsSubsection>>
124 std::shared_ptr<DebugSubsection>
127 static Expected<std::shared_ptr<YAMLLinesSubsection>>
140 std::shared_ptr<DebugSubsection>
143 static Expected<std::shared_ptr<YAMLInlineeLinesSubsection>>
156 std::shared_ptr<DebugSubsection>
159 static Expected<std::shared_ptr<YAMLCrossModuleExportsSubsection>>
170 std::shared_ptr<DebugSubsection>
[all …]

12345678910>>...29