/art/runtime/ |
closure.h | 24 class Closure { 26 virtual ~Closure() { }
|
/external/chromium_org/base/ |
callback_forward.h | 13 typedef Callback<void(void)> Closure;
|
callback.h | 18 // Closure should #include "base/callback_forward.h" instead of this file. 35 // is called a base::Closure. Note that this is NOT the same as what other 36 // languages refer to as a closure -- it does not retain a reference to its 116 // is called a base::Closure. So we could have also written: 118 // base::Closure cb = base::Bind(&MyFunc, 23, "hello world"); 123 // base::Closure cb = base::Bind(&MyClass::MyFunc, this, 23, "hello world"); 183 // Closure (base::Callback<void(void)> and base::Closure are the same thing). 189 // base::Closure foo_callback = base::Bind(&foo, base::Owned(pn)); 199 // base::Closure cb = base::Bind(&TakesOwnership, base::Passed(&f)) [all...] |
/external/openfst/src/script/ |
closure.cc | 19 #include <fst/script/closure.h> 24 void Closure(MutableFstClass *fst, ClosureType closure_type) { 27 Apply<Operation<ClosureArgs> >("Closure", fst->ArcType(), &args); 30 REGISTER_FST_OPERATION(Closure, StdArc, ClosureArgs); 31 REGISTER_FST_OPERATION(Closure, LogArc, ClosureArgs); 32 REGISTER_FST_OPERATION(Closure, Log64Arc, ClosureArgs);
|
/external/openfst/src/include/fst/script/ |
closure.h | 22 #include <fst/closure.h> 30 void Closure(ClosureArgs *args) { 33 Closure(fst, args->arg2); 36 void Closure(MutableFstClass *ofst, ClosureType closure_type);
|
/external/chromium/base/ |
callback.h | 26 // performing currying of arguments, and creating a "closure." 28 // In programing languages, a closure is a first-class function where all its 52 // base::Closure void_func_cb = base::Bind(&PrintHi); 65 // base::Closure void_ref_cb = base::Bind(&Ref::PrintBye, ref.get()); 71 // * This is particularly important if you post a closure to a 85 // base::Closure void_no_ref_cb = 492 typedef Callback<void(void)> Closure;
|
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
callback.h | 20 typedef ::base::Closure Closure; 46 inline Closure* NewPermanentCallback(void (*fn)()) { 47 return new ::base::Closure(::base::Bind(fn)); 51 Closure* NewPermanentCallback( 53 return new ::base::Closure(::base::Bind(method, base::Unretained(object))); 64 Closure* NewPermanentCallback( 68 return new ::base::Closure(::base::Bind(method, base::Unretained(object), 73 Closure* NewPermanentCallback( 77 return new ::base::Closure(::base::Bind(fn, arg1, arg2)) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
debug-function-scopes.js | 49 Closure: 3, 73 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure); 75 CheckScope(mirror.scope(2), { y: 17, z: 22 }, ScopeType.Closure); 76 CheckScope(mirror.scope(3), { x: 5 }, ScopeType.Closure); 104 CheckScope(mirror.scope(0), { visible2: 20 }, ScopeType.Closure); 105 CheckScope(mirror.scope(1), { visible1: 10 }, ScopeType.Closure); 146 CheckScope(mirror.scope(0), { p4: 20, p6: 22 }, ScopeType.Closure); 147 CheckScope(mirror.scope(1), { p1: 1 }, ScopeType.Closure); 160 // This getter is known to be implemented as closure.
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
debug-function-scopes.js | 51 Closure: 3, 77 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure); 78 CheckScope(mirror.scope(1), { z: 22, w: 5, v: "Capybara" }, ScopeType.Closure); 79 CheckScope(mirror.scope(2), { x: 5 }, ScopeType.Closure); 109 // Implementation artifact: l4 isn't used in closure, but still it is saved. 114 CheckScope(mirror.scope(3), { v1:3, l0: 0, v3: 5, v6: 11 }, ScopeType.Closure);
|
/external/clang/test/Misc/ |
diagnostic-crash.cpp | 9 class Closure { 38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}}
|
/external/openfst/src/include/fst/ |
closure.h | 0 // closure.h 19 // Functions and classes to compute the concatenative closure of an Fst. 34 // Computes the concatenative closure. This version modifies its 36 // then the closure transduces x to y with weight a, xx to yy with 46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { 73 // Computes the concatenative closure. This version modifies its 76 void Closure(RationalFst<Arc> *fst, ClosureType closure_type) { 91 // Computes the concatenative closure. This version is a delayed 93 // closure transduces x to y with weight a, xx to yy with weight
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
closure.h | 0 // closure.h 17 // Functions and classes to compute the concatenative closure of an Fst. 27 // Computes the concatenative closure. This version modifies its 29 // then the closure transduces x to y with weight a, xx to yy with 39 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { 65 // Computes the concatenative closure. This version modifies its 68 void Closure(RationalFst<Arc> *fst, ClosureType closure_type) { 83 // Computes the concatenative closure. This version is a delayed 85 // closure transduces x to y with weight a, xx to yy with weight
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
Functional.h | 623 typedef Function<void()> Closure; 629 using WTF::Closure;
|
/frameworks/wilhelm/src/ |
ThreadPool.h | 19 /** Kind of closure */ 27 /** Closure handlers */ 34 /** \brief Closure represents a deferred computation */ 48 } Closure; 62 Closure **mClosureArray; ///< The circular buffer of closures 63 Closure **mClosureFront, **mClosureRear; 66 Closure *mClosureTypical[CLOSURE_TYPICAL+1]; 91 extern Closure *ThreadPool_remove(ThreadPool *tp);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
common.cc | 236 Closure::~Closure() {}
|
common.h | 809 // a Closure to call when the procedure completes. See the Service interface 812 // To automatically construct a Closure which calls a particular function or 822 // Closure* callback = NewCallback(&FooDone, response); 839 // Closure* callback = NewCallback(this, &Handler::FooDone, response); 865 class LIBPROTOBUF_EXPORT Closure { 867 Closure() {} 868 virtual ~Closure(); 873 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure); 878 class LIBPROTOBUF_EXPORT FunctionClosure0 : public Closure { 898 class MethodClosure0 : public Closure { [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
common.cc | 232 Closure::~Closure() {}
|
common.h | 750 // a Closure to call when the procedure completes. See the Service interface 753 // To automatically construct a Closure which calls a particular function or 763 // Closure* callback = NewCallback(&FooDone, response); 780 // Closure* callback = NewCallback(this, &Handler::FooDone, response); 806 class LIBPROTOBUF_EXPORT Closure { 808 Closure() {} 809 virtual ~Closure(); 814 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure); 819 class LIBPROTOBUF_EXPORT FunctionClosure0 : public Closure { 838 class MethodClosure0 : public Closure { [all...] |
/external/valgrind/unittest/ |
thread_wrappers.h | 163 struct Closure { 185 static Closure *NewCallback(void (*f)()) { 186 Closure *res = new Closure; 195 Closure *NewCallback(void (*f)(P1), P1 p1) { 197 Closure *res = new Closure; 206 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { 209 Closure *res = new Closure; 273 Closure *closure = reinterpret_cast<Closure*>(pool->queue_.Get()); local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
heap-checker_unittest.cc | 173 class Closure { 175 virtual ~Closure() { } 179 class Callback0 : public Closure { 190 template <class P1> class Callback1 : public Closure { 202 template <class P1, class P2> class Callback2 : public Closure { 323 void (*volatile run_hidden_ptr)(Closure* c, int n); 326 static void DoRunHidden(Closure* c, int n) { 348 // This executes closure c several stack frames down from the current one 350 // the closure. 352 // of the closure execution on the stack and deciding tha [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
heap-checker_unittest.cc | 173 class Closure { 175 virtual ~Closure() { } 179 class Callback0 : public Closure { 190 template <class P1> class Callback1 : public Closure { 202 template <class P1, class P2> class Callback2 : public Closure { 323 void (*volatile run_hidden_ptr)(Closure* c, int n); 326 static void DoRunHidden(Closure* c, int n) { 348 // This executes closure c several stack frames down from the current one 350 // the closure. 352 // of the closure execution on the stack and deciding tha [all...] |
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 434 struct Closure { 456 Closure *NewCallback(void (*f)()) { 457 Closure *res = new Closure; 466 Closure *NewCallback(void (*f)(P1), P1 p1) { 468 Closure *res = new Closure; 477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { 479 Closure *res = new Closure; 543 Closure *closure = reinterpret_cast<Closure*>(pool->queue_.Get()); local [all...] |
/external/chromium_org/v8/src/ |
d8.js | 110 Closure: 3, [all...] |
mirror-debugger.js | 196 Closure: 3, [all...] |
/external/v8/src/ |
d8.js | 110 Closure: 3, [all...] |