Searched defs:NewCallback (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/extensions/browser/
H A Dfile_reader_unittest.cc37 FileReader::Callback NewCallback() { function in class:extensions::Receiver
69 new FileReader(resource, receiver.NewCallback()));
97 new FileReader(resource, receiver.NewCallback()));
/external/clang/test/Misc/
H A Ddiagnostic-crash.cpp28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {} function
38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}}
/external/chromium_org/content/renderer/
H A Dresource_fetcher_browsertest.cc52 ResourceFetcher::Callback NewCallback() { function in class:content::FetcherDelegate
157 delegate->NewCallback());
176 delegate->NewCallback());
196 delegate->NewCallback());
217 delegate->NewCallback());
239 delegate->NewCallback());
260 delegate->NewCallback());
280 delegate->NewCallback());
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory.h65 /// pp::CompletionCallback cc = factory_.NewCallback(&MyClass::DidOpen);
99 /// pp::CompletionCallback cc = factory_.NewCallback(&MyClass::DidOpen,
249 /// NewCallback allocates a new, single-use <code>CompletionCallback</code>.
258 CompletionCallback NewCallback(Method method) { function in class:pp::CompletionCallbackFactory
275 CompletionCallback cc = NewCallback(method);
299 /// NewCallback() allocates a new, single-use <code>CompletionCallback</code>.
312 CompletionCallback NewCallback(Method method, const A& a) { function in class:pp::CompletionCallbackFactory
333 CompletionCallback cc = NewCallback(method, a);
362 /// NewCallback() allocates a new, single-use
378 CompletionCallback NewCallback(Metho function in class:pp::CompletionCallbackFactory
458 CompletionCallback NewCallback(Method method, const A& a, const B& b, function in class:pp::CompletionCallbackFactory
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.h813 // method with a particular set of parameters, use the NewCallback() function.
822 // Closure* callback = NewCallback(&FooDone, response);
839 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
845 // Currently NewCallback() supports binding zero, one, or two arguments.
847 // Callbacks created with NewCallback() automatically delete themselves when
854 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
858 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
859 // NewCallback(&Foo, string("foo")); // WORKS
863 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
1017 inline Closure* NewCallback(voi function in namespace:google::protobuf
1028 inline Closure* NewCallback(Class* object, void (Class::*method)()) { function in namespace:google::protobuf
1040 inline Closure* NewCallback(void (*function)(Arg1), function in namespace:google::protobuf
1054 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), function in namespace:google::protobuf
1068 inline Closure* NewCallback(void (*function)(Arg1, Arg2), function in namespace:google::protobuf
1084 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), function in namespace:google::protobuf
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h754 // method with a particular set of parameters, use the NewCallback() function.
763 // Closure* callback = NewCallback(&FooDone, response);
780 // Closure* callback = NewCallback(this, &Handler::FooDone, response);
786 // Currently NewCallback() supports binding zero, one, or two arguments.
788 // Callbacks created with NewCallback() automatically delete themselves when
795 // Note that NewCallback() is a bit touchy regarding argument types. Generally,
799 // NewCallback(&Foo, "foo"); // WON'T WORK: const char* != string
800 // NewCallback(&Foo, string("foo")); // WORKS
804 // NewCallback(&Foo, my_str); // WON'T WORK: Can't use referecnes.
952 inline Closure* NewCallback(voi function in namespace:google::protobuf
963 inline Closure* NewCallback(Class* object, void (Class::*method)()) { function in namespace:google::protobuf
975 inline Closure* NewCallback(void (*function)(Arg1), function in namespace:google::protobuf
989 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1), function in namespace:google::protobuf
1003 inline Closure* NewCallback(void (*function)(Arg1, Arg2), function in namespace:google::protobuf
1019 inline Closure* NewCallback(Class* object, void (Class::*method)(Arg1, Arg2), function in namespace:google::protobuf
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h456 Closure *NewCallback(void (*f)()) { function
466 Closure *NewCallback(void (*f)(P1), P1 p1) { function
477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) { function
492 pool.Add(NewCallback(func_with_no_args));
493 pool.Add(NewCallback(func_with_one_arg, arg));
494 pool.Add(NewCallback(func_with_two_args, arg1, arg2));
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dheap-checker_unittest.cc215 inline Callback0* NewCallback(void (*function)()) { function
220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { function
225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { function
369 RunHidden(NewCallback(DoAllocHidden, size, &r));
382 RunHidden(NewCallback(DoDeAllocHidden, ptr));
477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2));
739 RunHidden(NewCallback(DoTestSTLAlloc));
766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x));
781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x));
1381 RunHidden(NewCallback(MakeALea
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dheap-checker_unittest.cc215 inline Callback0* NewCallback(void (*function)()) { function
220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { function
225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { function
369 RunHidden(NewCallback(DoAllocHidden, size, &r));
382 RunHidden(NewCallback(DoDeAllocHidden, ptr));
477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2));
739 RunHidden(NewCallback(DoTestSTLAlloc));
766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x));
781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x));
1381 RunHidden(NewCallback(MakeALea
[all...]

Completed in 315 milliseconds