HomeSort by relevance Sort by last modified time
    Searched refs:Closure (Results 1 - 25 of 615) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libchrome/base/
callback_helpers.cc 13 ScopedClosureRunner::ScopedClosureRunner(const Closure& closure)
14 : closure_(closure) {}
31 Closure old_closure = Release();
36 void ScopedClosureRunner::ReplaceClosure(const Closure& closure) {
37 closure_ = closure;
40 Closure ScopedClosureRunner::Release() {
41 Closure result = closure_;
callback_helpers.h 34 // that the Closure is executed no matter how the current scope exits.
38 explicit ScopedClosureRunner(const Closure& closure);
43 // Releases the current closure if it's set and replaces it with the closure
47 // Calls the current closure and resets it, so it wont be called again.
50 // Replaces closure with the new one releasing the old one without calling it.
51 void ReplaceClosure(const Closure& closure);
53 // Releases the Closure without calling
    [all...]
at_exit.h 46 static void RegisterTask(base::Closure task);
65 std::stack<base::Closure> stack_;
run_loop.h 65 // Convenience methods to get a closure that safely calls Quit() or
72 base::Closure QuitClosure();
73 base::Closure QuitWhenIdleClosure();
  /frameworks/rs/
rsScriptGroup2.h 11 class Closure;
17 Closure** closures, size_t numClosures) :
25 List<Closure*> mClosures;
rsClosure.h 20 class Closure : public ObjectBase {
22 Closure(Context* context,
29 const Closure** depClosures,
31 Closure(Context* context,
40 virtual ~Closure();
56 // Flag indicating if this closure is for a kernel (true) or invocable
71 // All the other closures which this closure depends on for one of its
73 Map<const Closure*, Map<int, ObjectBaseRef<ScriptFieldID>>*> mArgDeps;
75 // All the other closures that this closure depends on for one of its fields,
77 Map<const Closure*, Map<const ScriptFieldID*
    [all...]
rsClosure.cpp 23 Closure* c = new Closure(
26 sizes, (const Closure**)depClosures,
38 Closure* c = new Closure(
46 void rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index,
48 ((Closure*)closure)->setArg(index, (const void*)value, size);
51 void rsi_ClosureSetGlobal(Context* rsc, RsClosure closure,
54 ((Closure*)closure)->setGlobal((const ScriptFieldID*)fieldID
    [all...]
  /external/libchrome/base/files/
file_descriptor_watcher_posix.h 40 Controller(MessageLoopForIO::Mode mode, int fd, const Closure& callback);
50 Closure callback_;
89 const Closure& callback);
91 const Closure& callback);
important_file_writer.h 105 const Closure& before_next_write_callback,
114 Closure before_next_write_callback_;
  /external/libmojo/mojo/public/cpp/bindings/tests/
router_test_util.h 29 const base::Closure& closure = base::Closure());
36 base::Closure closure_;
57 const base::Closure& closure = base::Closure());
68 void set_closure(const base::Closure& closure) { closure_ = closure; }
    [all...]
  /external/libchrome/base/timer/
mock_timer.h 17 const base::Closure& user_task,
26 const base::Closure& user_task) override;
34 base::Closure user_task_;
mock_timer.cc 16 const base::Closure& user_task,
36 const base::Closure& user_task) {
55 base::Closure old_task = user_task_;
  /external/libbrillo/brillo/message_loops/
message_loop.h 45 // Schedule a Closure |task| to be executed after a |delay|. Returns a task
53 const base::Closure& task,
56 TaskId PostDelayedTask(const base::Closure& task, base::TimeDelta delay) {
62 TaskId PostTask(const base::Closure& task) {
66 const base::Closure& task) {
77 // passed in |mode| without blocking. When that happens, the |task| closure
87 const base::Closure& task) = 0;
93 const base::Closure& task) {
base_message_loop.h 43 const base::Closure& task,
50 const base::Closure& task) override;
59 base::Closure QuitClosure() const;
92 base::Closure closure; member in struct:brillo::BaseMessageLoop::DelayedTask
103 const base::Closure& task);
120 // Sets the closure to be run immediately whenever the file descriptor
135 base::Closure closure_;
  /external/libchrome/base/test/
sequenced_worker_pool_owner.h 45 void SetWillWaitForShutdownCallback(const Closure& callback);
61 Closure will_wait_for_shutdown_callback_;
sequenced_worker_pool_owner.cc 37 const Closure& callback) {
56 will_wait_for_shutdown_callback_ = Closure();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lundump.h 14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
lfunc.h 22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
  /external/syslinux/com32/lua/src/
lundump.h 14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
  /frameworks/rs/cpu_ref/
rsCpuScriptGroup2.h 12 class Closure;
24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) :
25 mClosure(closure), mSi(si), mFunc(func) {}
27 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si) :
28 mClosure(closure), mSi(si), mFunc(nullptr) {}
32 const Closure* mClosure;
44 // Returns true if closure depends on any closure in this batch for a globa
    [all...]
  /system/bt/bta/include/
bta_closure_api.h 29 * This method post a closure for execution on bta thread. Please see
36 const base::Closure& task);
  /external/libchrome/base/task/
cancelable_task_tracker.cc 22 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) {
28 const Closure& task,
29 const Closure& untrack) {
39 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) {
40 closure.Run();
44 void RunOrPostToTaskRunner(TaskRunner* task_runner, const Closure& closure) {
46 closure.Run();
48 task_runner->PostTask(FROM_HERE, closure);
    [all...]
  /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);
  /system/update_engine/common/
http_fetcher.cc 21 using base::Closure;
47 const Closure& callback) {
48 CHECK_EQ(static_cast<Closure*>(nullptr), callback_.get());
49 callback_.reset(new Closure(callback));
73 Closure* callback = callback_.release();
  /external/libbrillo/brillo/dbus/
dbus_service_watcher.h 34 const base::Closure& on_connection_vanish);
44 base::Closure on_connection_vanish_;

Completed in 1121 milliseconds

1 2 3 4 5 6 7 8 91011>>