HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 1 - 25 of 1473) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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>&);
  /ndk/sources/cxx-stl/gabi++/tests/
catch_array_01.cpp 10 // Can you have a catch clause of array type that catches anything?
16 typedef char Array[4];
17 Array a = {'H', 'i', '!', 0};
23 catch (Array& b) // can't catch char*
catch_array_02.cpp 10 // Can you have a catch clause of array type that catches anything?
16 typedef char Array[4];
17 Array a = {'H', 'i', '!', 0};
23 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 } };
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 19 import java.lang.reflect.Array;
45 assertEquals(booleans[0], Array.getBoolean(booleans, 0));
46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {}
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {}
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {
    [all...]
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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.rel/
is_convertible.pass.cpp 35 typedef char Array[1];
48 test_is_not_convertible<void,Array> ();
49 test_is_not_convertible<void,Array&> ();
59 test_is_not_convertible<Function, Array> ();
60 test_is_not_convertible<Function, Array&> ();
71 test_is_not_convertible<Function&, Array> ();
72 test_is_not_convertible<Function&, Array&> ();
83 test_is_not_convertible<Function*, Array> ();
84 test_is_not_convertible<Function*, Array&> ();
89 // Array
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
ArrayTest.java 20 import java.lang.reflect.Array;
25 * @tests java.lang.reflect.Array#get(java.lang.Object, int)
29 // java.lang.reflect.Array.get(java.lang.Object, int)
34 ret = Array.get(x, 0);
39 ret = Array.get(new Object(), 0);
45 fail("Passing non-array failed to throw exception");
49 ret = Array.get(x, 4);
60 * @tests java.lang.reflect.Array#getBoolean(java.lang.Object, int)
64 // java.lang.reflect.Array.getBoolean(java.lang.Object, int)
68 ret = Array.getBoolean(x, 0)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
ArrayTest.java 20 import java.lang.reflect.Array;
25 * java.lang.reflect.Array#get(java.lang.Object, int)
29 // java.lang.reflect.Array.get(java.lang.Object, int)
35 ret = Array.get(x, 0);
42 ret = Array.get(new Object(), 0);
48 fail("Passing non-array failed to throw exception");
52 ret = Array.get(x, 4);
66 ret = Array.get(y, 0);
73 ret = Array.get(new Object(), 0);
79 fail("Passing non-array failed to throw exception")
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p2.cpp 4 template<class T> class Array { void mf() { } };
6 template class Array<char>;
7 template void Array<int>::mf();
8 template<class T> void sort(Array<T>& v) { /* ... */ }
9 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>&);
  /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...]
  /dalvik/tests/045-reflect-array/src/
Main.java 5 import java.lang.reflect.Array;
8 * Test java.lang.reflect.Array.
26 intArray = Array.newInstance(Integer.TYPE, 2);
28 int[] array = (int[]) intArray; local
29 array[0] = 5;
30 Array.setInt(intArray, 1, 6);
32 if (Array.getInt(intArray, 0) != 5)
34 if (array[1] != 6)
37 array[2] = 27;
41 Array.setInt(intArray, 2, 27)
74 char[] array = (char[]) charArray; local
145 long[] array = (long[]) longArray; local
166 String[] array = (String[]) strArray; local
    [all...]
  /external/mockito/src/org/mockito/internal/matchers/
Equality.java 7 import java.lang.reflect.Array;
28 return Array.getLength(o1) == Array.getLength(o2);
32 for (int i = 0; i < Array.getLength(o1); i++) {
33 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false;
  /external/hamcrest/src/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;
18 return currentIndex < Array.getLength(array);
22 return Array.get(array, currentIndex++)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
UIString.js 39 return String.vsprintf(string, Array.prototype.slice.call(arguments, 1));
  /external/chromium_org/third_party/skia/include/utils/
SkJSON.h 27 class Array;
48 * parameter is copied, but ownership of the Array parameter is
49 * transferred. The Array parameter may be null, but the name must
52 void addArray(const char name[], Array* value);
90 bool findArray(const char name[], Array** = NULL) const;
146 Array* arrayValue() const;
184 friend class Array;
187 class Array {
190 * Creates an array with the specified Type and element count. All
193 Array(Type, int count)
    [all...]
  /external/skia/include/utils/
SkJSON.h 27 class Array;
48 * parameter is copied, but ownership of the Array parameter is
49 * transferred. The Array parameter may be null, but the name must
52 void addArray(const char name[], Array* value);
90 bool findArray(const char name[], Array** = NULL) const;
146 Array* arrayValue() const;
184 friend class Array;
187 class Array {
190 * Creates an array with the specified Type and element count. All
193 Array(Type, int count)
    [all...]
  /external/eigen/Eigen/src/Core/
Array.h 15 /** \class Array
20 * The %Array class is very similar to the Matrix class. It provides
22 * %Array and the %Matrix class is primarily in the API: the API for the
23 * %Array class provides easy access to coefficient-wise operations, while the
34 struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
37 typedef ArrayBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > XprBase;
42 class Array
43 : public PlainObjectBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
47 typedef PlainObjectBase<Array> Base;
48 EIGEN_DENSE_PUBLIC_INTERFACE(Array)
    [all...]
  /external/chromium_org/v8/test/webkit/fast/js/
array-functions-non-arrays.js 25 "Test some array functions on non-array objects."
102 shouldBe("Array.prototype.toString.call({})", '"' + ({}).toString() + '"');
103 shouldBe("Array.prototype.toString.call(new Date)", '"' + Object.prototype.toString.call(new Date) + '"');
104 shouldBe("Array.prototype.toString.call({sort: function() { return 'sort' }})", '"' + Object.prototype.toString.call({}) + '"');
105 shouldBe("Array.prototype.toString.call({join: function() { return 'join' }})", '"join"');
106 shouldBe("Array.prototype.toString.call({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3})", '"a,b,c"');
107 shouldBe("({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3}).toString()", '"a,b,c"');
108 shouldBe("Array.prototype.toString.call({__proto__: Array.prototype, 0: 'a', 1: 'b', 2: 'c', length: 3, join: func (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MessagePort.idl 31 [Custom, RaisesException] void postMessage(any message, optional Array messagePorts);
  /external/chromium_org/third_party/WebKit/Source/core/workers/
DedicatedWorkerGlobalScope.idl 34 [Custom, RaisesException] void postMessage(any message, optional Array messagePorts);
  /external/clang/test/CodeGenCXX/
exception-spec-decay.cpp 2 typedef int Array[10];
4 void foo() throw (Array) {
  /external/eigen/unsupported/Eigen/src/Splines/
SplineFwd.h 36 typedef Array<Scalar,1,OrderAtCompileTime> BasisVectorType;
39 typedef Array<Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType;
42 typedef Array<Scalar,Dimension,Dynamic,ColMajor,Dimension,NumOfDerivativesAtCompileTime> DerivativeType;
45 typedef Array<Scalar,Dimension,1> PointType;
48 typedef Array<Scalar,1,Dynamic> KnotVectorType;
51 typedef Array<Scalar,Dimension,Dynamic> ControlPointVectorType;
67 typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType;
70 typedef Array<_Scalar,_Dim,Dynamic,ColMajor,_Dim,NumOfDerivativesAtCompileTime> DerivativeType;

Completed in 971 milliseconds

1 2 3 4 5 6 7 8 91011>>