Home
last modified time | relevance | path

Searched refs:AtomicInt (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/src/Renderer/
DRenderer.hpp114 AtomicInt data;
120 AtomicInt reference;
236 AtomicInt type;
237 AtomicInt primitiveUnit;
238 AtomicInt pixelCluster;
252 AtomicInt drawCall;
253 AtomicInt firstPrimitive;
254 AtomicInt primitiveCount;
255 AtomicInt visible;
256 AtomicInt references;
[all …]
DSurface.hpp246 AtomicInt lock;
DRenderer.cpp65 AtomicInt threadCount(1);
66 AtomicInt Renderer::unitCount(1);
67 AtomicInt Renderer::clusterCount(1);
/external/swiftshader/src/Common/
DThread.hpp298 class AtomicInt class
301 AtomicInt() : ai() {} in AtomicInt() function in sw::AtomicInt
302 AtomicInt(int i) : ai(i) {} in AtomicInt() function in sw::AtomicInt
305 …inline void operator=(const AtomicInt& i) { ai.store(i.ai.load(std::memory_order_acquire), std::me… in operator =()
317 class AtomicInt class
320 AtomicInt() {} in AtomicInt() function in sw::AtomicInt
321 AtomicInt(int i) : vi(i) {} in AtomicInt() function in sw::AtomicInt
324 inline void operator=(const AtomicInt& i) { sw::atomicExchange(&vi, i.vi); } in operator =()
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt29 public expect fun atomic(initial: Int): AtomicInt in atomic()
210 public expect class AtomicInt { class
275 public inline fun AtomicInt.loop(action: (Int) -> Unit): Nothing { in lazySet()
284 public inline fun AtomicInt.update(function: (Int) -> Int) { in update()
295 public inline fun AtomicInt.getAndUpdate(function: (Int) -> Int): Int { in getAndUpdate()
306 public inline fun AtomicInt.updateAndGet(function: (Int) -> Int): Int { in updateAndGet()
435 public operator fun get(index: Int): AtomicInt = array[index] in get()
/external/llvm-project/libcxxabi/src/
Dcxa_guard_impl.h119 class AtomicInt {
123 explicit AtomicInt(IntType *b) : b_(b) {} in AtomicInt() function
124 AtomicInt(AtomicInt const&) = delete;
125 AtomicInt& operator=(AtomicInt const&) = delete;
203 AtomicInt<uint8_t> guard_byte(guard_byte_address); in cxa_guard_acquire()
211 AtomicInt<uint8_t> guard_byte(guard_byte_address); in cxa_guard_release()
509 AtomicInt<uint8_t> init_byte;
513 AtomicInt<uint32_t> thread_id;
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DInterceptor.kt31 open fun beforeUpdate(ref: AtomicInt) {} in beforeUpdate()
35 open fun afterSet(ref: AtomicInt, newValue: Int) {} in afterSet()
39 open fun afterRMW(ref: AtomicInt, oldValue: Int, newValue: Int) {} in afterRMW()
DAtomicFU.kt34 public actual fun atomic(initial: Int): AtomicInt = AtomicInt(initial) in atomic()
186 public actual class AtomicInt internal constructor(value: Int) { class
304 private val FU = AtomicIntegerFieldUpdater.newUpdater(AtomicInt::class.java, "value") in toString()
DLockFreedomTestEnvironment.kt460 override fun beforeUpdate(ref: AtomicInt) = step() in <lambda>()
463 override fun afterSet(ref: AtomicInt, newValue: Int) = step() in <lambda>()
466 override fun afterRMW(ref: AtomicInt, oldValue: Int, newValue: Int) = step() in <lambda>()
/external/llvm-project/clang/test/CodeGenCXX/
Datomicinit.cpp4 typedef _Atomic(int) AtomicInt; typedef
5 AtomicInt PR22043 = AtomicInt();
/external/clang/test/CodeGenCXX/
Datomicinit.cpp4 typedef _Atomic(int) AtomicInt; typedef
5 AtomicInt PR22043 = AtomicInt();
/external/kotlinx.atomicfu/atomicfu/src/nativeTest/kotlin/kotlinx/atomicfu/locks/
DSynchronizedTest.kt17 val counter = AtomicInt(0).freeze() in <lambda>()
44 val counters = Array(nLocks) { AtomicInt(0) }.freeze() in <lambda>()
71 val counter = AtomicInt(0).freeze() in <lambda>()
96 val counter = AtomicInt(0).freeze() in <lambda>()
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt9 import kotlin.native.concurrent.AtomicInt as KAtomicInt
16 public actual fun atomic(initial: Int): AtomicInt = AtomicInt(KAtomicInt(initial)) in atomic()
84 public actual inline class AtomicInt internal constructor(@PublishedApi internal val a: KAtomicInt)… in toString() class
/external/llvm-project/clang/test/CXX/temp/temp.param/
Dp7.cpp37 template<_Atomic int ci> struct AtomicInt; // expected-error {{cannot have type '_Atomic(int)'}}
126 template<BadExtType<_Atomic int> > struct AtomicInt; // cxx17-error {{cannot have type}} cxx20-erro…
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt13 public actual fun atomic(initial: Int): AtomicInt = AtomicInt(initial) in atomic()
75 public actual class AtomicInt internal constructor(value: Int) { in toString() class
/external/llvm-project/clang/test/PCH/
Dtypes.h10 typedef _Atomic(int) AtomicInt; typedef
Dtypes.c23 AtomicInt *AtomicInt_ptr = &AtomicInt_val;
/external/clang/test/PCH/
Dtypes.h10 typedef _Atomic(int) AtomicInt; typedef
Dtypes.c23 AtomicInt *AtomicInt_ptr = &AtomicInt_val;
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DInlineCASTest.kt13 private inline fun AtomicInt.casLoop(to: Int): Int = loop { cur -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DConcurrentLinkedList.kt222 private inline fun AtomicInt.addConditionally(delta: Int, condition: (cur: Int) -> Boolean): Boolea… in addConditionally()
/external/llvm-project/clang/lib/Sema/
DOpenCLBuiltins.td297 def AtomicInt : Type<"atomic_int", QualType<"getAtomicType(Context.IntTy)">>;
1005 foreach TypePair = [[AtomicInt, Int], [AtomicUInt, UInt],
1023 foreach TypePair = [[AtomicInt, Int, Int], [AtomicUInt, UInt, UInt],
1032 foreach TypePair = [[AtomicInt, Int, Int], [AtomicUInt, UInt, UInt],