Searched refs:atomic (Results 1 - 25 of 363) sorted by relevance

1234567891011>>

/external/libcxx/test/std/atomics/
H A Dlibcpp-has-no-threads.fail.cpp10 // <atomic>
12 // Test that including <atomic> fails to compile when _LIBCPP_HAS_NO_THREADS
19 #include <atomic>
H A Dversion.pass.cpp12 // <atomic>
14 #include <atomic>
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_var_init.pass.cpp12 // <atomic>
16 #include <atomic>
22 std::atomic<int> v = ATOMIC_VAR_INIT(5);
/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/clang/test/OpenMP/
H A Datomic_ast_print.cpp13 #pragma omp atomic
15 #pragma omp atomic read
17 #pragma omp atomic write
19 #pragma omp atomic update
21 #pragma omp atomic capture
23 #pragma omp atomic capture
28 #pragma omp atomic seq_cst
30 #pragma omp atomic read seq_cst
32 #pragma omp atomic seq_cst write
34 #pragma omp atomic updat
[all...]
H A Datomic_messages.c6 #pragma omp atomic
7 // expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type}}
14 #pragma omp atomic
15 // expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type}}
32 // Test for atomic read
33 #pragma omp atomic read
34 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}}
37 #pragma omp atomic read
38 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}}
41 #pragma omp atomic rea
[all...]
H A Datomic_messages.cpp6 #pragma omp atomic
7 // expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type}}
14 #pragma omp atomic
15 // expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop expr' or 'x = expr binop x', where x is an l-value expression with scalar type}}
41 // Test for atomic read
42 #pragma omp atomic read
43 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}}
46 #pragma omp atomic read
47 // expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v = x;', where v and x are both lvalue expressions with scalar type}}
50 #pragma omp atomic rea
[all...]
H A Datomic_codegen.cpp22 // CHECK: [[SCALAR_VAL:%.+]] = load atomic i32, i32* [[SCALAR_ADDR]] monotonic
25 #pragma omp atomic read
30 // CHECK: store atomic i32 [[B_VAL]], i32* [[SCALAR_ADDR]] monotonic
32 #pragma omp atomic write
37 // CHECK: [[OLD_VAL:%.+]] = load atomic i32, i32* [[SCALAR_ADDR]] monotonic,
50 #pragma omp atomic
52 #pragma omp atomic
57 // CHECK: [[OLD_VAL:%.+]] = load atomic i32, i32* [[SCALAR_ADDR]] monotonic,
71 #pragma omp atomic capture
82 #pragma omp atomic rea
[all...]
H A Datomic_capture_codegen.cpp83 #pragma omp atomic capture
88 #pragma omp atomic capture
92 #pragma omp atomic capture
97 #pragma omp atomic capture
101 // CHECK: [[X:%.+]] = load atomic i16, i16* [[X_ADDR:@.+]] monotonic
116 #pragma omp atomic capture
119 // CHECK: [[X:%.+]] = load atomic i32, i32* [[X_ADDR:@.+]] monotonic
132 #pragma omp atomic capture
137 #pragma omp atomic capture
140 // CHECK: [[X:%.+]] = load atomic i3
[all...]
H A Datomic_update_codegen.cpp82 #pragma omp atomic
85 #pragma omp atomic
88 #pragma omp atomic update
91 #pragma omp atomic
94 #pragma omp atomic update
98 // CHECK: [[X:%.+]] = load atomic i16, i16* [[X_ADDR:@.+]] monotonic
112 #pragma omp atomic
115 // CHECK: [[X:%.+]] = load atomic i32, i32* [[X_ADDR:@.+]] monotonic
127 #pragma omp atomic update
131 #pragma omp atomic
[all...]
H A Datomic_read_codegen.c81 // CHECK: load atomic i8, i8*
83 #pragma omp atomic read
85 // CHECK: load atomic i8, i8*
87 #pragma omp atomic read
89 // CHECK: load atomic i8, i8*
91 #pragma omp atomic read
93 // CHECK: load atomic i16, i16*
95 #pragma omp atomic read
97 // CHECK: load atomic i16, i16*
99 #pragma omp atomic rea
[all...]
H A Datomic_write_codegen.c82 // CHECK: store atomic i8
83 #pragma omp atomic write
86 // CHECK: store atomic i8
87 #pragma omp atomic write
90 // CHECK: store atomic i8
91 #pragma omp atomic write
94 // CHECK: store atomic i16
95 #pragma omp atomic write
98 // CHECK: store atomic i16
99 #pragma omp atomic writ
[all...]
/external/parameter-framework/asio/include/asio/detail/
H A Datomic_count.hpp17 # include <atomic>
22 typedef std::atomic<long> atomic_count;
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Datomic_count.hpp17 # include <atomic>
22 typedef std::atomic<long> atomic_count;
/external/libdrm/
H A Dxf86atomic.h31 * Private definitions for atomic operations
46 int atomic; member in struct:__anon9613
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:__anon9614
91 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; member in struct:__anon9615
[all...]
/external/libcxx/test/std/atomics/atomics.fences/
H A Datomic_signal_fence.pass.cpp12 // <atomic>
16 #include <atomic>
H A Datomic_thread_fence.pass.cpp12 // <atomic>
16 #include <atomic>
/external/libcxx/test/std/atomics/atomics.types.generic/
H A Dintegral_typedefs.pass.cpp12 // <atomic>
14 // typedef atomic<char> atomic_char;
15 // typedef atomic<signed char> atomic_schar;
16 // typedef atomic<unsigned char> atomic_uchar;
17 // typedef atomic<short> atomic_short;
18 // typedef atomic<unsigned short> atomic_ushort;
19 // typedef atomic<int> atomic_int;
20 // typedef atomic<unsigned int> atomic_uint;
21 // typedef atomic<long> atomic_long;
22 // typedef atomic<unsigne
[all...]
H A Dcstdint_typedefs.pass.cpp12 // <atomic>
14 // typedef atomic<int_least8_t> atomic_int_least8_t;
15 // typedef atomic<uint_least8_t> atomic_uint_least8_t;
16 // typedef atomic<int_least16_t> atomic_int_least16_t;
17 // typedef atomic<uint_least16_t> atomic_uint_least16_t;
18 // typedef atomic<int_least32_t> atomic_int_least32_t;
19 // typedef atomic<uint_least32_t> atomic_uint_least32_t;
20 // typedef atomic<int_least64_t> atomic_int_least64_t;
21 // typedef atomic<uint_least64_t> atomic_uint_least64_t;
23 // typedef atomic<int_fast8_
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAtomicLongMap.java28 import java.util.concurrent.atomic.AtomicLong;
41 * atomic unless otherwise noted.
82 AtomicLong atomic = map.get(key);
83 return atomic == null ? 0L : atomic.get();
106 AtomicLong atomic = map.get(key);
107 if (atomic == null) {
108 atomic = map.putIfAbsent(key, new AtomicLong(delta));
109 if (atomic == null) {
112 // atomic i
[all...]
/external/libcxx/test/std/atomics/atomics.flag/
H A Dcopy_ctor.fail.cpp10 // <atomic>
16 #include <atomic>
H A Dinit.pass.cpp12 // <atomic>
18 #include <atomic>
H A Dcopy_assign.fail.cpp10 // <atomic>
16 #include <atomic>
/external/libcxx/test/std/atomics/atomics.order/
H A Dkill_dependency.pass.cpp12 // <atomic>
16 #include <atomic>
/external/webrtc/talk/app/webrtc/objctests/
H A DRTCSessionDescriptionSyncObserver.h40 @property(atomic, copy) NSString *error;
42 @property(atomic, strong) RTCSessionDescription *sessionDescription;
44 @property(atomic, assign) BOOL success;

Completed in 356 milliseconds

1234567891011>>