Searched refs:InterlockedExchangeAdd (Results 1 – 11 of 11) sorted by relevance
/external/usrsctp/usrsctplib/ |
D | user_atomic.h | 47 #define atomic_add_int(addr, val) InterlockedExchangeAdd((LPLONG)addr, (LONG)val) 48 #define atomic_fetchadd_int(addr, val) InterlockedExchangeAdd((LPLONG)addr, (LONG)val) 49 #define atomic_subtract_int(addr, val) InterlockedExchangeAdd((LPLONG)addr,-((LONG)val)) 51 #define SCTP_DECREMENT_AND_CHECK_REFCOUNT(addr) (InterlockedExchangeAdd((LPLONG)addr, (-1L)) == 1)
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_os.h | 433 #pragma intrinsic(InterlockedExchangeAdd) 441 #define KMP_TEST_THEN_INC32(p) InterlockedExchangeAdd((volatile long *)(p), 1) 443 InterlockedExchangeAdd((volatile long *)(p), 1) 444 #define KMP_TEST_THEN_ADD4_32(p) InterlockedExchangeAdd((volatile long *)(p), 4) 446 InterlockedExchangeAdd((volatile long *)(p), 4) 447 #define KMP_TEST_THEN_DEC32(p) InterlockedExchangeAdd((volatile long *)(p), -1) 449 InterlockedExchangeAdd((volatile long *)(p), -1) 451 InterlockedExchangeAdd((volatile long *)(p), (v))
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | host_atomics.h | 95 return InterlockedExchangeAdd(a, c); in host_atomic_fetch_add() 161 return InterlockedExchangeAdd(a, 0); in host_atomic_load()
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingPort.h | 70 (DomType *)InterlockedExchangeAdd((LONG volatile *)&PtrVar, \
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingPort.h | 79 (DomType *)InterlockedExchangeAdd((LONG volatile *)&PtrVar, \
|
/external/swiftshader/src/Common/ |
D | Thread.hpp | 282 return InterlockedExchangeAdd((volatile long*)target, value) + value; in atomicAdd()
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | main.cpp | 45 return InterlockedExchangeAdd( (volatile LONG*) object, operand); in AtomicFetchAddExplicit()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | os.h | 274 #define InterlockedExchangeAdd(Addend, Value) __sync_fetch_and_add(Addend, Value) macro
|
/external/harfbuzz_ng/src/ |
D | hb-atomic.hh | 120 #define hb_atomic_int_impl_add(AI, V) InterlockedExchangeAdd ((LONG *) (AI), (V))
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | tilemgr.cpp | 79 InterlockedExchangeAdd(&mWorkItemsConsumed, numTiles); in markTileComplete()
|
/external/google-breakpad/src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/ |
D | kernel32.sym | 65 PUBLIC 97b6 8 InterlockedExchangeAdd
|