HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 1 - 25 of 1046) 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>&);
  /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*
  /prebuilts/ndk/r11/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*
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
catch_array_01.pass.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.pass.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*
  /prebuilts/ndk/r13/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*
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/test/
catch_array_01.pass.cpp 10 // Can you have a catch clause of array type that catches anything?
13 // 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?
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...]
  /external/eigen/doc/snippets/
Cwise_scalar_power_array.cpp 0 Array<double,1,3> e(2,-3,1./3.);
  /external/libmojo/mojo/public/cpp/bindings/
array_traits_standard.h 8 #include "mojo/public/cpp/bindings/array.h"
14 struct ArrayTraits<Array<T>> {
17 static bool IsNull(const Array<T>& input) { return input.is_null(); }
18 static void SetToNull(Array<T>* output) { *output = nullptr; }
20 static size_t GetSize(const Array<T>& input) { return input.size(); }
22 static T* GetData(Array<T>& input) { return &input.front(); }
24 static const T* GetData(const Array<T>& input) { return &input.front(); }
26 static typename Array<T>::RefType GetAt(Array<T>& input, size_t index) {
30 static typename Array<T>::ConstRefType GetAt(const Array<T>& input
    [all...]
  /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&> ();
129 // 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 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>&);
  /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);
  /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 &&;

Completed in 546 milliseconds

1 2 3 4 5 6 7 8 91011>>