Searched defs:atomic (Results 1 - 25 of 38) sorted by relevance

12

/external/libcxx/test/support/
H A Dcmpxchg_loop.h1 #include <atomic>
4 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { argument
6 if (atomic.compare_exchange_weak(expected, desired) == true) {
15 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, argument
19 if (atomic.compare_exchange_weak(expected, desired, success,
29 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { argument
31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
40 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, argument
44 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
/external/clang/test/CodeGen/
H A Datomic.c3 int atomic(void) { function
90 // CHECK: store atomic i32 0, {{.*}} release, align 4
93 // CHECK: store atomic i32 0, {{.*}} release, align 4
105 // CHECK: store atomic {{.*}} release, align 4
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
H A DAtomicJavaBean.java18 import java.util.concurrent.atomic.AtomicLong;
22 private AtomicLong atomic; field in class:AtomicJavaBean
33 return atomic;
36 public void setAtomic(AtomicLong atomic) { argument
37 this.atomic = atomic;
/external/libdrm/
H A Dxf86atomic.h31 * Private definitions for atomic operations
46 int atomic; member in struct:__anon9619
49 # define atomic_read(x) ((x)->atomic)
50 # define atomic_set(x, val) ((x)->atomic = (val))
51 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
52 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1))
53 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0)
54 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v)))
55 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v)))
56 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, old
66 AO_t atomic; member in struct:__anon9620
91 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; member in struct:__anon9621
[all...]
H A Dxf86drmMode.c1342 struct drm_mode_atomic atomic = { 0 }; local
1407 atomic.count_objs = set->count_objs;
1408 atomic.flags = flags;
1409 atomic.objs_ptr = VOID2U64(objs_ptr);
1410 atomic.count_props_ptr = VOID2U64(count_props_ptr);
1411 atomic.props_ptr = VOID2U64(props_ptr);
1412 atomic.prop_values_ptr = VOID2U64(prop_values_ptr);
1414 // atomic.blob_values_ptr = VOID2U64(blob_values_ptr);
1415 atomic.user_data = VOID2U64(user_data);
1417 ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ATOMIC, &atomic);
1583 struct drm_mode_atomic atomic; local
[all...]
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/
H A DAtomicInteger.java17 package java.util.concurrent.atomic;
H A DAtomicLong.java17 package java.util.concurrent.atomic;
/external/clang/test/SemaCXX/
H A Datomic-type.cpp4 template<typename T> struct atomic { struct
12 atomic<inner> i;
H A DMicrosoftCompatibility.cpp19 struct atomic : _Atomic<T> { struct in inherits:_Atomic
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.h57 bool atomic; member in struct:__tsan::ReportMop
H A Dtsan_report.cc146 static const char *MopDesc(bool first, bool write, bool atomic) { argument
147 return atomic ? (first ? (write ? "Atomic write" : "Atomic read")
148 : (write ? "Previous atomic write" : "Previous atomic read"))
158 MopDesc(first, mop->write, mop->atomic),
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixLogarithm.h22 * \brief Helper class for computing matrix logarithm of atomic matrices.
25 * Here, an atomic matrix is a triangular matrix whose diagonal
44 /** \brief Compute matrix logarithm of atomic matrix
45 * \param[in] A argument of matrix logarithm, should be upper triangular and atomic
449 AtomicType atomic; local
452 MatrixFunction<PlainObject, AtomicType> mf(Aevaluated, atomic);
H A DMatrixFunction.h23 * \tparam AtomicType type for computing matrix function of atomic blocks.
44 * \param[in] atomic class for computing matrix function of atomic blocks.
46 * The class stores references to \p A and \p atomic, so they should not be
49 MatrixFunction(const MatrixType& A, AtomicType& atomic);
88 * \param[in] atomic class for computing matrix function of atomic blocks.
90 MatrixFunction(const MatrixType& A, AtomicType& atomic) : m_A(A), m_atomic(atomic) { } argument
113 AtomicType& m_atomic; /**< \brief Class for computing matrix function of atomic block
189 MatrixFunction(const MatrixType& A, AtomicType& atomic) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dregexcmp.h75 atomic = -3, enumerator in enum:RegexCompile::EParenClass
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
H A Dreduce.hpp52 #include "../../util/atomic.hpp"
297 __device__ __forceinline__ static void atomic(T* result, T myval) function in struct:cv::cudev::grid_reduce_detail::minop
310 __device__ __forceinline__ static void atomic(T* result, T myval) function in struct:cv::cudev::grid_reduce_detail::maxop
346 Op::atomic(result, myval);
/external/dbus/dbus/
H A Ddbus-internals.h331 _DBUS_DECLARE_GLOBAL_LOCK (atomic); variable
H A Ddbus-sysdeps-unix.c2455 _DBUS_DEFINE_GLOBAL_LOCK (atomic); variable
2461 * @param atomic pointer to the integer to increment
2465 _dbus_atomic_inc (DBusAtomic *atomic) argument
2468 return __sync_add_and_fetch(&atomic->value, 1)-1;
2471 _DBUS_LOCK (atomic);
2472 res = atomic->value;
2473 atomic->value += 1;
2474 _DBUS_UNLOCK (atomic);
2482 * @param atomic pointer to the integer to decrement
2486 _dbus_atomic_dec (DBusAtomic *atomic) argument
2509 _dbus_atomic_get(DBusAtomic *atomic) argument
[all...]
H A Ddbus-sysdeps-win.c3082 _DBUS_DEFINE_GLOBAL_LOCK (atomic); variable
3087 * @param atomic pointer to the integer to increment
3092 _dbus_atomic_inc (DBusAtomic *atomic) argument
3096 return InterlockedIncrement (&atomic->value) - 1;
3102 * @param atomic pointer to the integer to decrement
3107 _dbus_atomic_dec (DBusAtomic *atomic) argument
3111 return InterlockedDecrement (&atomic->value) + 1;
3118 * @param atomic pointer to the integer to get
3122 _dbus_atomic_get (DBusAtomic *atomic) argument
3126 return atomic
[all...]
/external/v8/src/libsampler/
H A Dv8-sampler.cc49 #include "src/base/atomic-utils.h"
169 explicit AtomicGuard(AtomicMutex* atomic, bool is_blocking = true) argument
170 : atomic_(atomic), is_success_(false) {
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp523 llvm::Constant *GetOptimizedPropertySetFunction(bool atomic,
632 /// Specialised function for setting atomic retain properties
634 /// Specialised function for setting atomic copy properties
640 /// Function to perform atomic copies of C++ objects with nontrivial copy
643 /// Function to perform atomic copies of C++ objects with nontrivial copy
770 llvm::Constant *GetOptimizedPropertySetFunction(bool atomic,
781 if (atomic) {
2646 llvm::Constant *CGObjCGNU::GetOptimizedPropertySetFunction(bool atomic, argument
H A DCGObjCMac.cpp273 llvm::Constant *getOptimizedSetPropertyFn(bool atomic, bool copy) { argument
297 if (atomic && copy)
299 else if (atomic && !copy)
301 else if (!atomic && copy)
1218 llvm::Constant *GetOptimizedPropertySetFunction(bool atomic,
1501 llvm::Constant *GetOptimizedPropertySetFunction(bool atomic,
1503 return ObjCTypes.getOptimizedSetPropertyFn(atomic, copy);
3602 llvm::Constant *CGObjCMac::GetOptimizedPropertySetFunction(bool atomic, argument
3604 return ObjCTypes.getOptimizedSetPropertyFn(atomic, copy);
/external/kernel-headers/original/uapi/rdma/
H A Dib_user_verbs.h703 } atomic; member in union:ib_uverbs_send_wr::__anon8614
/external/guice/extensions/persist/lib/
H A Dcommons-collections.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt META-INF/NOTICE ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jar ... base.Function { final java.util.concurrent.atomic.AtomicInteger counter final synthetic com.google.common ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jar ... base.Function { final java.util.concurrent.atomic.AtomicInteger counter final synthetic com.google.common ...

Completed in 1411 milliseconds

12