HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 1 - 25 of 1581) 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>&);
  /external/libcxxabi/test/
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*
  /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*
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
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];
  /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...]
  /external/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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.rel/
is_convertible.pass.cpp 35 typedef char Array[1];
55 test_is_not_convertible<void,Array> ();
56 test_is_not_convertible<void,Array&> ();
66 test_is_not_convertible<Function, Array> ();
67 test_is_not_convertible<Function, Array&> ();
78 test_is_not_convertible<Function&, Array> ();
79 test_is_not_convertible<Function&, Array&> ();
90 test_is_not_convertible<Function*, Array> ();
91 test_is_not_convertible<Function*, Array&> ();
96 // Array
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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/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 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>&);
  /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/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 &&;
  /ndk/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 &&;
  /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/chromium_org/v8/test/mjsunit/regress/
regress-358090.js 5 var x = Array(100000);
6 y = Array.apply(Array, x);
  /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/device/serial/
serial_device_enumerator.h 10 #include "mojo/public/cpp/bindings/array.h"
22 virtual mojo::Array<SerialDeviceInfoPtr> GetDevices() = 0;
serial_device_enumerator_mac.h 19 virtual mojo::Array<SerialDeviceInfoPtr> GetDevices() OVERRIDE;

Completed in 476 milliseconds

1 2 3 4 5 6 7 8 91011>>