Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Python/
Dthread_beos.h53 int32 prev = atomic_add( &(ben->_atom), 1 ); in benaphore_lock()
64 int32 prev = atomic_add( &(ben->_atom), 1 ); in benaphore_timedlock()
88 int32 prev = atomic_add( &(ben->_atom), -1 ); in benaphore_unlock()
125 this_thread = atomic_add( &thread_count, 1 ); in PyThread_start_new_thread()
154 threads = atomic_add( &thread_count, 0 ); in PyThread_exit_thread()
186 this_lock = atomic_add( &lock_count, 1 ); in PyThread_allocate_lock()
Dthread_atheos.h53 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_lock()
62 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_timedlock()
71 atomic_t prev = atomic_add(&mutex->count, -1); in fastmutex_unlock()
108 this_thread = atomic_add(&thread_count, 1); in PyThread_start_new_thread()
136 if (atomic_add(&thread_count, 0) == 0) { in PyThread_exit_thread()
172 this_lock = atomic_add(&lock_count, 1); in PyThread_allocate_lock()
Ddynload_beos.c107 val = atomic_add( &init_count, 1 ); in beos_init_dyn()
/external/libdrm/
Dxf86atomic.h50 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) macro
70 # define atomic_add(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, (v))) macro
95 # define atomic_add(x, v) (atomic_add_int(&(x)->atomic, (v))) macro
Dmeson.build63 int atomic_add(int *i) { return __sync_add_and_fetch (i, 1); }
/external/mesa3d/src/hgl/
DGLRenderer.cpp34 atomic_add(&fRefCount, 1); in Acquire()
41 if (atomic_add(&fRefCount, -1) < 1) in Release()
/external/ltp/testcases/realtime/include/
Dlibrttest.h114 static inline int atomic_add(int i, atomic_t *v) in atomic_add() function
129 return atomic_add(1, v); in atomic_inc()
/external/libusb/libusb/os/
Dhaiku_usb_raw.cpp39 if (atomic_add(&gInitCount, 1) == 0) in haiku_init()
48 if (atomic_add(&gInitCount, -1) == 1) in haiku_exit()
/external/OpenCL-CTS/test_conformance/atomics/
Dmain.cpp29 ADD_TEST( atomic_add ),
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbench.h79 static inline void atomic_add(long *value, long n) in atomic_add() function
/external/rust/crates/atomic/src/
Dops.rs191 pub unsafe fn atomic_add<T: Copy>(dst: *mut T, val: T, order: Ordering) -> T in atomic_add() function
199 fallback::atomic_add(dst, val) in atomic_add()
Dfallback.rs137 pub unsafe fn atomic_add<T: Copy>(dst: *mut T, val: T) -> T in atomic_add() function
Dlib.rs310 unsafe { ops::atomic_add(self.v.get(), val, order) }
/external/mesa3d/src/compiler/glsl/
Dir.h1132 ir_intrinsic_ssbo_atomic_add = MAKE_INTRINSIC_FOR_TYPE(atomic_add, ssbo),
1162 ir_intrinsic_shared_atomic_add = MAKE_INTRINSIC_FOR_TYPE(atomic_add, shared),
/external/libdrm/radeon/
Dradeon_cs_gem.c269 atomic_add((atomic_t *)radeon_gem_get_reloc_in_cs(bo), cs->id); in cs_gem_write_reloc()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c3201 OP(AtomicIIncrement, atomic_add) in vtn_handle_image()
3202 OP(AtomicIDecrement, atomic_add) in vtn_handle_image()
3203 OP(AtomicIAdd, atomic_add) in vtn_handle_image()
3204 OP(AtomicISub, atomic_add) in vtn_handle_image()
3396 OP(AtomicIIncrement, atomic_add) in get_deref_nir_atomic_op()
3397 OP(AtomicIDecrement, atomic_add) in get_deref_nir_atomic_op()
3398 OP(AtomicIAdd, atomic_add) in get_deref_nir_atomic_op()
3399 OP(AtomicISub, atomic_add) in get_deref_nir_atomic_op()
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c55 OP(atomic_add) in ssbo_atomic_for_deref()
80 OP(atomic_add) in global_atomic_for_deref()
105 OP(atomic_add) in shared_atomic_for_deref()
Dnir.c2457 CASE(atomic_add) in nir_rewrite_image_intrinsic()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp3864 void atomic_add (NegativeTestContext& ctx) in atomic_add() function
4466 {atomic_add, "atomic_add", "Invalid usage of atomicAdd." }, in getNegativeShaderFunctionTestFunctions()
/external/clang/lib/Headers/
Dopencl-c.h14442 int __ovld atomic_add(volatile __global int *p, int val);
14443 unsigned int __ovld atomic_add(volatile __global unsigned int *p, unsigned int val);
14444 int __ovld atomic_add(volatile __local int *p, int val);
14445 unsigned int __ovld atomic_add(volatile __local unsigned int *p, unsigned int val);
/external/deqp/external/openglcts/data/mustpass/gl/aosp_mustpass/main/
Dgl45-master.txt17022 dEQP-GL45.functional.debug.negative_coverage.callbacks.shader_function.atomic_add
17520 dEQP-GL45.functional.debug.negative_coverage.log.shader_function.atomic_add
18016 dEQP-GL45.functional.debug.negative_coverage.get_error.shader_function.atomic_add
Dgl45-es31-master.txt17013 dEQP-GL45-ES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_add
17511 dEQP-GL45-ES31.functional.debug.negative_coverage.log.shader_function.atomic_add
18007 dEQP-GL45-ES31.functional.debug.negative_coverage.get_error.shader_function.atomic_add
/external/deqp/external/openglcts/data/mustpass/gl/aosp_mustpass/4.6.1.x/
Dgl45-es31-master.txt17013 dEQP-GL45-ES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_add
17511 dEQP-GL45-ES31.functional.debug.negative_coverage.log.shader_function.atomic_add
18007 dEQP-GL45-ES31.functional.debug.negative_coverage.get_error.shader_function.atomic_add
/external/deqp/android/cts/main/src/
Dgles31-master-2020-03-01.txt18718 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_add
19216 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_add
19712 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_add
/external/deqp/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/
Dgles31-master.txt18719 dEQP-GLES31.functional.debug.negative_coverage.callbacks.shader_function.atomic_add
19217 dEQP-GLES31.functional.debug.negative_coverage.log.shader_function.atomic_add
19713 dEQP-GLES31.functional.debug.negative_coverage.get_error.shader_function.atomic_add

12