Home
last modified time | relevance | path

Searched refs:InterlockedExchangeAdd (Results 1 – 11 of 11) sorted by relevance

/external/usrsctp/usrsctplib/
Duser_atomic.h47 #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/
Dkmp_os.h433 #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/
Dhost_atomics.h95 return InterlockedExchangeAdd(a, c); in host_atomic_fetch_add()
161 return InterlockedExchangeAdd(a, 0); in host_atomic_load()
/external/compiler-rt/lib/profile/
DInstrProfilingPort.h70 (DomType *)InterlockedExchangeAdd((LONG volatile *)&PtrVar, \
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPort.h79 (DomType *)InterlockedExchangeAdd((LONG volatile *)&PtrVar, \
/external/swiftshader/src/Common/
DThread.hpp282 return InterlockedExchangeAdd((volatile long*)target, value) + value; in atomicAdd()
/external/OpenCL-CTS/test_conformance/SVM/
Dmain.cpp45 return InterlockedExchangeAdd( (volatile LONG*) object, operand); in AtomicFetchAddExplicit()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h274 #define InterlockedExchangeAdd(Addend, Value) __sync_fetch_and_add(Addend, Value) macro
/external/harfbuzz_ng/src/
Dhb-atomic.hh120 #define hb_atomic_int_impl_add(AI, V) InterlockedExchangeAdd ((LONG *) (AI), (V))
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtilemgr.cpp79 InterlockedExchangeAdd(&mWorkItemsConsumed, numTiles); in markTileComplete()
/external/google-breakpad/src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/
Dkernel32.sym65 PUBLIC 97b6 8 InterlockedExchangeAdd