Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 2294) sorted by relevance

12345678910>>...92

/external/mesa3d/src/gallium/drivers/swr/
Dswr_fence_work.cpp36 struct swr_fence_work *work, *tmp; in swr_fence_do_work() local
38 if (fence->work.head.next) { in swr_fence_do_work()
39 work = fence->work.head.next; in swr_fence_do_work()
42 p_atomic_set(&fence->work.head.next, 0); in swr_fence_do_work()
43 p_atomic_set(&fence->work.tail, &fence->work.head); in swr_fence_do_work()
44 p_atomic_set(&fence->work.count, 0); in swr_fence_do_work()
47 tmp = work->next; in swr_fence_do_work()
48 work->callback(work); in swr_fence_do_work()
49 FREE(work); in swr_fence_do_work()
50 work = tmp; in swr_fence_do_work()
[all …]
/external/wpa_supplicant_8/src/crypto/
Ddes-internal.c320 u32 work, right, leftt; in desfunc() local
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; in desfunc()
327 right ^= work; in desfunc()
328 leftt ^= (work << 4); in desfunc()
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL; in desfunc()
331 right ^= work; in desfunc()
332 leftt ^= (work << 16); in desfunc()
334 work = ((right >> 2) ^ leftt) & 0x33333333L; in desfunc()
335 leftt ^= work; in desfunc()
336 right ^= (work << 2); in desfunc()
[all …]
/external/libvncserver/common/
Dd3des.c153 unsigned long work[2]; in rfbDes() local
155 scrunch(inblock, work); in rfbDes()
156 desfunc(work, KnL); in rfbDes()
157 unscrun(work, outblock); in rfbDes()
336 register unsigned long fval, work, right, leftt; in desfunc() local
341 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; in desfunc()
342 right ^= work; in desfunc()
343 leftt ^= (work << 4); in desfunc()
344 work = ((leftt >> 16) ^ right) & 0x0000ffffL; in desfunc()
345 right ^= work; in desfunc()
[all …]
/external/valgrind/coregrind/m_demangle/
Dcplus-dem.c78 #define CURRENT_DEMANGLING_STYLE work->options
171 #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI)
172 #define PRINT_ARG_TYPES (work -> options & DMGL_PARAMS)
362 #define SCOPE_STRING(work) ((work->options & DMGL_JAVA) ? "." : "::") argument
388 demangle_template_template_parm (struct work_stuff *work,
392 demangle_template (struct work_stuff *work, const char **, string *,
681 struct work_stuff work[1]; in cplus_demangle_opname() local
687 memset ((char *) work, 0, sizeof (work)); in cplus_demangle_opname()
688 work->options = options; in cplus_demangle_opname()
696 if (do_type (work, &tem, &type)) in cplus_demangle_opname()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java408 int work, right, left; in desFunc() local
420 work = ((left >>> 4) ^ right) & 0x0f0f0f0f; in desFunc()
421 right ^= work; in desFunc()
422 left ^= (work << 4); in desFunc()
423 work = ((left >>> 16) ^ right) & 0x0000ffff; in desFunc()
424 right ^= work; in desFunc()
425 left ^= (work << 16); in desFunc()
426 work = ((right >>> 2) ^ left) & 0x33333333; in desFunc()
427 left ^= work; in desFunc()
428 right ^= (work << 2); in desFunc()
[all …]
/external/fio/t/
Dread-to-pipe-async.c125 struct work_item *work; in find_seq() local
132 work = flist_entry(entry, struct work_item, list); in find_seq()
133 if (work->seq == seq) in find_seq()
134 return work; in find_seq()
219 static int write_work(struct work_item *work) in write_work() argument
225 ret = write(STDOUT_FILENO, work->buf, work->buf_size); in write_work()
227 assert(ret == work->buf_size); in write_work()
229 add_lat(&work->writer->s, utime_since(&s, &e), "write"); in write_work()
230 return work->seq + 1; in write_work()
242 struct work_item *work; in writer_fn() local
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
DPercentile.java275 double[] work; in evaluate() local
278 work = getDataRef(); in evaluate()
281 work = new double[length]; in evaluate()
282 System.arraycopy(values, begin, work, 0, length); in evaluate()
288 return select(work, pivotsHeap, 0); in evaluate()
291 return select(work, pivotsHeap, length - 1); in evaluate()
293 double lower = select(work, pivotsHeap, intPos - 1); in evaluate()
294 double upper = select(work, pivotsHeap, intPos); in evaluate()
309 private double select(final double[] work, final int[] pivotsHeap, final int k) { in select() argument
312 int end = work.length; in select()
[all …]
/external/clang/test/Analysis/
Dcxx-for-range.cpp4 extern void work();
9 work(); in testLoop()
10 work(); in testLoop()
13 work(); in testLoop()
14 work(); in testLoop()
39 work(); in testLoopOpaqueCollection()
40 work(); in testLoopOpaqueCollection()
43 work(); in testLoopOpaqueCollection()
44 work(); in testLoopOpaqueCollection()
74 work(); in testLoopOpaqueIterator()
[all …]
/external/compiler-rt/lib/asan/
Dasan_mac.cc237 void dispatch_async(dispatch_queue_t dq, void(^work)(void));
239 void(^work)(void));
241 void(^work)(void));
243 void(^work)(void));
244 void dispatch_source_set_event_handler(dispatch_source_t ds, void(^work)(void));
247 #define GET_ASAN_BLOCK(work) \ argument
253 work(); \
257 dispatch_queue_t dq, void(^work)(void)) {
259 GET_ASAN_BLOCK(work);
264 dispatch_group_t dg, dispatch_queue_t dq, void(^work)(void)) {
[all …]
/external/tremolo/Tremolo/
Dcodebook.c239 ogg_uint32_t *work; in _make_decode_table() local
249 s->dec_table=_ogg_malloc((s->entries*2+1)*sizeof(*work)); in _make_decode_table()
260 s->used_entries*2 > INT_MAX/((long) sizeof(*work)) - 1) return 1; in _make_decode_table()
262 work=calloc((s->entries*2+1),sizeof(*work)); in _make_decode_table()
263 if (!work) return 1; in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
276 (((work[i] & 0x80000000UL) >> 24) | work[i]); in _make_decode_table()
281 (((work[i] & 0x80000000UL) >> 16) | work[i]); in _make_decode_table()
293 if(work[i]&0x80000000UL){ in _make_decode_table()
294 if(work[i+1]&0x80000000UL){ in _make_decode_table()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_fence.c41 LIST_INITHEAD(&(*fence)->work); in nouveau_fence_new()
49 struct nouveau_fence_work *work, *tmp; in nouveau_fence_trigger_work() local
51 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) { in nouveau_fence_trigger_work()
52 work->func(work->data); in nouveau_fence_trigger_work()
53 LIST_DEL(&work->list); in nouveau_fence_trigger_work()
54 FREE(work); in nouveau_fence_trigger_work()
103 if (!LIST_IS_EMPTY(&fence->work)) { in nouveau_fence_del()
256 struct nouveau_fence_work *work; in nouveau_fence_work() local
263 work = CALLOC_STRUCT(nouveau_fence_work); in nouveau_fence_work()
264 if (!work) in nouveau_fence_work()
[all …]
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h15 typedef void (*work_func_t)(struct work_struct *work);
39 struct work_struct work; member
48 static inline bool schedule_work(struct work_struct *work) in schedule_work() argument
54 static inline bool schedule_work_on(int cpu, struct work_struct *work) in schedule_work_on() argument
61 struct work_struct *work) in queue_work() argument
81 #define INIT_DELAYED_WORK(w, f) INIT_WORK(&(w)->work, (f))
91 .work = __WORK_INITIALIZER((n).work, (f)), \
/external/eigen/Eigen/src/misc/
Dlapacke.h2250 lapack_int ldc, float* work );
2253 lapack_int ldc, double* work );
2257 lapack_int ldc, lapack_complex_float* work );
2261 lapack_int ldc, lapack_complex_double* work );
4477 float* q, lapack_int* iq, float* work,
4482 double* q, lapack_int* iq, double* work,
4489 lapack_int ldc, float* work );
4494 double* c, lapack_int ldc, double* work );
4500 lapack_int ldc, float* work );
4506 lapack_int ldc, double* work );
[all …]
/external/skia/src/core/
DSkExecutor.cpp34 void add(std::function<void(void)> work) override { in add() argument
35 work(); in add()
70 virtual void add(std::function<void(void)> work) override { in add() argument
74 fWork.emplace_back(std::move(work)); in add()
90 std::function<void(void)> work; in do_work() local
94 work = std::move(fWork.back()); in do_work()
98 if (!work) { in do_work()
102 work(); in do_work()
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dio_service.hpp110 inline io_service::work::work(asio::io_service& io_service) in work() function in asio::io_service::work
116 inline io_service::work::work(const work& other) in work() function in asio::io_service::work
122 inline io_service::work::~work() in ~work()
127 inline asio::io_service& io_service::work::get_io_service() in get_io_service()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend.cpp455 …NTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DESC &work, RenderOutputBuffer… in BackendSingleSample() argument
465 SetupBarycentricCoeffs(&coeffs, work); in BackendSingleSample()
471 SetupPixelShaderContext<T>(&psContext, work); in BackendSingleSample()
493 simdmask coverageMask = work.coverageMask[0] & MASK; in BackendSingleSample()
511 …::InputCoverage == SWR_INPUT_COVERAGE_INNER_CONSERVATIVE) ? &work.innerCoverageMask : &work.covera… in BackendSingleSample()
520 … CalcCentroid<T, true>(&psContext, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
531 …coverageMask &= ~ComputeUserClipMask(state.rastState.clipDistanceMask, work.pUserClipBuffer, psCon… in BackendSingleSample()
542 … depthPassMask = DepthStencilTest(&state, work.triFlags.frontFacing, work.triFlags.viewportIndex, in BackendSingleSample()
550 …DepthStencilWrite(&state.vp[work.triFlags.viewportIndex], &state.depthStencilState, work.triFlags.… in BackendSingleSample()
575 … depthPassMask = DepthStencilTest(&state, work.triFlags.frontFacing, work.triFlags.viewportIndex, in BackendSingleSample()
[all …]
Dfrontend.cpp64 BE_WORK work; in ProcessSync() local
65 work.type = SYNC; in ProcessSync()
66 work.pfnWork = ProcessSyncBE; in ProcessSync()
69 pTileMgr->enqueue(0, 0, &work); in ProcessSync()
84 BE_WORK work; in ProcessShutdown() local
85 work.type = SHUTDOWN; in ProcessShutdown()
86 work.pfnWork = ProcessShutdownBE; in ProcessShutdown()
97 pTileMgr->enqueue(i, n, &work); in ProcessShutdown()
125 BE_WORK work; in ProcessClear() local
126 work.type = CLEAR; in ProcessClear()
[all …]
/external/zlib/src/
Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
38 unsigned short FAR *work;
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[sym]]);
225 here.val = base[work[sym]];
256 len = lens[work[sym]];
/external/python/cpython2/Modules/zlib/
Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
38 unsigned short FAR *work;
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[sym]]);
225 here.val = base[work[sym]];
256 len = lens[work[sym]];
/external/python/cpython2/Demo/pysvr/
Dpysvr.c187 struct workorder *work; in create_thread() local
190 work = malloc(sizeof(struct workorder)); in create_thread()
191 if (work == NULL) { in create_thread()
197 work->conn = conn; in create_thread()
198 work->addr = *addr; in create_thread()
202 if (pthread_create(&tdata, NULL, (void *)service_thread, work) < 0) { in create_thread()
230 service_thread(struct workorder *work) in service_thread() argument
234 fprintf(stderr, "Start thread for connection %d.\n", work->conn); in service_thread()
238 input = fdopen(work->conn, "r"); in service_thread()
245 output = fdopen(work->conn, "w"); in service_thread()
[all …]
/external/python/cpython2/Demo/threads/
Dfind.py48 self.work = []
54 self.work.append(job)
56 if len(self.work) == 1:
62 if self.busy == 0 and len(self.work) == 0:
66 job = self.work[0]
67 del self.work[0]
70 if len(self.work) > 0:
77 if self.busy == 0 and len(self.work) == 0:
92 if not self.work:
/external/zlib/src/contrib/infback9/
Dinftree9.c32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument
38 unsigned short FAR *work;
141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
177 base = extra = work; /* dummy value--not used */
213 if ((int)(work[sym]) < end) {
215 this.val = work[sym];
217 else if ((int)(work[sym]) > end) {
218 this.op = (unsigned char)(extra[work[sym]]);
219 this.val = base[work[sym]];
249 len = lens[work[sym]];
/external/syslinux/com32/lib/zlib/
Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
38 unsigned short FAR *work;
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[sym]]);
225 here.val = base[work[sym]];
256 len = lens[work[sym]];
/external/dnsmasq/
DCOPYING-v319 any other work released this way by its authors. You can apply it to
80 "The Program" refers to any copyrightable work licensed under this
84 To "modify" a work means to copy from or adapt all or part of the work
86 exact copy. The resulting work is called a "modified version" of the
87 earlier work or a work "based on" the earlier work.
89 A "covered work" means either the unmodified Program or a work based
92 To "propagate" a work means to do anything with it that, without
99 To "convey" a work means any kind of propagation that enables other
106 tells the user that there is no warranty for the work (except to the
108 work under this License, and how to view a copy of this License. If
[all …]
/external/elfutils/
DCOPYING19 any other work released this way by its authors. You can apply it to
80 "The Program" refers to any copyrightable work licensed under this
84 To "modify" a work means to copy from or adapt all or part of the work
86 exact copy. The resulting work is called a "modified version" of the
87 earlier work or a work "based on" the earlier work.
89 A "covered work" means either the unmodified Program or a work based
92 To "propagate" a work means to do anything with it that, without
99 To "convey" a work means any kind of propagation that enables other
106 tells the user that there is no warranty for the work (except to the
108 work under this License, and how to view a copy of this License. If
[all …]

12345678910>>...92