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

123

/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/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/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/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();
H A Dsimple_thread.h140 // convenient when you have a lot of small work that you want done
141 // multi-threaded, but don't want to spawn a thread for each small bit of work.
143 // You just call AddWork() to add a delegate to the list of work to be done.
144 // JoinAll() will make sure that all outstanding work is processed, and wait
155 // Start up all of the underlying threads, and start processing work if we
159 // Make sure all outstanding work is finished, and wait for and destroy all
165 void AddWork(Delegate* work, int repeat_count);
166 void AddWork(Delegate* work) { argument
167 AddWork(work, 1);
179 WaitableEvent dry_; // Not signaled when there is no work t
[all...]
/external/libppp/src/
H A Dvjcomp.c3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
119 u_char work[MAX_HDR + MAX_VJHEADER]; /* enough to hold TCP/IP header */ local
140 * Handle compressed packet. 1) Read upto MAX_VJHEADER bytes into work
147 bufp = work + MAX_HDR;
/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;
H A Dblock.c419 float *work=alloca(v->pcm_current*sizeof(*work)); local
427 work[j]=v->pcm[i][v->pcm_current-j-1];
430 vorbis_lpc_from_data(work,lpc,v->pcm_current-v->centerW,order);
435 _analysis_output("predataL",0,work,v->pcm_current-v->centerW,0,0,0);
437 _analysis_output("predataR",0,work,v->pcm_current-v->centerW,0,0,0);
439 _analysis_output("predata",0,work,v->pcm_current-v->centerW,0,0,0);
444 vorbis_lpc_predict(lpc,work+v->pcm_current-v->centerW-order,
446 work+v->pcm_current-v->centerW,
450 v->pcm[i][v->pcm_current-j-1]=work[
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DNFAToDFAConverter.java43 protected List work = new LinkedList(); field in class:NFAToDFAConverter
83 while ( work.size()>0 &&
86 DFAState d = (DFAState) work.get(0);
112 work.remove(0); // done with it; remove from work list
191 work.add(startState);
202 //System.out.println("work on DFA state "+d);
240 return; // no more work to do on this accept state
378 * Clearly, alt 3 is predicted with extra work since it tests 0..7
940 * becomes a stop state; don't add to work lis
[all...]
/external/dropbear/libtomcrypt/src/ciphers/
H A Ddes.c1407 ulong32 work, right, leftt; local
1414 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
1415 right ^= work;
1416 leftt ^= (work << 4);
1418 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
1419 right ^= work;
1420 leftt ^= (work << 16);
1422 work = ((right >> 2) ^ leftt) & 0x33333333L;
1423 leftt ^= work;
1424 right ^= (work <<
1637 ulong32 work[2]; local
1661 ulong32 work[2]; local
[all...]
/external/libsepol/src/
H A Davtab.c305 uint32_t work = nrules; local
311 while (work) {
312 work = work >> 1;
/external/qemu/
H A Dd3des.c144 unsigned long work[2]; local
146 scrunch(inblock, work);
147 desfunc(work, KnL);
148 unscrun(work, outblock);
324 register unsigned long fval, work, right, leftt; local
329 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
330 right ^= work;
331 leftt ^= (work << 4);
332 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
333 right ^= work;
[all...]
/external/qemu/distrib/zlib-1.2.3/
H A Dinflate.h113 unsigned short work[288]; /* work area for code table building */ member in struct:inflate_state
/external/webp/src/utils/
H A Drescaler.c28 int y_add, int y_sub, int32_t* const work) {
48 wrk->irow = work;
49 wrk->frow = work + num_channels * dst_width;
25 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Ddes.c328 u32 work, right, leftt; local
334 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
335 right ^= work;
336 leftt ^= (work << 4);
338 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
339 right ^= work;
340 leftt ^= (work << 16);
342 work = ((right >> 2) ^ leftt) & 0x33333333L;
343 leftt ^= work;
344 right ^= (work <<
411 u32 ek[32], work[2]; local
454 u32 work[2]; local
468 u32 work[2]; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Ddes-internal.c320 u32 work, right, leftt; local
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
327 right ^= work;
328 leftt ^= (work << 4);
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
331 right ^= work;
332 leftt ^= (work << 16);
334 work = ((right >> 2) ^ leftt) & 0x33333333L;
335 leftt ^= work;
336 right ^= (work <<
403 u32 ek[32], work[2]; local
436 u32 work[2]; local
447 u32 work[2]; local
470 u32 work[2]; local
484 u32 work[2]; local
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Ddes-internal.c320 u32 work, right, leftt; local
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
327 right ^= work;
328 leftt ^= (work << 4);
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
331 right ^= work;
332 leftt ^= (work << 16);
334 work = ((right >> 2) ^ leftt) & 0x33333333L;
335 leftt ^= work;
336 right ^= (work <<
403 u32 ek[32], work[2]; local
436 u32 work[2]; local
447 u32 work[2]; local
470 u32 work[2]; local
484 u32 work[2]; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Ddes-internal.c320 u32 work, right, leftt; local
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL;
327 right ^= work;
328 leftt ^= (work << 4);
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL;
331 right ^= work;
332 leftt ^= (work << 16);
334 work = ((right >> 2) ^ leftt) & 0x33333333L;
335 leftt ^= work;
336 right ^= (work <<
403 u32 ek[32], work[2]; local
436 u32 work[2]; local
447 u32 work[2]; local
470 u32 work[2]; local
484 u32 work[2]; local
[all...]

Completed in 6458 milliseconds

123