/external/libcxx/test/support/ |
H A D | cmpxchg_loop.h | 10 #include <atomic> 13 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { argument 15 if (atomic.compare_exchange_weak(expected, desired) == true) { 24 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, argument 28 if (atomic.compare_exchange_weak(expected, desired, success, 38 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { argument 40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { 49 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, argument 53 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
|
/external/v8/tools/clang/plugins/tests/ |
H A D | trivial_ctor.h | 12 struct atomic { struct in namespace:std 16 typedef atomic<int> atomic_int;
|
/external/ltp/lib/newlib_tests/ |
H A D | test09.c | 26 static int atomic; variable 34 tst_atomic_inc(&atomic); 52 if (atomic == THREADS * ITERATIONS)
|
/external/clang/test/CodeGen/ |
H A D | atomic.c | 3 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 D | AtomicJavaBean.java | 18 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/jemalloc/include/jemalloc/internal/ |
H A D | prng.h | 47 bool atomic); 49 size_t prng_lg_range_zu(size_t *state, unsigned lg_range, bool atomic); 51 uint32_t prng_range_u32(uint32_t *state, uint32_t range, bool atomic); 53 size_t prng_range_zu(size_t *state, size_t range, bool atomic); 85 prng_lg_range_u32(uint32_t *state, unsigned lg_range, bool atomic) argument 92 if (atomic) { 108 /* 64-bit atomic operations cannot be supported on all relevant platforms. */ 125 prng_lg_range_zu(size_t *state, unsigned lg_range, bool atomic) argument 132 if (atomic) { 149 prng_range_u32(uint32_t *state, uint32_t range, bool atomic) argument 187 prng_range_zu(size_t *state, size_t range, bool atomic) argument [all...] |
/external/libdrm/ |
H A D | xf86atomic.h | 31 * Private definitions for atomic operations 46 int atomic; member in struct:__anon10576 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:__anon10577 91 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; member in struct:__anon10578 [all...] |
/external/compiler-rt/test/tsan/ |
H A D | debugging.cc | 20 void **addr, int *size, int *write, int *atomic, 71 int size, write, atomic; local 74 __tsan_get_report_mop(report, 0, &tid, &addr, &size, &write, &atomic, trace, 76 fprintf(stderr, "tid = %d, addr = %p, size = %d, write = %d, atomic = %d\n", 77 tid, addr, size, write, atomic); 78 // CHECK: tid = 1, addr = [[GLOBAL]], size = 8, write = 1, atomic = 0 82 __tsan_get_report_mop(report, 1, &tid, &addr, &size, &write, &atomic, trace, 84 fprintf(stderr, "tid = %d, addr = %p, size = %d, write = %d, atomic = %d\n", 85 tid, addr, size, write, atomic); 86 // CHECK: tid = 0, addr = [[GLOBAL]], size = 8, write = 1, atomic [all...] |
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/ |
H A D | AtomicInteger.java | 17 package java.util.concurrent.atomic;
|
H A D | AtomicLong.java | 17 package java.util.concurrent.atomic;
|
/external/jemalloc/test/unit/ |
H A D | prng.c | 4 test_prng_lg_range_u32(bool atomic) argument 10 ra = prng_lg_range_u32(&sa, 32, atomic); 12 rb = prng_lg_range_u32(&sa, 32, atomic); 17 rb = prng_lg_range_u32(&sb, 32, atomic); 22 ra = prng_lg_range_u32(&sa, 32, atomic); 23 rb = prng_lg_range_u32(&sa, 32, atomic); 28 ra = prng_lg_range_u32(&sa, 32, atomic); 31 rb = prng_lg_range_u32(&sb, lg_range, atomic); 78 test_prng_lg_range_zu(bool atomic) argument 84 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); 151 test_prng_range_u32(bool atomic) argument 193 test_prng_range_zu(bool atomic) argument [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_atomicbuf.c | 54 struct gl_active_atomic_buffer *atomic = &prog->data->AtomicBuffers[i]; local 56 &st->ctx->AtomicBufferBindings[atomic->Binding]; 68 atomic->Binding, 1, &sb);
|
/external/clang/test/SemaCXX/ |
H A D | atomic-type.cpp | 4 template<typename T> struct atomic { struct 12 atomic<inner> i;
|
H A D | MicrosoftCompatibility.cpp | 19 struct atomic : _Atomic<T> { struct in inherits:_Atomic
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_debugging.cc | 94 int *size, int *write, int *atomic, void **trace, 103 *atomic = mop->atomic ? 1 : 0; 93 __tsan_get_report_mop(void *report, uptr idx, int *tid, void **addr, int *size, int *write, int *atomic, void **trace, uptr trace_size) argument
|
H A D | tsan_report.h | 58 bool atomic; member in struct:__tsan::ReportMop
|
H A D | tsan_report.cc | 148 static const char *MopDesc(bool first, bool write, bool atomic) { argument 149 return atomic ? (first ? (write ? "Atomic write" : "Atomic read") 150 : (write ? "Previous atomic write" : "Previous atomic read")) 160 MopDesc(first, mop->write, mop->atomic),
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixLogarithm.h | 262 * \brief Helper class for computing matrix logarithm of atomic matrices. 264 * Here, an atomic matrix is a triangular matrix whose diagonal entries are close to each other. 272 /** \brief Compute matrix logarithm of atomic matrix 273 * \param[in] A argument of matrix logarithm, should be upper triangular and atomic 340 AtomicType atomic; local 342 internal::matrix_function_compute<typename DerivedEvalTypeClean::PlainObject>::run(m_A, atomic, result);
|
H A D | MatrixFunction.h | 25 * \brief Helper class for computing matrix functions of atomic matrices. 27 * Here, an atomic matrix is a triangular matrix whose diagonal entries are close to each other. 42 /** \brief Compute matrix function of atomic matrix 43 * \param[in] A argument of matrix function, should be upper triangular and atomic 244 * each diagonal block is computed by \p atomic. The off-diagonal parts of \p fT are set to zero. 247 void matrix_function_compute_block_atomic(const MatrixType& T, AtomicType& atomic, const VectorType& blockStart, const VectorType& clusterSize, MatrixType& fT) argument 252 = atomic.compute(T.block(blockStart(i), blockStart(i), clusterSize(i), clusterSize(i))); 364 * \tparam AtomicType type for computing matrix function of atomic blocks. 381 * \param[in] atomic class for computing matrix function of atomic block 402 run(const MatA& A, AtomicType& atomic, ResultType &result) argument 426 run(const MatA& A, AtomicType& atomic, ResultType &result) argument [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | regexcmp.h | 78 atomic = -3, enumerator in enum:RegexCompile::EParenClass
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io.c | 291 unreachable("Invalid atomic"); 294 nir_intrinsic_instr *atomic = local 297 nir_intrinsic_set_base(atomic, var->data.driver_location); 299 atomic->src[0] = nir_src_for_ssa(offset); 301 nir_src_copy(&atomic->src[i+1], &intrin->src[i], atomic); 304 return atomic;
|
/external/kernel-headers/original/uapi/rdma/ |
H A D | rdma_user_rxe.h | 84 } atomic; member in union:rxe_send_wr::__anon9388
|
H A D | vmw_pvrdma-abi.h | 175 /* PVRDMA masked atomic compare and swap */ 183 /* PVRDMA masked atomic fetch and add */ 241 } atomic; member in union:pvrdma_sq_wqe_hdr::__anon9395
|
/external/v8/src/libsampler/ |
H A D | sampler.cc | 48 #include "src/base/atomic-utils.h" 168 explicit AtomicGuard(AtomicMutex* atomic, bool is_blocking = true) argument 169 : atomic_(atomic), is_success_(false) {
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_build.c | 130 unsigned atomic, 148 declaration.Atomic = atomic; 121 tgsi_build_declaration( unsigned file, unsigned usage_mask, unsigned interpolate, unsigned dimension, unsigned semantic, unsigned invariant, unsigned local, unsigned array, unsigned atomic, unsigned mem_type, struct tgsi_header *header ) argument
|