/external/clang/test/SemaOpenCL/ |
vector_literals_const.cl | 8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4); 9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4); 10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4); 11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4)); 12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4)); 13 __constant int4 i_3_1 = (int4)((int3)(1,2,3),4); 14 __constant int4 i_1_3 = (int4)(1,(int3)(2,3,4)); 20 __constant float4 f_1_1_1_1 = (float4)(1,2,3,4); 21 __constant float4 f_2_1_1 = (float4)((float2)(1,2),3,4); 22 __constant float4 f_1_2_1 = (float4)(1,(float2)(2,3),4) [all...] |
str_literals.cl | 4 constant char * __constant x = "hello world"; 6 void foo(__constant char * a) {
|
address-spaces.cl | 3 __constant int ci = 1; 12 ip = &ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of pointer}} 18 g = (global int*) c; // expected-error {{casting '__constant int *' to type '__global int *' changes address space of pointer}} 19 g = (global int*) cc; // expected-error {{casting 'const __constant int *' to type '__global int *' changes address space of pointer}} 23 l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' changes address space of pointer}} 24 l = (local int*) cc; // expected-error {{casting 'const __constant int *' to type '__local int *' changes address space of pointer}} 27 c = (constant int*) g; // expected-error {{casting '__global int *' to type '__constant int *' changes address space of pointer}} 28 c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' changes address space of pointer}} 29 c = (constant int*) p; // expected-error {{casting 'int *' to type '__constant int *' changes address space of pointer}} 33 p = (private int*) c; // expected-error {{casting '__constant int *' to type 'int *' changes address space of pointer} [all...] |
builtin.cl | 8 int printf(__constant const char* st, ...);
|
address-spaces-conversions-cl2.0.cl | 11 * other address space except for __constant address space (Section 6.5.5). 14 * case), and __constant, that should cover all program paths for CL address 58 // expected-error@-2{{initializing '__constant int *' with an expression of type '__global int *' changes address space of pointer}} 68 // expected-error-re@-2{{initializing '__{{global|generic}} int *' with an expression of type '__constant int *' changes address space of pointer}} 83 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of pointer}} 93 // expected-error-re@-2{{casting '__constant int *' to type '__{{global|generic}} int *' changes address space of pointer}} 103 // expected-error@-2{{casting '__generic int *' to type '__constant int *' changes address space of pointer}} 109 // expected-error@-2{{assigning '__global int *' to '__constant int *' changes address space of pointer}} 119 // expected-error-re@-2{{assigning '__constant int *' to '__{{global|generic}} int *' changes address space of pointer}} 134 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of pointer} [all...] |
null_literal.cl | 14 constant int* ptr4 = (global void*)0; // expected-error{{initializing '__constant int *' with an expression of type '__global void *' changes address space of pointer}}
|
/external/clang/test/CodeGenOpenCL/ |
str_literals.cl | 3 __constant char * __constant x = "hello world"; 4 __constant char * __constant y = "hello world";
|
address-space-constant-initializers.cl | 8 __constant ArrayStruct constant_array_struct = { 0, 0.0f }; 11 __constant float* constant_float_ptr; 17 __constant ConstantArrayPointerStruct constant_array_pointer_struct = {
|
constant-addr-space-globals.cl | 4 __constant float array[2] = {0.0f, 1.0f};
|
vector_literals_nested.cl | 6 __constant const int4 itest1 = (int4)(1, 2, ((int2)(3, 4))); 8 __constant const int4 itest2 = (int4)(1, 2, ((int2)(3)));
|
address-spaces.cl | 14 void f__c(__constant int *arg) {}
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 159 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 163 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 238 _M_attach(_Safe_iterator_base* __it, bool __constant); 242 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 169 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 173 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 238 _M_attach(_Safe_iterator_base* __it, bool __constant); 242 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 169 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 173 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 238 _M_attach(_Safe_iterator_base* __it, bool __constant); 242 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 169 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 173 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 247 _M_attach(_Safe_iterator_base* __it, bool __constant); 251 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 169 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 173 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 247 _M_attach(_Safe_iterator_base* __it, bool __constant); 251 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
safe_unordered_base.h | 58 * by @p __seq. @p __constant is true when we are initializing a 64 _Safe_local_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 65 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 68 @p __x does. @p __constant is true if this is a constant 71 bool __constant) 72 { this->_M_attach(__x._M_sequence, __constant); } 91 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 94 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 169 _M_attach_local(_Safe_iterator_base* __it, bool __constant); 173 _M_attach_local_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
safe_base.h | 81 * by @p __seq. @p __constant is true when we are initializing a 87 _Safe_iterator_base(const _Safe_sequence_base* __seq, bool __constant) 89 { this->_M_attach(const_cast<_Safe_sequence_base*>(__seq), __constant); } local 92 @p __x does. @p __constant is true if this is a constant 94 _Safe_iterator_base(const _Safe_iterator_base& __x, bool __constant) 96 { this->_M_attach(__x._M_sequence, __constant); } 115 void _M_attach(_Safe_sequence_base* __seq, bool __constant); 118 void _M_attach_single(_Safe_sequence_base* __seq, bool __constant) throw (); 247 _M_attach(_Safe_iterator_base* __it, bool __constant); 251 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () [all...] |
/external/libcxx/src/ |
strstream.cpp | 61 : __strmode_(__constant), 79 : __strmode_(__constant), 97 : __strmode_(__constant), 206 if (__strmode_ & __constant)
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/ |
strstream.cpp | 59 : __strmode_(__constant), 77 : __strmode_(__constant), 95 : __strmode_(__constant), 202 if (__strmode_ & __constant)
|