Searched defs:Closure (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/base/
H A Dcallback_forward.h13 typedef Callback<void(void)> Closure; typedef in namespace:base
H A Dcallback.h18 // 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
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));
210 // base::Closure c
761 typedef Callback<void(void)> Closure; typedef in namespace:base
[all...]
/external/openfst/src/script/
H A Dclosure.cc24 void Closure(MutableFstClass *fst, ClosureType closure_type) { function in namespace:fst::script
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/
H A Dclosure.h30 void Closure(ClosureArgs *args) { function in namespace:fst::script
33 Closure(fst, args->arg2);
36 void Closure(MutableFstClass *ofst, ClosureType closure_type);
/external/chromium/base/
H A Dcallback.h52 // base::Closure void_func_cb = base::Bind(&PrintHi);
65 // base::Closure void_ref_cb = base::Bind(&Ref::PrintBye, ref.get());
85 // base::Closure void_no_ref_cb =
492 typedef Callback<void(void)> Closure; typedef in namespace:base
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-function-scopes.js49 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);
/external/chromium_org/v8/test/mjsunit/harmony/
H A Ddebug-function-scopes.js51 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);
114 CheckScope(mirror.scope(3), { v1:3, l0: 0, v3: 5, v6: 11 }, ScopeType.Closure);
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
H A Dcallback.h20 typedef ::base::Closure Closure; typedef in namespace:invalidation
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(
[all...]
/external/clang/test/Misc/
H A Ddiagnostic-crash.cpp9 class Closure { class
38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}}
/external/openfst/src/include/fst/
H A Dclosure.h46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { function in namespace:fst
76 void Closure(RationalFst<Arc> *fst, ClosureType closure_type) { function in namespace:fst
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dclosure.h39 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { function in namespace:fst
68 void Closure(RationalFst<Arc> *fst, ClosureType closure_type) { function in namespace:fst
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DFunctional.h623 typedef Function<void()> Closure; typedef in namespace:WTF
629 using WTF::Closure;
/external/valgrind/unittest/
H A Dthread_wrappers.h163 struct Closure { struct
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;
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc236 Closure::~Closure() {}
H A Dcommon.h810 // a Closure to call when the procedure completes. See the Service interface
813 // To automatically construct a Closure which calls a particular function or
823 // Closure* callback = NewCallback(&FooDone, response);
840 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
866 class LIBPROTOBUF_EXPORT Closure { class in namespace:google::protobuf
868 Closure() {} function in class:google::protobuf::Closure
869 virtual ~Closure();
874 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure);
879 class LIBPROTOBUF_EXPORT FunctionClosure0 : public Closure {
899 class MethodClosure0 : public Closure {
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc232 Closure::~Closure() {}
H A Dcommon.h750 // 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 { class in namespace:google::protobuf
808 Closure() {} function in class:google::protobuf::Closure
809 virtual ~Closure();
814 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Closure);
819 class LIBPROTOBUF_EXPORT FunctionClosure0 : public Closure {
838 class MethodClosure0 : public Closure {
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dheap-checker_unittest.cc173 class Closure { class
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) {
354 static void RunHidden(Closure* c) {
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dheap-checker_unittest.cc173 class Closure { class
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) {
354 static void RunHidden(Closure* c) {
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h434 struct Closure { struct
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;
[all...]
/external/chromium_org/v8/src/
H A Dd8.js110 Closure: 3,
1330 case Debug.ScopeType.Closure:
1331 result += 'Closure';
H A Dmirror-debugger.js196 Closure: 3,
1959 this.scopeType() == ScopeType.Closure;
/external/v8/src/
H A Dd8.js110 Closure: 3,
1688 case Debug.ScopeType.Closure:
1689 result += 'Closure';
H A Dmirror-debugger.js197 Closure: 3,
1795 this.scopeType() == ScopeType.Closure;

Completed in 5601 milliseconds