Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 25 of 117) sorted by relevance

12345

/third_party/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc196 Closure* permanent_closure_;
204 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
211 Closure* closure = NewCallback(current_instance_, in TEST_F()
219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
226 Closure* closure = NewCallback(current_instance_, in TEST_F()
234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
241 Closure* closure = NewCallback(current_instance_, in TEST_F()
250 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
260 Closure* closure = NewCallback(current_instance_, in TEST_F()
272 Closure* closure = NewPermanentCallback(&SetA123Function); in TEST_F()
[all …]
Dcallback.h73 class PROTOBUF_EXPORT Closure {
75 Closure() {} in Closure() function
76 virtual ~Closure();
81 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure);
122 class PROTOBUF_EXPORT FunctionClosure0 : public Closure {
142 class MethodClosure0 : public Closure {
163 class FunctionClosure1 : public Closure {
186 class MethodClosure1 : public Closure {
210 class FunctionClosure2 : public Closure {
234 class MethodClosure2 : public Closure {
[all …]
/third_party/boost/boost/thread/executors/
Dexecutor.hpp89 template <typename Closure>
90 void submit(Closure & closure) in submit()
102 template <typename Closure>
103 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
106 work w((boost::forward<Closure>(closure))); in submit()
Dgeneric_executor_ref.hpp147 template <typename Closure>
148 void submit(Closure & closure) in submit()
162 template <typename Closure>
163 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
165 work w((boost::forward<Closure>(closure))); in submit()
Dloop_executor.hpp153 template <typename Closure>
154 void submit(Closure & closure) in submit()
165 template <typename Closure>
166 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
169 work w((boost::forward<Closure>(closure))); in submit()
Dthread_executor.hpp115 template <typename Closure>
116 void submit(Closure & closure) in submit()
134 template <typename Closure>
135 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
140 thread th(boost::forward<Closure>(closure)); in submit()
Dserial_executor_cont.hpp146 template <typename Closure>
147 void submit(Closure & closure) in submit()
161 template <typename Closure>
162 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
166 fut_ = fut_.then(ex_, continuation(work(boost::forward<Closure>(closure)))); in submit()
Dexecutor_adaptor.hpp104 template <typename Closure>
105 void submit(Closure & closure) in submit()
115 template <typename Closure>
116 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
119 work w((boost::forward<Closure>(closure))); in submit()
Dserial_executor.hpp182 template <typename Closure>
183 void submit(Closure & closure) in submit()
193 template <typename Closure>
194 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
196 work w((boost::forward<Closure>(closure))); in submit()
Dinline_executor.hpp107 template <typename Closure>
108 void submit(Closure & closure) in submit()
142 template <typename Closure>
143 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
Dbasic_thread_pool.hpp307 template <typename Closure>
308 void submit(Closure & closure) in submit()
318 template <typename Closure>
319 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit()
322 work w((boost::forward<Closure>(closure))); in submit()
/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.h151 template <class Closure>
153 return (*reinterpret_cast<const Closure*>(f))(input); in CallClosure()
158 template <class Closure>
159 static inline size_t MeasureClosure(const Closure& closure,
163 return Measure(reinterpret_cast<Func>(&CallClosure<Closure>),
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnanobenchmark.h151 template <class Closure>
153 return (*reinterpret_cast<const Closure*>(f))(input); in CallClosure()
158 template <class Closure>
159 static inline size_t MeasureClosure(const Closure& closure,
163 return Measure(reinterpret_cast<Func>(&CallClosure<Closure>),
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.cpp59 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
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()
293 std::shared_ptr<Closure> mTask;
297 std::shared_ptr<WaitableEvent> DelegateWorkerPool::postWorkerTask(std::shared_ptr<Closure> task) in postWorkerTask()
346 std::shared_ptr<Closure> task) in PostWorkerTask()
DWorkerThread.h27 class Closure
30 virtual ~Closure() = default;
80 std::shared_ptr<Closure> task);
89 virtual std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) = 0;
/third_party/boost/libs/thread/doc/
Dasync_executors.qbk131 [heading Closure]
143 … can not be constructed by moving the closure, so e.g. `std::packaged_task` could not be a Closure.
286 template <class Closure>
291 cancel_point();this->Closure::run();
344 [section:concept_closure Concept `Closure`]
347 A type `E` meets the `Closure` requirements if is a model of `Callable(void())` and a model of `Cop…
367 * `lc` denotes a lvalue reference of type `Closure`,
368 * `rc` denotes a rvalue reference of type `Closure`
491 [[Requires:] [work is a model of 'Closure']]
520 template <typename Closure>
[all …]
/third_party/boost/boost/thread/
Duser_scheduler.hpp145 template <typename Closure>
146 void submit(Closure & closure) in submit()
160 template <typename Closure>
161 void submit(BOOST_THREAD_RV_REF(Closure) closure) in submit()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.h27 class Closure
30 virtual ~Closure() = default;
80 std::shared_ptr<Closure> task);
89 virtual std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) = 0;
DWorkerThread.cpp57 std::shared_ptr<WaitableEvent> postWorkerTask(std::shared_ptr<Closure> task) override;
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()
232 std::shared_ptr<Closure> task) in PostWorkerTask()
/third_party/mindspore/mindspore/ccsrc/vm/
Dvmimpl.h43 class Closure; variable
44 using ClosurePtr = std::shared_ptr<Closure>;
95 class Closure : public Base {
97 Closure(const FuncGraphPtr &func_graph, const AnfNodePtrToBaseRefMap &values);
108 virtual ~Closure() = default;
110 MS_DECLARE_PARENT(Closure, Base)
/third_party/boost/boost/geometry/iterators/detail/segment_iterator/
Drange_segment_iterator.hpp31 template <typename Range, closure_selector Closure = closure<Range>::value>
45 template <typename Range, closure_selector Closure = closure<Range>::value>
48 static inline typename range_iterator_type<Range, Closure>::type
67 template <typename Range, closure_selector Closure = closure<Range>::value>
70 static inline typename range_iterator_type<Range, Closure>::type
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86DomainReassignment.cpp300 class Closure { class
316 Closure(unsigned ID, std::initializer_list<RegDomain> LegalDstDomainList) : ID(ID) { in Closure() function in __anon81a2d7f30111::Closure
410 void buildClosure(Closure &, unsigned Reg);
413 void visitRegister(Closure &, unsigned Reg, RegDomain &Domain,
417 void reassign(const Closure &C, RegDomain Domain) const;
420 void encloseInstr(Closure &C, MachineInstr *MI);
423 bool isReassignmentProfitable(const Closure &C, RegDomain Domain) const;
426 double calculateCost(const Closure &C, RegDomain Domain) const;
433 void X86DomainReassignment::visitRegister(Closure &C, unsigned Reg, in visitRegister()
456 void X86DomainReassignment::encloseInstr(Closure &C, MachineInstr *MI) { in encloseInstr()
[all …]
/third_party/libphonenumber/javascript/
DREADME.md23 * Closure library: v20190415
25 * Closure compiler: v20140407
27 * Closure linter: v2.3.19
32 we continue to support newer version of these dependencies. We learned that newer Closure binaries
49 1. Build the Closure Compiler JAR file by following the directions on the
50 [Closure Compiler README](https://github.com/google/closure-compiler/tree/master/README.md).
86 4. Run the Closure Compiler to get your changes syntax and type checked. This will also generate `d…
90 5. Run the Closure Linter to lint the JavaScript files:
/third_party/protobuf/js/
DREADME.md13 2. Closure-style imports (eg. `goog.require('my.package.MyProto');`)
16 be supported by using Browserify, webpack, Closure Compiler, etc. to
53 Closure Compiler style imports and one that uses CommonJS imports.
63 little different depending on whether you are using Closure imports
66 Closure Imports
69 If you want to use Closure imports, your build should run a command
74 For Closure imports, `protoc` will generate a single output file
86 and they will require many types in the Google Closure library. So make sure
89 Google Closure library itself.
98 If unfamiliar with Closure or it's compiler, consider reviewing Closure documentation
/third_party/protobuf/src/google/protobuf/
Dservice.h172 Message* response, Closure* done) = 0;
256 virtual void NotifyOnCancel(Closure* callback) = 0;
282 Message* response, Closure* done) = 0;

12345