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

12345

/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.cc61 double* work,
123 double work;
133 &work,
143 return static_cast<int>(work);
152 double* work,
176 work,
147 SolveInPlaceUsingQR( int num_rows, int num_cols, const double* in_lhs, int work_size, double* work, double* rhs_and_solution, string* message) argument
/external/chromium_org/chrome/browser/sync/glue/
H A Dpassword_model_worker.cc31 const syncer::WorkCallback& work) {
42 this, work, work_done_or_stopped(), &error));
59 const syncer::WorkCallback& work,
62 *error = work.Run();
30 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
58 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();
54 const syncer::WorkCallback& work) {
59 return work.Run();
65 work, work_done_or_stopped(), &error_info))) {
66 DLOG(WARNING) << "Could not post work to UI loop.";
53 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
H A Dbrowser_thread_model_worker.cc24 const syncer::WorkCallback& work) {
28 return work.Run();
35 this, work,
62 const syncer::WorkCallback& work,
67 *error = work.Run();
77 const syncer::WorkCallback& work,
80 BrowserThreadModelWorker::CallDoWorkAndSignalTask(work, done, error);
92 const syncer::WorkCallback& work,
95 BrowserThreadModelWorker::CallDoWorkAndSignalTask(work, done, error);
23 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
61 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
76 CallDoWorkAndSignalTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
91 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_ptr<history::HistoryDBTask> task(new WorkerTask(work, done, error));
107 const syncer::WorkCallback& work) {
113 work,
19 WorkerTask( const syncer::WorkCallback& work, WaitableEvent* done, syncer::SyncerError* error) argument
67 PostWorkerTask(const base::WeakPtr<HistoryService>& history_service, const syncer::WorkCallback& work, base::CancelableTaskTracker* cancelable_tracker, WaitableEvent* done, syncer::SyncerError* error) argument
106 DoWorkAndWaitUntilDoneImpl( const syncer::WorkCallback& work) argument
/external/chromium_org/sync/internal_api/public/engine/
H A Dpassive_model_worker.cc25 const WorkCallback& work) {
27 // Simply do the work on the current thread.
28 return work.Run();
24 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/mesa3d/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/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_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();
H A Dsimple_thread.h146 // convenient when you have a lot of small work that you want done
147 // multi-threaded, but don't want to spawn a thread for each small bit of work.
149 // You just call AddWork() to add a delegate to the list of work to be done.
150 // JoinAll() will make sure that all outstanding work is processed, and wait
161 // Start up all of the underlying threads, and start processing work if we
165 // Make sure all outstanding work is finished, and wait for and destroy all
171 void AddWork(Delegate* work, int repeat_count);
172 void AddWork(Delegate* work) { argument
173 AddWork(work, 1);
185 WaitableEvent dry_; // Not signaled when there is no work t
[all...]
/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),
/external/libvorbis/lib/
H A Dlpc.c142 float *work=alloca(sizeof(*work)*(m+n)); local
146 work[i]=0.f;
149 work[i]=prime[i];
156 y-=work[o++]*coeff[--p];
158 data[i]=work[o]=y;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/stream/
H A Dstream_fs.cc15 StreamFs::Work* work = static_cast<StreamFs::Work*>(work_ptr); local
18 if (!work->Start(val))
19 delete work;
23 StreamFs::Work* work = static_cast<StreamFs::Work*>(work_ptr); local
25 work->Run(val);
26 delete work;
35 // All work is done via completions callbacks from posted work.
49 PP_CompletionCallback StreamFs::GetStartCompletion(Work* work) { argument
50 return PP_MakeCompletionCallback(DispatchStart, work);
53 GetRunCompletion(Work* work) argument
58 EnqueueWork(Work* work) argument
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_rescale.c178 int32_t* const work,
187 work);
188 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work));
212 int32_t* work; local
234 work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work));
235 if (work == NULL) {
243 tmp.a, width, height, tmp.a_stride, work, 1);
250 tmp.y, width, height, tmp.y_stride, work,
174 RescalePlane(const uint8_t* src, int src_width, int src_height, int src_stride, uint8_t* dst, int dst_width, int dst_height, int dst_stride, int32_t* const work, int num_channels) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkTaskGroup.cpp33 if (!gGlobal) { // If we have no threads, the work must already be done.
39 Work work; local
43 // Someone has picked up all the work (including ours). How nice of them!
47 gGlobal->fWork.pop(&work);
51 work.task->run();
52 sk_atomic_dec(work.pending); // Release pairs with the sk_acquire_load() just above.
94 Work work = { task, pending }; local
98 fWork.push(work);
105 Work work; local
115 pool->fWork.pop(&work);
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_inftrees.c23 whose indices are 0..2^bits-1. work is a writable array of at least
24 lens shorts, which is used as a work area. type is the type of code
38 unsigned short FAR *work)
96 table. The sorted table is work[], with that space being provided by
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
183 base = extra = work; /* dummy value--not used */
219 if ((int)(work[sym]) < end) {
221 here.val = work[sym];
223 else if ((int)(work[sym]) > end) {
224 here.op = (unsigned char)(extra[work[sy
32 inflate_table( codetype type, unsigned short FAR *lens, unsigned codes, code FAR * FAR *table, unsigned FAR *bits, unsigned short FAR *work) argument
[all...]
/external/webp/src/enc/
H A Dpicture_rescale.c178 int32_t* const work,
187 work);
188 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work));
212 int32_t* work; local
234 work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work));
235 if (work == NULL) {
243 tmp.a, width, height, tmp.a_stride, work, 1);
250 tmp.y, width, height, tmp.y_stride, work,
174 RescalePlane(const uint8_t* src, int src_width, int src_height, int src_stride, uint8_t* dst, int dst_width, int dst_height, int dst_stride, int32_t* const work, int num_channels) argument
[all...]

Completed in 475 milliseconds

12345