/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p11.cpp | 4 template<class T> class Array { /* ... */ }; 5 template<class T> void sort(Array<T>& v); 7 // explicit specialization for sort(Array<int>&) 9 template<> void sort(Array<int>&);
|
/device/linaro/bootloader/edk2/ShellPkg/Application/ShellSortTestApp/ |
ShellSortTestApp.c | 65 INTN Array[10];
67 Array[0] = 2;
68 Array[1] = 3;
69 Array[2] = 4;
70 Array[3] = 1;
71 Array[4] = 5;
72 Array[5] = 6;
73 Array[6] = 7;
74 Array[7] = 8;
75 Array[8] = 1; [all...] |
/external/libcxxabi/test/ |
catch_array_01.pass.cpp | 10 // Can you have a catch clause of array type that catches anything? 12 // GCC incorrectly allows array types to be caught by reference. 21 typedef char Array[4]; 22 Array a = {'H', 'i', '!', 0}; 28 catch (Array& b) // can't catch char*
|
catch_array_02.pass.cpp | 10 // Can you have a catch clause of array type that catches anything? 17 typedef char Array[4]; 18 Array a = {'H', 'i', '!', 0}; 24 catch (Array b) // equivalent to char*
|
/external/clang/test/CodeGen/ |
2002-01-24-ComplexSpaceInType.c | 4 // %Array = uninitialized global [10 x %complex int] 9 struct { int X, Y; } Array[10];
|
2002-03-12-ArrayInitialization.c | 4 specified for an array. 17 struct Test Array[10] = { { 2, 12.0 }, { 3, 24.0 } };
|
/external/eigen/doc/snippets/ |
Cwise_scalar_power_array.cpp | 0 Array<double,1,3> e(2,-3,1./3.);
|
/external/libcxx/test/std/utilities/meta/meta.rel/ |
is_convertible.pass.cpp | 49 typedef char Array[1]; 71 test_is_not_convertible<void,Array> (); 72 test_is_not_convertible<void,Array&> (); 89 test_is_not_convertible<Function, Array> (); 90 test_is_not_convertible<Function, Array&> (); 101 test_is_not_convertible<Function&, Array> (); 102 test_is_not_convertible<Function&, Array&> (); 113 test_is_not_convertible<Function*, Array> (); 114 test_is_not_convertible<Function*, Array&> (); 131 // Array [all...] |
/external/deqp/modules/gles3/functional/ |
es3fVertexArrayTest.cpp | 21 * \brief Vertex array and buffer tests 41 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage); 50 Array::Usage m_usage; 53 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) 54 : TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage).c_str()) 75 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_BYTE} [all...] |
/external/deqp/modules/gles3/stress/ |
es3sVertexArrayTests.cpp | 21 * \brief Vertex array and buffer unaligned access stress tests 44 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage); 53 Array::Usage m_usage; 56 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) 57 : TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage).c_str()) 78 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_BYTE} [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
p2.cpp | 6 template<class T> class Array { void mf() { } }; 8 template class Array<char>; 9 template void Array<int>::mf(); 10 template<class T> void sort(Array<T>& v) { /* ... */ } 11 template void sort(Array<char>&);
|
p6.cpp | 4 template<class T> class Array { /* ... */ }; 5 template<class T> void sort(Array<T>& v) { } 7 // instantiate sort(Array<int>&) - template-argument deduced 8 template void sort<>(Array<int>&); 10 template void sort(Array<long>&);
|
/external/deqp/framework/common/ |
tcuArray.hpp | 23 * \brief Templatized array class. 35 class Array 38 Array (void) {} 39 ~Array (void) {} 53 std::ostream& operator<< (std::ostream& stream, const Array<T, Size>& arr) 55 return stream << Format::Array<T*>(arr.getPtr(), arr.getPtr() + Size);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
indexed_array_analysis.h | 30 // gather from another array. It does this by mapping HLO instructions to 31 // instances of IndexedArrayAnalysis::Array, which can be inspected to discover 35 // IndexedArrayAnalysis maps each HLO instruction to an instance of a Array. 36 // Array really just a sum type of the classes that inherit from it. The 39 // Array instances are immutable once created. 40 class Array { 53 // Does a checked downcast from `Array` to `T` which must be one of its 57 static_assert((std::is_base_of<Array, T>::value), 67 virtual ~Array() = default; 69 Array& operator=(const Array& other) = delete [all...] |
/art/test/045-reflect-array/src/ |
Main.java | 5 import java.lang.reflect.Array; 8 * Test java.lang.reflect.Array. 27 intArray = Array.newInstance(Integer.TYPE, 2); 29 int[] array = (int[]) intArray; local 30 array[0] = 5; 31 Array.setInt(intArray, 1, 6); 33 if (Array.getInt(intArray, 0) != 5) 35 if (array[1] != 6) 38 array[2] = 27; 42 Array.setInt(intArray, 2, 27) 75 char[] array = (char[]) charArray; local 146 long[] array = (long[]) longArray; local 167 String[] array = (String[]) strArray; local [all...] |
/external/eigen/test/ |
sizeof.cpp | 24 CALL_SUBTEST(verifySizeOf(Array<float, 2, 1>()) ); 25 CALL_SUBTEST(verifySizeOf(Array<float, 3, 1>()) ); 26 CALL_SUBTEST(verifySizeOf(Array<float, 4, 1>()) ); 27 CALL_SUBTEST(verifySizeOf(Array<float, 5, 1>()) ); 28 CALL_SUBTEST(verifySizeOf(Array<float, 6, 1>()) ); 29 CALL_SUBTEST(verifySizeOf(Array<float, 7, 1>()) ); 30 CALL_SUBTEST(verifySizeOf(Array<float, 8, 1>()) ); 31 CALL_SUBTEST(verifySizeOf(Array<float, 9, 1>()) ); 32 CALL_SUBTEST(verifySizeOf(Array<float, 10, 1>()) ); 33 CALL_SUBTEST(verifySizeOf(Array<float, 11, 1>()) ) [all...] |
/external/libcxx/test/libcxx/utilities/function.objects/func.require/ |
invoke.pass.cpp | 18 struct Array 25 Array<char, 1>::type& f1(); 26 Array<char, 2>::type& f2() const; 28 Array<char, 1>::type& g1() &; 29 Array<char, 2>::type& g2() const &; 30 Array<char, 3>::type& g3() &&; 31 Array<char, 4>::type& g4() const &&;
|
/art/tools/cpp-define-generator/ |
mirror_array.def | 18 #include "mirror/array.h" 22 art::mirror::Array::LengthOffset().Int32Value()) 24 art::mirror::Array::DataOffset(sizeof(uint8_t)).Int32Value()) 26 art::mirror::Array::DataOffset(sizeof(int8_t)).Int32Value()) 28 art::mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value()) 30 art::mirror::Array::DataOffset(sizeof(int32_t)).Int32Value()) 32 art::mirror::Array::DataOffset(sizeof(uint64_t)).Int32Value()) 36 art::mirror::Array::DataOffset(sizeof(art::mirror::HeapReference<art::mirror::Object>)).Int32Value()) 38 art::mirror::Array::DataOffset(sizeof(int16_t)).Int32Value()) 40 art::mirror::Array::DataOffset(sizeof(uint64_t)).Int32Value() [all...] |
/external/eigen/Eigen/src/Core/ |
Array.h | 17 struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 20 typedef ArrayBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > XprBase; 24 /** \class Array 29 * The %Array class is very similar to the Matrix class. It provides 31 * %Array and the %Matrix class is primarily in the API: the API for the 32 * %Array class provides easy access to coefficient-wise operations, while the 45 class Array 46 : public PlainObjectBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 50 typedef PlainObjectBase<Array> Base; 51 EIGEN_DENSE_PUBLIC_INTERFACE(Array) [all...] |
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 21 * \brief Vertex array and buffer unaligned access stress tests 73 Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW}; 76 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_BYTE} [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
Equality.java | 7 import java.lang.reflect.Array; 30 return Array.getLength(o1) == Array.getLength(o2); 34 for (int i = 0; i < Array.getLength(o1); i++) { 35 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false;
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/ |
ArrayIterator.java | 3 import java.lang.reflect.Array; 7 private final Object array; field in class:ArrayIterator 10 public ArrayIterator(Object array) { 11 if (!array.getClass().isArray()) { 12 throw new IllegalArgumentException("not an array"); 14 this.array = array; 19 return currentIndex < Array.getLength(array); 24 return Array.get(array, currentIndex++) [all...] |
/external/clang/test/CodeGenCXX/ |
pr20897.cpp | 32 int Array[1];
|
exception-spec-decay.cpp | 2 typedef int Array[10]; 4 void foo() throw (Array) {
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamArray.h | 1 //===- StreamArray.h - Array backed by an arbitrary stream ----------------===// 40 /// VarStreamArray represents an array of variable length records backed by a 112 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, 114 : IterRef(Array.Stream), Array(&Array), HadError(HadError), Extract(E) { 126 if (Array && R.Array) { 127 // Both have a valid array, make sure they're same. 128 assert(Array == R.Array) [all...] |