OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_Atomic
(Results
1 - 13
of
13
) sorted by null
/external/clang/test/Sema/
atomic-type.c
3
// Basic parsing/Sema tests for
_Atomic
6
_Atomic
(int) t1;
7
_Atomic
(int) *t2 = &t1;
10
_Atomic
(
_Atomic
(int)*) t3;
11
_Atomic
(
_Atomic
(int)*) *t4[2] = { &t3, 0 };
14
extern
_Atomic
(int (*)(int(*)[], int(*)[10])) mergetest;
15
extern
_Atomic
(int (*)(int(*)[10], int(*)[])) mergetest;
16
extern
_Atomic
(int (*)(int(*)[10], int(*)[10])) mergetest
[
all
...]
atomic-ops.c
84
void f(
_Atomic
(int) *i,
_Atomic
(int*) *p,
_Atomic
(float) *d,
86
__c11_atomic_init(I, 5); // expected-error {{pointer to
_Atomic
}}
90
__c11_atomic_store((int*)0,0,0); // expected-error {{first argument to atomic operation must be a pointer to
_Atomic
}}
102
__atomic_load(I, i, memory_order_relaxed); // expected-warning {{passing '
_Atomic
(int) *' to parameter of type 'int *'}}
123
int exchange_2 = __c11_atomic_exchange(I, 1, memory_order_seq_cst); // expected-error {{must be a pointer to
_Atomic
}}
171
const
_Atomic
(int) const_atomic;
172
__c11_atomic_init(&const_atomic, 0); // expected-error {{first argument to atomic operation must be a pointer to non-const
_Atomic
type ('const
_Atomic
(int) *' invalid)}
[
all
...]
/external/clang/test/CodeGen/
atomic_ops.c
5
_Atomic
(int) i = 0;
6
_Atomic
(short) j = 0;
c11atomics.c
17
_Atomic
(_Bool) b;
18
_Atomic
(int) i;
19
_Atomic
(long long) l;
20
_Atomic
(short) s;
21
_Atomic
(char*) p;
22
_Atomic
(float) f;
23
_Atomic
(vector) v;
139
void testFloat(
_Atomic
(float) *fp) {
152
_Atomic
(float) x = 2.0f;
174
void testComplexFloat(
_Atomic
(_Complex float) *fp)
[
all
...]
c11atomics-ios.c
10
void testFloat(
_Atomic
(float) *fp) {
21
_Atomic
(float) x = 2.0f;
41
void testComplexFloat(
_Atomic
(_Complex float) *fp) {
60
_Atomic
(_Complex float) x = 2.0f;
97
void testStruct(
_Atomic
(S) *fp) {
127
_Atomic
(S) x = (S){1,2,3,4};
151
void testPromotedStruct(
_Atomic
(PS) *fp) {
180
_Atomic
(PS) x = (PS){1,2,3};
207
void testPromotedStructOps(
_Atomic
(PS) *p) {
atomic-ops.c
17
int fi1(
_Atomic
(int) *i) {
37
void fi2(
_Atomic
(int) *i) {
56
int fi3(
_Atomic
(int) *i) {
92
_Bool fi4(
_Atomic
(int) *i) {
114
float ff1(
_Atomic
(float) *d) {
120
void ff2(
_Atomic
(float) *d) {
126
float ff3(
_Atomic
(float) *d) {
130
int* fp1(
_Atomic
(int*) *p) {
136
int* fp2(
_Atomic
(int*) *p) {
151
_Complex float fc(
_Atomic
(_Complex float) *c)
[
all
...]
vla-4.c
7
_Atomic
(typeof((int (*)[f()]) h())) v;
/external/clang/test/SemaCXX/
atomic-type.cxx
4
_Atomic
(T) value;
17
int &ovl1(
_Atomic
(int));
18
long &ovl1(
_Atomic
(long));
19
float &ovl1(
_Atomic
(float));
20
double &ovl1(
_Atomic
(A const *const *));
21
short &ovl1(
_Atomic
(A **));
23
void test_overloading(int i, float f,
_Atomic
(int) ai,
_Atomic
(float) af,
24
long l,
_Atomic
(long) al, A const *const *acc,
/external/clang/test/CodeGenCXX/
atomicinit.cpp
3
_Atomic
(int) i;
19
_Atomic
(B) b;
30
void atomic_init_bool(
_Atomic
(bool) *ab, bool b) {
39
_Atomic
(bool) ab;
/external/clang/test/PCH/
types.h
10
typedef
_Atomic
(int) AtomicInt;
types.c
22
_Atomic
(int) AtomicInt_val;
/external/compiler-rt/lib/
atomic.c
58
__c11_atomic_store((
_Atomic
(uint32_t)*)&l->_count, 1, __ATOMIC_RELEASE);
65
while (!__c11_atomic_compare_exchange_weak((
_Atomic
(uint32_t)*)&l->_count, &old,
74
typedef
_Atomic
(uintptr_t) Lock;
148
*((type*)dest) = __c11_atomic_load((
_Atomic
(type)*)src, model);\
162
__c11_atomic_store((
_Atomic
(type)*)dest, *(type*)dest, model);\
180
return __c11_atomic_compare_exchange_strong((
_Atomic
(type)*)ptr, (type*)expected,\
200
*(type*)old = __c11_atomic_exchange((
_Atomic
(type)*)ptr, *(type*)val,\
227
return __c11_atomic_load((
_Atomic
(type)*)src, model);\
240
__c11_atomic_store((
_Atomic
(type)*)dest, val, model);\
255
return __c11_atomic_exchange((
_Atomic
(type)*)dest, val, model);
[
all
...]
/external/compiler-rt/lib/tsan/lit_tests/
static_init3.cc
18
_Atomic
(Cache*) queue;
Completed in 143 milliseconds