Home
last modified time | relevance | path

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

123

/external/skqp/src/compute/skc/platforms/cl_12/
Datomic_cl.h24 #define SKC_ATOMIC_ADD_LOCAL_RELAXED_DEVICE(p,v) atomic_add(p,v)
25 #define SKC_ATOMIC_ADD_LOCAL_RELAXED_SUBGROUP(p,v) atomic_add(p,v)
27 #define SKC_ATOMIC_ADD_GLOBAL_RELAXED_DEVICE(p,v) atomic_add(p,v)
28 #define SKC_ATOMIC_ADD_GLOBAL_RELAXED_SUBGROUP(p,v) atomic_add(p,v)
/external/python/cpython2/Python/
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()
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()
Ddynload_beos.c107 val = atomic_add( &init_count, 1 ); in beos_init_dyn()
/external/bcc/tests/python/
Dtest_trace1.b18 atomic_add(leaf->stat2, 1);
28 atomic_add(stats[key].stat1, 1);
37 atomic_add(leaf->stat1, 1);
Dtest_stat1.b49 atomic_add(leaf.rx_pkts, rx);
50 atomic_add(leaf.tx_pkts, tx);
Dtest_trace2.b10 atomic_add(stats[key].stat1, 1);
Dtest_xlate1.b48 atomic_add(xleaf.xlated_pkts, 1);
/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
/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.h115 static inline int atomic_add(int i, atomic_t *v) in atomic_add() function
130 return atomic_add(1, v); in atomic_inc()
/external/llvm-project/libclc/generic/include/clc/atomic/
Datomic_add.h1 #define __CLC_FUNCTION atomic_add
/external/llvm-project/libclc/generic/lib/atomic/
Datomic_add.cl4 _CLC_OVERLOAD _CLC_DEF TYPE atomic_add(volatile AS TYPE *p, TYPE val) { \
/external/OpenCL-CTS/test_conformance/atomics/
Dmain.cpp28 ADD_TEST( atomic_add ),
/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/libxml2/
Dthreads.c477 if (atomic_add(&global_init_count, 1) == 0) { in __xmlGlobalInitMutexLock()
481 atomic_add(&global_init_count, -1); in __xmlGlobalInitMutexLock()
975 if (atomic_add(&run_once_init, 1) == 0) { in xmlOnceInit()
981 atomic_add(&run_once_init, -1); in xmlOnceInit()
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Dsegment_ttrk.cl306 atomic_add(shared.m+HS_REG_LAST(c),meta);
379 atomic_add(metas+cc,c+adjust);
389 atomic_add(metas+cc,c+adjust);
Dsegment_ttck.cl108 next = atomic_add(atomics+1,inclusive); // FIXME -- need a symbolic offset
/external/llvm-project/mlir/test/Dialect/SPIRV/Transforms/
Dinlining.mlir211 spv.FunctionCall @atomic_add(%5, %7) : (i32, !spv.ptr<i32, StorageBuffer>) -> ()
219 spv.func @atomic_add(%arg0: i32, %arg1: !spv.ptr<i32, StorageBuffer>) "None" {
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Datomic_optimizations_mul_one.ll11 define amdgpu_cs void @atomic_add(<4 x i32> inreg %arg) {
12 ; IR-LABEL: @atomic_add(
30 ; GCN-LABEL: atomic_add:
/external/llvm-project/libclc/generic/lib/
DSOURCES7 atomic/atomic_add.cl
/external/llvm-project/clang/test/Headers/
Dopencl-c-header.cl79 atomic_add(a, 1);
/external/harfbuzz_ng/
Dconfigure.ac452 int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
471 int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
/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/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),

123