Searched defs:work (Results 1 - 25 of 106) sorted by relevance

12345

/external/chromium/chrome/browser/sync/glue/
H A Ddatabase_model_worker.cc14 void DatabaseModelWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { argument
17 work->Run();
23 work, &done))) {
30 void DatabaseModelWorker::CallDoWorkAndSignalTask(Callback0::Type* work, argument
33 work->Run();
H A Dpassword_model_worker.cc24 void PasswordModelWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { argument
28 work, &done));
32 void PasswordModelWorker::CallDoWorkAndSignalTask(Callback0::Type* work, argument
34 work->Run();
H A Dui_model_worker.cc14 void UIModelWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { argument
18 // This is fine, the work will get scheduled and run normally or run by our
26 work->Run();
38 pending_work_ = new CallDoWorkAndSignalTask(work, &work_done, this);
40 LOG(WARNING) << "Could not post work to UI loop.";
46 syncapi_event_.Signal(); // Notify that the syncapi produced work for us.
H A Dhistory_model_worker.cc19 WorkerTask(Callback0::Type* work, WaitableEvent* done) argument
20 : work_(work), done_(done) {}
46 void HistoryModelWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { argument
48 scoped_refptr<WorkerTask> task(new WorkerTask(work, &done));
H A Dui_model_worker.h24 // A ModelSafeWorker for UI models (e.g. bookmarks) that accepts work requests
40 CallDoWorkAndSignalTask(Callback0::Type* work, argument
43 : work_(work), work_done_(work_done), scheduler_(scheduler) {
51 // Task data - a closure and a waitable event to signal after the work has
65 // processed and that syncapi will not schedule any further work for us to do.
69 virtual void DoWorkAndWaitUntilDone(Callback0::Type* work);
74 // assume no work will ever be scheduled again from now on. If it has any work
95 // We have come to a complete stop, no scheduled work remains, and no work
[all...]
/external/clang/test/CodeGen/
H A D2003-11-01-C99-CompoundLiteral.c6 struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, }; local
/external/chromium_org/sync/test/engine/
H A Dfake_model_worker.cc26 const WorkCallback& work) {
28 // Simply do the work on the current thread.
29 return work.Run();
25 DoWorkAndWaitUntilDoneImpl( const WorkCallback& work) argument
/external/ceres-solver/internal/ceres/
H A Dlapack.cc58 double* work,
102 double work;
112 &work,
117 return work;
125 double* work,
148 work,
121 SolveUsingQR(int num_rows, int num_cols, const double* in_lhs, int work_size, double* work, double* rhs_and_solution) argument
/external/chromium/chrome/browser/sync/engine/
H A Dmodel_safe_worker.cc45 void ModelSafeWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { argument
46 work->Run(); // For GROUP_PASSIVE, we do the work on the current thread.
54 // The passive group is not the work thread for any browser model.
/external/chromium_org/chrome/browser/sync/glue/
H A Dpassword_model_worker.cc32 const syncer::WorkCallback& work) {
43 this, work, work_done_or_stopped(), &error));
60 const syncer::WorkCallback& work,
63 *error = work.Run();
31 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
59 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError *error) argument
H A Dui_model_worker.cc22 void CallDoWorkAndSignalCallback(const syncer::WorkCallback& work, argument
25 if (work.is_null()) {
37 *error_info = work.Run();
55 const syncer::WorkCallback& work) {
60 return work.Run();
66 work, work_done_or_stopped(), &error_info))) {
67 DLOG(WARNING) << "Could not post work to UI loop.";
54 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
H A Dbrowser_thread_model_worker.cc24 const syncer::WorkCallback& work) {
28 return work.Run();
35 this, work,
63 const syncer::WorkCallback& work,
68 *error = work.Run();
78 const syncer::WorkCallback& work,
81 BrowserThreadModelWorker::CallDoWorkAndSignalTask(work, done, error);
93 const syncer::WorkCallback& work,
96 BrowserThreadModelWorker::CallDoWorkAndSignalTask(work, done, error);
23 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
62 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
77 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
92 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
H A Dhistory_model_worker.cc20 const syncer::WorkCallback& work,
23 : work_(work), done_(done), error_(error) {}
65 // Post the work task on |history_service|'s DB thread from the UI
68 const syncer::WorkCallback& work,
74 scoped_refptr<WorkerTask> task(new WorkerTask(work, done, error));
106 const syncer::WorkCallback& work) {
110 work, &cancelable_consumer_,
19 WorkerTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
67 PostWorkerTask(const base::WeakPtr<HistoryService>& history_service, const syncer::WorkCallback& work, CancelableRequestConsumerT<int, 0>* cancelable_consumer, WaitableEvent* done, syncer::SyncerError* error) argument
105 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
/external/chromium_org/sync/internal_api/public/engine/
H A Dpassive_model_worker.cc26 const WorkCallback& work) {
28 // Simply do the work on the current thread.
29 return work.Run();
25 DoWorkAndWaitUntilDoneImpl( const WorkCallback& work) argument
H A Dmodel_safe_worker.cc94 SyncerError ModelSafeWorker::DoWorkAndWaitUntilDone(const WorkCallback& work) { argument
103 return DoWorkAndWaitUntilDoneImpl(work);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_fence.h26 struct list_head work; member in struct:nouveau_fence
H A Dnouveau_fence.c43 LIST_INITHEAD(&(*fence)->work);
54 struct nouveau_fence_work *work, *tmp; local
56 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) {
57 work->func(work->data);
58 LIST_DEL(&work->list);
59 FREE(work);
67 struct nouveau_fence_work *work; local
74 work
[all...]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp12.cpp64 void work(int n) { // expected-note{{declared here}} function in struct:s1
/external/kernel-headers/original/linux/
H A Dworkqueue.h2 * workqueue.h --- work queue handling for Linux.
24 struct work_struct work; member in struct:execute_work
38 * initialize a work-struct's func and data pointers:
47 * initialize all of a work-struct:
64 extern int FASTCALL(queue_work(struct workqueue_struct *wq, struct work_struct *work));
65 extern int FASTCALL(queue_delayed_work(struct workqueue_struct *wq, struct work_struct *work, unsigned long delay));
67 struct work_struct *work, unsigned long delay);
70 extern int FASTCALL(schedule_work(struct work_struct *work));
71 extern int FASTCALL(schedule_delayed_work(struct work_struct *work, unsigned long delay));
73 extern int schedule_delayed_work_on(int cpu, struct work_struct *work, unsigne
91 cancel_delayed_work(struct work_struct *work) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_fence.h26 struct list_head work; member in struct:nouveau_fence
/external/zlib/src/contrib/infback9/
H A Dinflate9.h45 unsigned short work[288]; /* work area for code table building */ member in struct:inflate_state
/external/chromium/base/threading/
H A Dsimple_thread.cc120 // If we were empty, signal that we have work now.
126 Delegate* work = NULL; local
136 work = delegates_.front();
139 // Signal to any other threads that we're currently out of work.
145 if (!work)
148 work->Run();
/external/chromium_org/base/threading/
H A Dsimple_thread.cc127 // If we were empty, signal that we have work now.
133 Delegate* work = NULL; local
143 work = delegates_.front();
146 // Signal to any other threads that we're currently out of work.
152 if (!work)
155 work->Run();
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dthread_pool.cc17 // num_threads, all work will be performed on the dispatch thread.
54 // Setup work parameters. This function is called from the dispatch thread,
56 void ThreadPool::Setup(int counter, WorkFunction work, void *data) { argument
58 user_work_function_ = work;
81 // Main work loop - one for each worker thread.
84 // Wait for work. If no work is availble, this thread will sleep here.
88 // Grab a task index to work on from the counter.
94 // Post to dispatch thread work is done.
106 // Note: This function will block until all work ha
107 DispatchMany(int num_tasks, WorkFunction work, void* data) argument
124 DispatchHere(int num_tasks, WorkFunction work, void* data) argument
132 Dispatch(int num_tasks, WorkFunction work, void* data) argument
[all...]
/external/chromium_org/tools/gn/
H A Dscheduler.cc91 void Scheduler::ScheduleWork(const base::Closure& work) { argument
95 base::Unretained(this), work),

Completed in 1114 milliseconds

12345