Searched defs:volatile (Results 1 - 19 of 19) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Dmangle-ref-qualifiers.cpp22 A<int() const volatile>, A<int() const volatile &>, A<int() const volatile &&>) {}
20 g(A<int()>, A<int()&>, A<int()&&>, A<int() const>, A<int() const &>, A<int() const &&>, A<int() const volatile>, A<int() const volatile &>, A<int() const volatile &&>) argument
H A Dmangle-unnamed.cpp84 typedef volatile struct {
85 void test9() volatile {} argument
H A Dpredefined-expr.cpp55 // CHECK: private unnamed_addr constant [54 x i8] c"void NS::Base::constVolatileFunction() const volatile\00"
58 // CHECK: private unnamed_addr constant [43 x i8] c"void NS::Base::volatileFunction() volatile\00"
217 void volatileFunction() volatile { argument
223 void constVolatileFunction() const volatile { argument
/external/clang/test/SemaCXX/
H A Ddecltype-this.cpp15 void h() volatile { static_assert(is_same<decltype(this), volatile S*>::value, ""); } argument
16 void i() const volatile { static_assert(is_same<decltype(this), const volatile S*>::value, ""); } argument
H A Daddr-of-overloaded-function.cpp212 void V() volatile {}; argument
214 void CV() const volatile {}; argument
216 void VR() volatile __restrict {};
217 void CVR() const volatile __restrict {};
224 X = &Qualifiers::V; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}} volatile': different qualifiers (none vs volatile)}}
226 X = &Qualifiers::CV; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}} const volatile': different qualifiers (none vs const and volatile)}}
228 X = &Qualifiers::VR; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(thiscall\)\))?}} volatile restrict': different qualifiers (none vs volatile an
[all...]
/external/clang/test/CXX/expr/expr.mptr.oper/
H A Dp5.cpp6 void f2() volatile;
7 void f3() const volatile;
12 void (X0::*pmv)() volatile,
13 void (X0::*pmcv)() const volatile,
16 volatile X0 *pv,
17 const volatile X0 *pcv,
20 volatile X0 &ov,
21 const volatile X0 &ocv) {
29 (pc->*pmv)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(thiscall\)\))?}} volatile' drops 'const' qualifier}}
32 (pv->*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(thiscall\)\))?}}' drops 'volatile' qualifie
10 test_object_cvquals(void (X0::*pm)(), void (X0::*pmc)() const, void (X0::*pmv)() volatile, void (X0::*pmcv)() const volatile, X0 *p, const X0 *pc, volatile X0 *pv, const volatile X0 *pcv, X0 &o, const X0 &oc, volatile X0 &ov, const volatile X0 &ocv) argument
[all...]
/external/clang/test/Index/
H A Dcomplete-memfunc-cvquals.cpp4 void babble() const volatile;
7 void bingo() volatile;
8 void theend() const volatile;
18 smart_ptr<Foo> sf, const smart_ptr<Foo> &sfc, Foo volatile *fvp) {
36 void Foo::bingo() volatile { argument
44 // CHECK-NOQUALS: CXXMethod:{ResultType void}{TypedText babble}{LeftParen (}{RightParen )}{Informative const volatile} (35)
47 // CHECK-NOQUALS: CXXMethod:{ResultType void}{TypedText bingo}{LeftParen (}{RightParen )}{Informative volatile} (35)
51 // CHECK-CONST: CXXMethod:{ResultType void}{TypedText babble}{LeftParen (}{RightParen )}{Informative const volatile} (35)
57 // CHECK-VOLATILE: CXXMethod:{ResultType void}{TypedText babble}{LeftParen (}{RightParen )}{Informative const volatile} (35)
59 // CHECK-VOLATILE: CXXMethod:{ResultType void}{TypedText bingo}{LeftParen (}{RightParen )}{Informative volatile} (3
[all...]
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_fetch_add.pass.cpp14 // atomic_fetch_add(volatile atomic<Integral>* obj, Integral op);
22 // atomic_fetch_add(volatile atomic<T*>* obj, ptrdiff_t op);
45 volatile A t;
67 volatile A t;
80 A(const volatile A& a) : i(a.i) {}
82 void operator=(const volatile A& a) volatile {i = a.i;} argument
H A Datomic_fetch_add_explicit.pass.cpp14 // atomic_fetch_add_explicit(volatile atomic<Integral>* obj, Integral op,
22 // atomic_fetch_add_explicit(volatile atomic<T*>* obj, ptrdiff_t op,
46 volatile A t;
70 volatile A t;
84 A(const volatile A& a) : i(a.i) {}
86 void operator=(const volatile A& a) volatile {i = a.i;} argument
H A Datomic_fetch_sub.pass.cpp14 // atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op);
22 // atomic_fetch_sub(volatile atomic<T*>* obj, ptrdiff_t op);
45 volatile A t;
67 volatile A t;
80 A(const volatile A& a) : i(a.i) {}
82 void operator=(const volatile A& a) volatile {i = a.i;} argument
H A Datomic_fetch_sub_explicit.pass.cpp14 // atomic_fetch_sub_explicit(volatile atomic<Integral>* obj, Integral op,
23 // atomic_fetch_sub_explicit(volatile atomic<T*>* obj, ptrdiff_t op,
47 volatile A t;
71 volatile A t;
85 A(const volatile A& a) : i(a.i) {}
87 void operator=(const volatile A& a) volatile {i = a.i;} argument
/external/libcxx/test/utilities/function.objects/func.memfn/
H A Dmember_function_const_volatile.pass.cpp13 // unspecified mem_fn(R (T::* pm)(Args...) const volatile);
20 char test0() const volatile {return 'a';} argument
21 char test1(int) const volatile {return 'b';} argument
22 char test2(int, double) const volatile {return 'c';} argument
34 const volatile A* cap = &a;
50 const volatile A* cap = &a;
66 const volatile A* cap = &a;
H A Dmember_function_volatile.pass.cpp13 // unspecified mem_fn(R (T::* pm)(Args...) volatile);
20 char test0() volatile {return 'a';} argument
21 char test1(int) volatile {return 'b';} argument
22 char test2(int, double) volatile {return 'c';} argument
34 volatile A* cap = &a;
50 volatile A* cap = &a;
66 volatile A* cap = &a;
/external/bison/lib/
H A Dlocalcharset.c102 /* The following static variable is declared 'volatile' to avoid a
109 # define volatile /* empty */ macro
114 static const char * volatile charset_aliases;
/external/e2fsprogs/intl/
H A Dlocalcharset.c94 /* The following static variable is declared 'volatile' to avoid a
101 # define volatile /* empty */ macro
106 static const char * volatile charset_aliases;
/external/valgrind/main/coregrind/m_demangle/
H A Dansidecl.h32 volatile not defined `'
175 #undef volatile macro
194 #define VOLATILE volatile
223 #undef volatile macro
227 #define volatile macro
/external/clang/test/FixIt/
H A Dfixit.cpp169 void foo2() volatile {} // expected-error {{non-member function cannot have 'volatile' qualifier}} argument
170 void foo3() const volatile {} // expected-error {{non-member function cannot have 'const volatile' qualifier}} argument
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp98 #define volatile macro
183 volatile
/external/ppp/pppd/
H A Dpppd.h67 #define volatile macro
239 extern volatile int status; /* exit status for pppd */

Completed in 773 milliseconds