/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.require/ |
invoke.pass.cpp | 20 struct Array 27 Array<char, 1>::type& f1(); 28 Array<char, 2>::type& f2() const; 30 Array<char, 1>::type& g1() &; 31 Array<char, 2>::type& g2() const &; 33 Array<char, 3>::type& g3() &&; 34 Array<char, 4>::type& g4() const &&;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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 &&;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidArrayTest.java | 19 import java.lang.reflect.Array; 23 * Test java.lang.reflect.Array methods. 28 Object intArray = Array.newInstance(Integer.TYPE, 2); 30 int[] array = (int[]) intArray; local 31 array[0] = 5; 32 Array.setInt(intArray, 1, 6); 34 assertEquals(5, Array.getInt(intArray, 0)); 35 assertEquals(6, array[1]); 38 array[2] = 27; 44 assertEquals(2, array.length) 61 String[] array = (String[]) strArray; local [all...] |
/external/libmojo/mojo/common/ |
common_type_converters.h | 13 #include "mojo/public/cpp/bindings/array.h" 40 struct MOJO_COMMON_EXPORT TypeConverter<std::string, Array<uint8_t>> { 41 static std::string Convert(const Array<uint8_t>& input); 45 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, std::string> { 46 static Array<uint8_t> Convert(const std::string& input); 50 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::StringPiece> { 51 static Array<uint8_t> Convert(const base::StringPiece& input); 55 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, Array<uint8_t>> { 56 static base::string16 Convert(const Array<uint8_t>& input); 60 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::string16> [all...] |
common_type_converters.cc | 42 std::string TypeConverter<std::string, Array<uint8_t>>::Convert( 43 const Array<uint8_t>& input) { 51 Array<uint8_t> TypeConverter<Array<uint8_t>, std::string>::Convert( 53 Array<uint8_t> result(input.size()); 59 Array<uint8_t> TypeConverter<Array<uint8_t>, base::StringPiece>::Convert( 61 Array<uint8_t> result(input.size()); 67 base::string16 TypeConverter<base::string16, Array<uint8_t>>::Convert( 68 const Array<uint8_t>& input) [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
array.h | 25 // Represents a moveable array with contents of type |T|. The array can be null, 28 class Array { 38 // Constructs an empty array. 39 Array() : is_null_(false) {} 40 // Constructs a null array. 41 Array(std::nullptr_t null_pointer) : is_null_(true) {} 43 // Constructs a new non-null array of the specified size. The elements will 46 explicit Array(size_t size) : vec_(size), is_null_(false) {} 47 ~Array() {} [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/CXX/temp/temp.spec/temp.explicit/ |
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/clang/test/CodeGen/ |
2002-03-12-ArrayInitialization.c | 4 specified for an array. 17 struct Test Array[10] = { { 2, 12.0 }, { 3, 24.0 } };
|
/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...] |
StreamWriter.h | 53 template <typename T> Error writeArray(ArrayRef<T> Array) { 54 if (Array.size() == 0) 57 if (Array.size() > UINT32_MAX / sizeof(T)) 61 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 62 Array.size() * sizeof(T))); 66 Error writeArray(VarStreamArray<T, U> Array) { 67 return writeStreamRef(Array.getUnderlyingStream()); 70 template <typename T> Error writeArray(FixedStreamArray<T> Array) { 71 return writeStreamRef(Array.getUnderlyingStream());
|
/external/clang/test/Frontend/ |
optimization-remark-analysis.c | 7 double foo(int N, int *Array) { 12 switch(Array[i]) {
|
/external/eigen/test/ |
rvalue_types.cpp | 38 Scalar abs_diff = (m-n).array().abs().sum(); 52 CALL_SUBTEST_1(rvalue_copyassign( Array<float,1,Dynamic>::Random(50).eval() )); 55 CALL_SUBTEST_1(rvalue_copyassign( Array<float,Dynamic,1>::Random(50).eval() )); 57 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,1>::Random().eval() )); 58 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,1>::Random().eval() )); 59 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,1>::Random().eval() )); 61 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,2>::Random().eval() )); 62 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,3>::Random().eval() )); 63 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,4>::Random().eval() ));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/ |
GwtPlatform.java | 20 import com.google.gwt.lang.Array; 35 public static <T> T[] clone(T[] array) { 36 return (T[]) Array.clone(array);
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p6.cpp | 42 template<class T> class Array { /* ... */ }; 44 template<class T> void sort(Array<T>& v) { /* ... */ } 48 void f(Array<String>& v) { 52 // sort(Array<T>&), T is String 55 template<> void sort<String>(Array<String>& v); // // expected-error{{after instantiation}} 56 template<> void sort<>(Array<char*>& v); // OK: sort<char*> not yet used
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
LibCallSemantics.cpp | 52 const LibCallFunctionInfo *Array = getFunctionInfoArray(); 53 if (Array == 0) return 0; 55 // We now have the array of entries. Populate the StringMap. 56 for (unsigned i = 0; Array[i].Name; ++i) 57 (*Map)[Array[i].Name] = Array+i;
|
/external/deqp/modules/gles2/functional/ |
es2fVertexArrayTest.cpp | 21 * \brief Vertex array and buffer tests 72 Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW}; 75 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_BYTE} [all...] |
/external/eigen/unsupported/Eigen/src/Splines/ |
SplineFwd.h | 38 typedef Array<Scalar,1,OrderAtCompileTime> BasisVectorType; 41 typedef Array<Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType; 44 typedef Array<Scalar,Dimension,Dynamic,DerivativeMemoryLayout,Dimension,NumOfDerivativesAtCompileTime> DerivativeType; 47 typedef Array<Scalar,Dimension,1> PointType; 50 typedef Array<Scalar,1,Dynamic> KnotVectorType; 53 typedef Array<Scalar,1,Dynamic> ParameterVectorType; 56 typedef Array<Scalar,Dimension,Dynamic> ControlPointVectorType; 74 typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType; 77 typedef Array<_Scalar,_Dim,Dynamic,DerivativeMemoryLayout,_Dim,NumOfDerivativesAtCompileTime> DerivativeType;
|
/external/clang/test/SemaTemplate/ |
instantiate-member-initializers.cpp | 39 template<typename T> struct Array { 41 Array() : a() {} 43 Array<int> s;
|
/external/mockito/src/main/java/org/mockito/internal/matchers/text/ |
ArrayIterator.java | 7 import java.lang.reflect.Array; 16 private final Object array; field in class:ArrayIterator 19 public ArrayIterator(Object array) { 20 if (array == null) { 22 throw new IllegalArgumentException("Expected array instance but got null"); 24 if (!array.getClass().isArray()) { 25 throw new IllegalArgumentException("Expected array but got object of type: " 26 + array.getClass() + ", the object: " + array.toString()); 28 this.array = array [all...] |