Home
last modified time | relevance | path

Searched refs:Barrier (Results 1 - 25 of 42) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dbarrier.h28 // Barrier
32 // the `Barrier` by calling `Block()` on the barrier, which will block that
43 // // Main thread creates a `Barrier`:
44 // barrier = new Barrier(num_threads);
50 class Barrier { class
53 explicit Barrier(int num_threads) in Barrier() function in absl::Barrier
56 Barrier(const Barrier&) = delete;
57 Barrier& operator=(const Barrier
[all...]
H A Dbarrier_test.cc25 TEST(Barrier, SanityTest) { in TEST()
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
H A Dbarrier.cc28 bool Barrier::Block() { in Block()
41 // Determine which thread can safely delete this Barrier object in Block()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp139 unsigned Barrier = 0; in runOnMachineFunction() local
147 // Barrier is the last instruction where MO get used. MI should not in runOnMachineFunction()
148 // be moved above Barrier. in runOnMachineFunction()
149 if (Barrier < UseMap[MO.getReg()].first) { in runOnMachineFunction()
150 Barrier = UseMap[MO.getReg()].first; in runOnMachineFunction()
209 // If Barrier equals IOM[I], traverse forward to find if BarrierMI is in runOnMachineFunction()
211 for (MachineInstr *I = Insert; I && IOM[I] == Barrier; in runOnMachineFunction()
218 if (DefMO && Insert && NumEligibleUse > 1 && Barrier <= IOM[Insert]) { in runOnMachineFunction()
/third_party/skia/tests/
H A DSkScalerCacheTest.cpp18 class Barrier { class
20 Barrier(int threadCount) : fThreadCount(threadCount) { } in Barrier() function in Barrier
35 Barrier barrier{kThreadCount}; in DEF_TEST()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_locks.py1064 barrier = asyncio.Barrier(self.N)
1068 "object Barrier can't be used in 'await' expression",
1075 barrier = asyncio.Barrier(self.N)
1126 self.assertRaises(ValueError, lambda: asyncio.Barrier(0))
1127 self.assertRaises(ValueError, lambda: asyncio.Barrier(-4))
1129 self.assertIsInstance(asyncio.Barrier(self.N), asyncio.Barrier)
1133 barrier = asyncio.Barrier(self.N)
1147 barrier = asyncio.Barrier(1)
1160 barrier = asyncio.Barrier(
[all...]
/third_party/rust/crates/once_cell/tests/
H A Dit.rs257 use std::sync::Barrier;
380 let cells: Vec<_> = std::iter::repeat_with(|| (Barrier::new(n_threads), OnceCell::new())) in get_or_init_stress()
665 let barrier = Barrier::new(2); in get_does_not_block()
696 use std::sync::Barrier;
759 let b1 = Barrier::new(2); in once_non_zero_usize_first_wins()
760 let b2 = Barrier::new(2); in once_non_zero_usize_first_wins()
761 let b3 = Barrier::new(2); in once_non_zero_usize_first_wins()
832 use std::sync::Barrier;
876 let b = Barrier::new(128); in once_box_smoke_test()
932 let b1 = Barrier in once_box_first_wins()
[all...]
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
H A Dbarrier.hpp26 class Barrier class
29 Barrier() in Barrier() function in spirv_cross::Barrier
H A Dinternal_interface.hpp494 Barrier barrier__;
554 Barrier::memoryBarrier();
558 Barrier::memoryBarrier();
/third_party/node/deps/v8/src/heap/
H A Dsafepoint.h47 class Barrier { class in v8::internal::final
58 Barrier() : armed_(false), stopped_(0) {} in Barrier() function in v8::internal::final::Barrier
138 Barrier barrier_;
H A Dsafepoint.cc212 void IsolateSafepoint::Barrier::Arm() { in Arm()
219 void IsolateSafepoint::Barrier::Disarm() { in Disarm()
227 void IsolateSafepoint::Barrier::WaitUntilRunningThreadsInSafepoint( in WaitUntilRunningThreadsInSafepoint()
237 void IsolateSafepoint::Barrier::NotifyPark() { in NotifyPark()
244 void IsolateSafepoint::Barrier::WaitInSafepoint() { in WaitInSafepoint()
255 void IsolateSafepoint::Barrier::WaitInUnpark() { in WaitInUnpark()
/third_party/benchmark/src/
H A Dmutex.h99 class Barrier { class
101 Barrier(int num_threads) : running_threads_(num_threads) {} in Barrier() function in benchmark::Barrier
H A Dthread_manager.h55 Barrier start_stop_barrier_;
/third_party/python/Lib/multiprocessing/
H A Dcontext.py95 def Barrier(self, parties, action=None, timeout=None): member in BaseContext
97 from .synchronize import Barrier namespace
98 return Barrier(parties, action, timeout, ctx=self.get_context())
H A Dsynchronize.py360 # Barrier
363 class Barrier(threading.Barrier): class
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dsysinfo_test.cc75 Barrier all_threads_done(kNumThreads); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h69 Barrier, ///< An unknown scheduling barrier. enumerator
175 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier()
385 SDep Dep(SU, SDep::Barrier); in addPredBarrier()
/third_party/python/Lib/test/
H A Dtest_thread.py159 class Barrier: class
188 self.bar = Barrier(NUMTASKS)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DMCInstrDesc.h147 Barrier, enumerator
291 bool isBarrier() const { return Flags & (1ULL << MCID::Barrier); } in isBarrier()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSynchronizationTests.cpp904 struct Barrier
987 InterCallOperations& operator<< (const op::Barrier&);
1015 op::Barrier barrier;
1046 InterCallOperations& InterCallOperations::operator<< (const op::Barrier& cmd)
1117 void runCommand (const op::Barrier&);
1495 void InterCallTestCase::runCommand (const op::Barrier& cmd)
1503 m_testCtx.getLog() << tcu::TestLog::Message << "Memory Barrier\n\tbits = GL_SHADER_STORAGE_BARRIER_BIT" << tcu::TestLog::EndMessage;
1508 m_testCtx.getLog() << tcu::TestLog::Message << "Memory Barrier\n\tbits = GL_SHADER_IMAGE_ACCESS_BARRIER_BIT" << tcu::TestLog::EndMessage;
3268 << op::Barrier()
3278 << op::Barrier()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp211 DAG->addEdge(&DAG->SUnits[su], SDep(LastSequentialCall, SDep::Barrier)); in apply()
215 DAG->addEdge(&DAG->SUnits[su], SDep(&DAG->SUnits[su-1], SDep::Barrier)); in apply()
227 // needed. This code inserts a Barrier dependence between 3 & 4 to prevent in apply()
252 DAG->addEdge(&DAG->SUnits[su], SDep(LastVRegUse[*AI], SDep::Barrier)); in apply()
/third_party/python/Lib/multiprocessing/dummy/
H A D__init__.py13 'Event', 'Barrier', 'Queue', 'Manager', 'Pipe', 'Pool', 'JoinableQueue'
27 from threading import Event, Condition, Barrier namespace
/third_party/python/Lib/test/test_importlib/
H A Dtest_locks.py66 barrier = threading.Barrier(NTHREADS)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp620 namespace Barrier namespace
763 } // Barrier ns
1030 // Barrier in createShaderInputOutputTests()
1031 addFunctionCaseWithPrograms(group.get(), "barrier", Barrier::initPrograms, Barrier::test); in createShaderInputOutputTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp621 namespace Barrier namespace
764 } // Barrier ns
1018 // Barrier in createShaderInputOutputTests()
1019 addFunctionCaseWithPrograms(group.get(), "barrier", "Basic barrier usage", Barrier::initPrograms, Barrier::test); in createShaderInputOutputTests()

Completed in 19 milliseconds

12