Home
last modified time | relevance | path

Searched refs:Tasks (Results 1 – 25 of 219) sorted by relevance

123456789

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreadPool.cpp39 [&] { return !EnableFlag || !Tasks.empty(); }); in ThreadPool()
41 if (!EnableFlag && Tasks.empty()) in ThreadPool()
52 Task = std::move(Tasks.front()); in ThreadPool()
53 Tasks.pop(); in ThreadPool()
78 [&] { return !ActiveThreads && Tasks.empty(); }); in wait()
92 Tasks.push(std::move(PackagedTask)); in asyncImpl()
124 while (!Tasks.empty()) { in wait()
125 auto Task = std::move(Tasks.front()); in wait()
126 Tasks.pop(); in wait()
137 Tasks.push(std::move(PackagedTask)); in asyncImpl()
/external/llvm/lib/Support/
DThreadPool.cpp39 [&] { return !EnableFlag || !Tasks.empty(); }); in ThreadPool()
41 if (!EnableFlag && Tasks.empty()) in ThreadPool()
52 Task = std::move(Tasks.front()); in ThreadPool()
53 Tasks.pop(); in ThreadPool()
82 [&] { return !ActiveThreads && Tasks.empty(); }); in wait()
96 Tasks.push(std::move(PackagedTask)); in asyncImpl()
128 while (!Tasks.empty()) { in wait()
129 auto Task = std::move(Tasks.front()); in wait()
130 Tasks.pop(); in wait()
150 Tasks.push(std::move(PackagedTask)); in asyncImpl()
/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DThreadingTests.cpp30 AsyncTaskRunner Tasks; in TEST_F() local
33 Tasks.runAsync("task", [&Counter, &Mutex, IncrementsPerTask]() { in TEST_F()
49 Tasks.wait(); in TEST_F()
76 AsyncTaskRunner Tasks; in TEST_F() local
78 Tasks.runAsync("worker" + std::to_string(I), [&] { in TEST_F()
87 Tasks.wait(); in TEST_F()
101 AsyncTaskRunner Tasks; in TEST_F() local
104 Tasks.runAsync("A", [&] { in TEST_F()
111 Tasks.runAsync("A", [&] { in TEST_F()
118 Tasks.wait(); in TEST_F()
/external/llvm-project/llvm/lib/Support/
DThreadPool.cpp37 [&] { return !EnableFlag || !Tasks.empty(); }); in ThreadPool()
39 if (!EnableFlag && Tasks.empty()) in ThreadPool()
47 Task = std::move(Tasks.front()); in ThreadPool()
48 Tasks.pop(); in ThreadPool()
86 Tasks.push(std::move(PackagedTask)); in asyncImpl()
116 while (!Tasks.empty()) { in wait()
117 auto Task = std::move(Tasks.front()); in wait()
118 Tasks.pop(); in wait()
129 Tasks.push(std::move(PackagedTask)); in asyncImpl()
/external/llvm-project/llvm/include/llvm/Support/
DTaskQueue.h74 assert(Tasks.empty()); in ~TaskQueue()
95 Tasks.push_back(std::move(T)); in async()
112 if (Tasks.empty()) { in completeTask()
117 Continuation = std::move(Tasks.front()); in completeTask()
118 Tasks.pop_front(); in completeTask()
134 std::deque<std::function<void()>> Tasks; variable
DThreadPool.h74 bool workCompletedUnlocked() { return !ActiveThreads && Tasks.empty(); } in workCompletedUnlocked()
84 std::queue<PackagedTaskTy> Tasks; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTaskQueue.h74 assert(Tasks.empty()); in ~TaskQueue()
95 Tasks.push_back(std::move(T)); in async()
112 if (Tasks.empty()) { in completeTask()
117 Continuation = std::move(Tasks.front()); in completeTask()
118 Tasks.pop_front(); in completeTask()
134 std::deque<std::function<void()>> Tasks; variable
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt78 val deferred: Deferred<Int> = Tasks.call { in <lambda>()
91 val deferred = Tasks.forResult(42).asDeferred() in <lambda>()
97 assertNull(Tasks.forResult(null).asDeferred().await()) in <lambda>()
102 val deferred = Tasks.forCanceled<Int>().asDeferred() in <lambda>()
115 val deferred = Tasks.forException<Int>(TestException("something went wrong")).asDeferred() in testFailedTaskAsDeferred()
135 val deferred: Deferred<Int> = Tasks.call { in <lambda>()
/external/autotest/server/cros/res_resource_monitor/
Dtop_test_data.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
19 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
32 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
38 Tasks: 363 total, 1 running, 362 sleeping, 0 stopped, 0 zombie
44 Tasks: 363 total, 1 running, 362 sleeping, 0 stopped, 0 zombie
Dtop_field_order_changed.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
12 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
23 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
Dtop_whitespace_ridden.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
19 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
65 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
/external/libabigail/tests/data/test-read-dwarf/
Dtest6.so.hash.abi19 …<abi-instr address-size='64' path='test6.cc' comp-dir-path='/home/skumari/Tasks/source_repo/dodji/…
21 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
23 …<function-decl name='foo' mangled-name='_ZN1B3fooEv' filepath='/home/skumari/Tasks/source_repo/dod…
29 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
31 …mangled-name='_ZN1CIiE3barE' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
36 …<function-decl name='bar' mangled-name='_Z3barv' filepath='/home/skumari/Tasks/source_repo/dodji/l…
39 …<function-decl name='bleh' mangled-name='_Z4blehv' filepath='/home/skumari/Tasks/source_repo/dodji…
Dtest6.so.abi19 …<abi-instr address-size='64' path='test6.cc' comp-dir-path='/home/skumari/Tasks/source_repo/dodji/…
21 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
23 …<function-decl name='foo' mangled-name='_ZN1B3fooEv' filepath='/home/skumari/Tasks/source_repo/dod…
29 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
31 …mangled-name='_ZN1CIiE3barE' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
36 …<function-decl name='bar' mangled-name='_Z3barv' filepath='/home/skumari/Tasks/source_repo/dodji/l…
39 …<function-decl name='bleh' mangled-name='_Z4blehv' filepath='/home/skumari/Tasks/source_repo/dodji…
Dtest3-alias-3.so.hash.abi8 …<abi-instr address-size='64' path='test3.c' comp-dir-path='/home/skumari/Tasks/source_repo/dodji/l…
10 …<function-decl name='__foo' mangled-name='__foo' filepath='/home/skumari/Tasks/source_repo/dodji/l…
Dtest3-alias-1.so.hash.abi8 …<abi-instr address-size='64' path='test3.c' comp-dir-path='/home/skumari/Tasks/source_repo/dodji/l…
10 …<function-decl name='__foo' mangled-name='__foo' filepath='/home/skumari/Tasks/source_repo/dodji/l…
/external/llvm-project/clang-tools-extra/clangd/index/
DBackgroundQueue.cpp87 void BackgroundQueue::append(std::vector<Task> Tasks) { in append() argument
90 for (Task &T : Tasks) in append()
92 std::move(Tasks.begin(), Tasks.end(), std::back_inserter(Queue)); in append()
94 Stat.Enqueued += Tasks.size(); in append()
/external/libabigail/tests/data/test-annotate/
Dtest6.so.abi26 …<abi-instr address-size='64' path='test6.cc' comp-dir-path='/home/skumari/Tasks/source_repo/dodji/…
30 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
33 …<function-decl name='foo' mangled-name='_ZN1B3fooEv' filepath='/home/skumari/Tasks/source_repo/dod…
42 …-in-bits='8' is-struct='yes' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
45 …mangled-name='_ZN1CIiE3barE' visibility='default' filepath='/home/skumari/Tasks/source_repo/dodji/…
53 …<function-decl name='bar' mangled-name='_Z3barv' filepath='/home/skumari/Tasks/source_repo/dodji/l…
58 …<function-decl name='bleh' mangled-name='_Z4blehv' filepath='/home/skumari/Tasks/source_repo/dodji…
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst11 Tasks chapter
14 Utilities to run asyncio programs, create Tasks, and
73 * See also the main :ref:`Tasks documentation page <coroutine>`.
79 Queues should be used to distribute work amongst multiple asyncio Tasks,
100 Tasks <asyncio_example_queue_dist>`.
168 Threading-like synchronization primitives that can be used in Tasks.
/external/llvm-project/libcxx/
DTODO.TXT3 CXX Runtime Library Tasks
10 Atomic Related Tasks
14 Test Suite Tasks
19 Filesystem Tasks
69 Misc Tasks
/external/python/cpython2/PC/VS7.1/
Dpython.iss98 [Tasks]
214 Tasks: extensions; Root: HKCR; Subkey: .py; ValueType: string; ValueName: ; ValueData: Python File;…
215 Tasks: extensions; Root: HKCR; Subkey: .py; ValueType: string; ValueName: Content Type; ValueData: …
216 Tasks: extensions; Root: HKCR; Subkey: Python File; ValueType: string; ValueName: ; ValueData: Pyth…
217 Tasks: extensions; Root: HKCR; Subkey: Python File\DefaultIcon; ValueType: string; ValueName: ; Val…
218 Tasks: extensions; Root: HKCR; Subkey: Python File\shell\open\command; ValueType: string; ValueName…
221 Tasks: extensions; Root: HKCR; Subkey: .pyc; ValueType: string; ValueName: ; ValueData: Python Comp…
222 Tasks: extensions; Root: HKCR; Subkey: Python CompiledFile; ValueType: string; ValueName: ; ValueDa…
223 Tasks: extensions; Root: HKCR; Subkey: Python CompiledFile\DefaultIcon; ValueType: string; ValueNam…
224 Tasks: extensions; Root: HKCR; Subkey: Python CompiledFile\shell\open\command; ValueType: string; V…
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DBenchmarkServiceGrpc.cs86 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> UnaryCall(… in UnaryCall()
100 …public virtual global::System.Threading.Tasks.Task StreamingCall(grpc::IAsyncStreamReader<global::… in StreamingCall()
112 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> StreamingF… in StreamingFromClient()
125 …public virtual global::System.Threading.Tasks.Task StreamingFromServer(global::Grpc.Testing.Simple… in StreamingFromServer()
138 …public virtual global::System.Threading.Tasks.Task StreamingBothWays(grpc::IAsyncStreamReader<glob… in StreamingBothWays()
DTestGrpc.cs116 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> EmptyCall(global::G… in EmptyCall()
127 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> UnaryCall(… in UnaryCall()
140 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> CacheableU… in CacheableUnaryCall()
153 …public virtual global::System.Threading.Tasks.Task StreamingOutputCall(global::Grpc.Testing.Stream… in StreamingOutputCall()
165 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.StreamingInputCallResponse… in StreamingInputCall()
179 …public virtual global::System.Threading.Tasks.Task FullDuplexCall(grpc::IAsyncStreamReader<global:… in FullDuplexCall()
194 …public virtual global::System.Threading.Tasks.Task HalfDuplexCall(grpc::IAsyncStreamReader<global:… in HalfDuplexCall()
206 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> UnimplementedCall(g… in UnimplementedCall()
575 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> UnimplementedCall(g… in UnimplementedCall()
699 …public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> Start(global::Grpc.… in Start()
[all …]
/external/libcxx/
DTODO.TXT3 CXX Runtime Library Tasks
11 Atomic Related Tasks
15 Test Suite Tasks
20 Filesystem Tasks
70 Misc Tasks
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs79 …public virtual global::System.Threading.Tasks.Task<global::Math.DivReply> Div(global::Math.DivArgs… in Div()
94 …public virtual global::System.Threading.Tasks.Task DivMany(grpc::IAsyncStreamReader<global::Math.D… in DivMany()
108 …public virtual global::System.Threading.Tasks.Task Fib(global::Math.FibArgs request, grpc::IServer… in Fib()
120 …public virtual global::System.Threading.Tasks.Task<global::Math.Num> Sum(grpc::IAsyncStreamReader<… in Sum()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuideGrpc.cs87 …public virtual global::System.Threading.Tasks.Task<global::Routeguide.Feature> GetFeature(global::… in GetFeature()
104 …public virtual global::System.Threading.Tasks.Task ListFeatures(global::Routeguide.Rectangle reque… in ListFeatures()
118 …public virtual global::System.Threading.Tasks.Task<global::Routeguide.RouteSummary> RecordRoute(gr… in RecordRoute()
133 …public virtual global::System.Threading.Tasks.Task RouteChat(grpc::IAsyncStreamReader<global::Rout… in RouteChat()

123456789