Home
last modified time | relevance | path

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

12345678910>>...144

/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java409 int work, right, left; in desFunc() local
414 work = ((left >>> 4) ^ right) & 0x0f0f0f0f; in desFunc()
415 right ^= work; in desFunc()
416 left ^= (work << 4); in desFunc()
417 work = ((left >>> 16) ^ right) & 0x0000ffff; in desFunc()
418 right ^= work; in desFunc()
419 left ^= (work << 16); in desFunc()
420 work = ((right >>> 2) ^ left) & 0x33333333; in desFunc()
421 left ^= work; in desFunc()
422 right ^= (work << 2); in desFunc()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DDESEngine.java411 int work, right, left; in desFunc() local
416 work = ((left >>> 4) ^ right) & 0x0f0f0f0f; in desFunc()
417 right ^= work; in desFunc()
418 left ^= (work << 4); in desFunc()
419 work = ((left >>> 16) ^ right) & 0x0000ffff; in desFunc()
420 right ^= work; in desFunc()
421 left ^= (work << 16); in desFunc()
422 work = ((right >>> 2) ^ left) & 0x33333333; in desFunc()
423 left ^= work; in desFunc()
424 right ^= (work << 2); in desFunc()
[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/toolchain-utils/binary_search_tool/full_bisect_test/
Dbuild.sh14 gcc -c build.c -o work/build.o
15 gcc -c preorder.c -o work/preorder.o
16 gcc -c inorder.c -o work/inorder.o
17 gcc -c main.c -o work/main.o
18 gcc -c stack.c -o work/stack.o
19 gcc -c preorder_norecurse.c -o work/preorder_norecurse.o
20 gcc -c inorder_norecurse.c -o work/inorder_norecurse.o
21 gcc -o bin-trees work/main.o work/preorder.o work/inorder.o work/build.o work/preorder_norecurse.o
Dchromeos_build.sh14 x86_64-cros-linux-gnu-gcc -c build.c -o work/build.o
15 x86_64-cros-linux-gnu-gcc -c preorder.c -o work/preorder.o
16 x86_64-cros-linux-gnu-gcc -c inorder.c -o work/inorder.o
17 x86_64-cros-linux-gnu-gcc -c main.c -o work/main.o
18 x86_64-cros-linux-gnu-gcc -c stack.c -o work/stack.o
19 x86_64-cros-linux-gnu-gcc -c preorder_norecurse.c -o work/preorder_norecurse.o
20 x86_64-cros-linux-gnu-gcc -c inorder_norecurse.c -o work/inorder_norecurse.o
21 …gnu-gcc -o bin-trees work/main.o work/preorder.o work/inorder.o work/build.o work/preorder_norecur…
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool_test.cc43 bool work[kWorkItems]; in TEST() local
45 work[i] = false; in TEST()
50 pool.Schedule([&outer_context, &work, i]() { in TEST()
53 ASSERT_FALSE(work[i]); in TEST()
54 work[i] = true; in TEST()
59 ASSERT_TRUE(work[i]); in TEST()
68 std::vector<bool> work(total, false); in RunSharding() local
71 [=, &mu, &num_shards, &num_done_work, &work](int64 start, int64 end) { in RunSharding()
78 EXPECT_FALSE(work[start]); // No duplicate in RunSharding()
80 work[start] = true; in RunSharding()
[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/freetype/builds/
Dtoplevel.mk175 work := $(strip $(shell $(CAT) \
177 work := $(subst |,x,$(work))
178 work := $(subst $(space),|,$(work))
179 work := $(subst \#define|FREETYPE_MAJOR|,$(space),$(work))
180 work := $(word 2,$(work))
181 major := $(subst |,$(space),$(work))
184 work := $(subst \#define|FREETYPE_MINOR|,$(space),$(work))
185 work := $(word 2,$(work))
186 minor := $(subst |,$(space),$(work))
189 work := $(subst \#define|FREETYPE_PATCH|,$(space),$(work))
[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/tensorflow/tensorflow/core/util/
Dwork_sharder.cc33 int64 cost_per_unit, std::function<void(int64, int64)> work) { in Shard() argument
41 work(0, total); in Shard()
45 workers->ParallelFor(total, cost_per_unit, work); in Shard()
48 Sharder::Do(total, cost_per_unit, work, in Shard()
55 void Sharder::Do(int64 total, int64 cost_per_unit, const Work& work, in Do() argument
78 work(0, total); in Do()
85 runner([&work, &counter, start, limit]() { in Do()
86 work(start, limit); // Compute the shard. in Do()
92 work(0, std::min(block_size, total)); in Do()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_sample.cpp41 …NTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DESC &work, RenderOutputBuffer… in BackendSampleRate() argument
51 SetupBarycentricCoeffs(&coeffs, work); in BackendSampleRate()
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSampleRate()
81 …::InputCoverage == SWR_INPUT_COVERAGE_INNER_CONSERVATIVE) ? &work.innerCoverageMask : &work.covera… in BackendSampleRate()
90 …CalcCentroid<T, false>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMa… in BackendSampleRate()
96 simdmask coverageMask = work.coverageMask[sample] & MASK; in BackendSampleRate()
133 …coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, work.pUserClipBuffer, ps… in BackendSampleRate()
144 … depthPassMask = DepthStencilTest(&state, work.triFlags.frontFacing, work.triFlags.viewportIndex, in BackendSampleRate()
152 …DepthStencilWrite(&state.vp[work.triFlags.viewportIndex], &state.depthStencilState, work.triFlags.… in BackendSampleRate()
157 work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM); in BackendSampleRate()
[all …]
Dbackend_singlesample.cpp41 …NTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, SWR_TRIANGLE_DESC &work, RenderOutputBuffer… in BackendSingleSample() argument
51 SetupBarycentricCoeffs(&coeffs, work); in BackendSingleSample()
55 SetupPixelShaderContext<T>(&psContext, samplePos, work); in BackendSingleSample()
79 simdmask coverageMask = work.coverageMask[0] & MASK; in BackendSingleSample()
97 …::InputCoverage == SWR_INPUT_COVERAGE_INNER_CONSERVATIVE) ? &work.innerCoverageMask : &work.covera… in BackendSingleSample()
106 …CalcCentroid<T, true>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMas… in BackendSingleSample()
117 …coverageMask &= ~ComputeUserClipMask(state.backendState.clipDistanceMask, work.pUserClipBuffer, ps… in BackendSingleSample()
128 … depthPassMask = DepthStencilTest(&state, work.triFlags.frontFacing, work.triFlags.viewportIndex, in BackendSingleSample()
136 …DepthStencilWrite(&state.vp[work.triFlags.viewportIndex], &state.depthStencilState, work.triFlags.… in BackendSingleSample()
161 … depthPassMask = DepthStencilTest(&state, work.triFlags.frontFacing, work.triFlags.viewportIndex, in BackendSingleSample()
[all …]
/external/v4l2_codec2/cmds/
Dcodec2.cpp229 std::unique_ptr<C2Work> work; in play() local
238 work = std::move(mProcessedWork.front()); in play()
242 CHECK_EQ(work->worklets.size(), 1u); in play()
243 if (work->worklets.front()->output.buffers.size() == 1u) { in play()
246 std::shared_ptr<C2Buffer> output = work->worklets.front()->output.buffers[0]; in play()
256 (work->worklets.front()->output.ordinal.timestamp * 1000ll).peekll()); in play()
259 (work->worklets.front()->output.ordinal.timestamp * 1000ll).peekll(), false, in play()
270 bool eos = work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM; in play()
272 CHECK_EQ(work->input.buffers.size(), 1u); in play()
273 CHECK(work->input.buffers.front() == nullptr); in play()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dattr-unparseable.ll24 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
29 attributes #3 = {"amdgpu-flat-work-group-size"}
31 ; CHECK: can't parse first integer attribute amdgpu-flat-work-group-size
36 attributes #4 = {"amdgpu-flat-work-group-size"="k"}
38 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
43 attributes #5 = {"amdgpu-flat-work-group-size"="1"}
45 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
50 attributes #6 = {"amdgpu-flat-work-group-size"="1,k"}
52 ; CHECK: can't parse second integer attribute amdgpu-flat-work-group-size
57 attributes #7 = {"amdgpu-flat-work-group-size"="1,2,3"}
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfilterbank.cc39 uint64_t* work = state->work; in FilterbankAccumulateChannels() local
61 *work++ = weight_accumulator; in FilterbankAccumulateChannels()
122 const int64_t* work = reinterpret_cast<int64_t*>(state->work + 1); in FilterbankSqrt() local
125 uint32_t* output = reinterpret_cast<uint32_t*>(state->work); in FilterbankSqrt()
128 *output++ = Sqrt64(*work++) >> scale_down_shift; in FilterbankSqrt()
130 return reinterpret_cast<uint32_t*>(state->work); in FilterbankSqrt()
134 memset(state->work, 0, (state->num_channels + 1) * sizeof(*state->work)); in FilterbankReset()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank.c39 uint64_t* work = state->work; in FilterbankAccumulateChannels() local
60 *work++ = weight_accumulator; in FilterbankAccumulateChannels()
121 const int64_t* work = state->work + 1; in FilterbankSqrt() local
124 uint32_t* output = (uint32_t*) state->work; in FilterbankSqrt()
127 *output++ = Sqrt64(*work++) >> scale_down_shift; in FilterbankSqrt()
129 return (uint32_t*) state->work; in FilterbankSqrt()
133 memset(state->work, 0, (state->num_channels + 1) * sizeof(*state->work)); in FilterbankReset()
/external/deqp-deps/SPIRV-Tools/
Dprojects.md1 # Tracking SPIRV-Tools work with GitHub projects
4 feature](https://help.github.com/articles/tracking-the-progress-of-your-work-with-projects/)
16 A GitHub Project is a set of work with an overall purpose, and
21 In our projects, a card represents work, i.e. a change that can
23 The work could be a feature, a bug to be fixed, documentation to be
30 In our usage, a *project manager* is someone who organizes the work.
35 * They determine if the work for a card has been completed.
42 * `Ready to start`: Issues which represent work we'd like to do, and which
43 are not blocked by other work.
46 * We want these to be Issues (not Notes) so that someone can claim the work
[all …]
/external/swiftshader/third_party/SPIRV-Tools/
Dprojects.md1 # Tracking SPIRV-Tools work with GitHub projects
4 feature](https://help.github.com/articles/tracking-the-progress-of-your-work-with-projects/)
16 A GitHub Project is a set of work with an overall purpose, and
21 In our projects, a card represents work, i.e. a change that can
23 The work could be a feature, a bug to be fixed, documentation to be
30 In our usage, a *project manager* is someone who organizes the work.
35 * They determine if the work for a card has been completed.
42 * `Ready to start`: Issues which represent work we'd like to do, and which
43 are not blocked by other work.
46 * We want these to be Issues (not Notes) so that someone can claim the work
[all …]
/external/v4l2_codec2/tests/
DC2VDAComponent_test.cpp477 std::unique_ptr<C2Work> work; in TEST_P() local
486 work = std::move(mProcessedWork.front()); in TEST_P()
491 work->input.ordinal.frameIndex.peekull(), work->result, in TEST_P()
492 work->worklets.front()->output.flags, in TEST_P()
493 work->worklets.front()->output.buffers.size()); in TEST_P()
496 bool flushed = work->result == C2_NOT_FOUND; in TEST_P()
498 ASSERT_EQ(work->worklets.size(), 1u); in TEST_P()
499 if (!flushed && work->worklets.front()->output.buffers.size() == 1u) { in TEST_P()
500 std::shared_ptr<C2Buffer> output = work->worklets.front()->output.buffers[0]; in TEST_P()
536 work->worklets.front()->output.buffers.clear(); in TEST_P()
[all …]
/external/skqp/src/pathops/
DSkPathOpsTSect.cpp127 const SkTSpan* work = this; in debugIsBefore() local
129 if (span == work) { in debugIsBefore()
132 } while ((work = work->fNext)); in debugIsBefore()
138 const SkTSpan* work = this; in contains() local
140 if (between(work->fStartT, t, work->fEndT)) { in contains()
143 } while ((work = work->fNext)); in contains()
402 bool SkTSpan::splitAt(SkTSpan* work, double t, SkArenaAlloc* heap) { in splitAt() argument
404 fEndT = work->fEndT; in splitAt()
409 work->fEndT = t; in splitAt()
410 if (work->fStartT == work->fEndT) { in splitAt()
[all …]

12345678910>>...144