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

12 3 4 5 6 7 8 91011>>

  /ndk/tests/device/test-stlport_shared-exception/jni/
array5.cpp 6 // array of class.
35 struct Array
37 A array[2][2][2]; member in struct:Array
45 Array A;
  /ndk/tests/device/test-stlport_static-exception/jni/
array5.cpp 6 // array of class.
35 struct Array
37 A array[2][2][2]; member in struct:Array
45 Array A;
  /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/clang/test/CodeGen/
debug-info-iv.c 16 for (j = 0; j < 100; j+=3) /* 2d array access */
22 int Array[100][200], i, j;
27 Array[i][j] = 0;
28 test_indvars(Array[0], Array);
33 sum += Array[i][j];
  /external/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;
  /art/runtime/mirror/
array.cc 17 #include "array.h"
35 Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count,
55 Array* array = down_cast<Array*>(heap->AllocObject(self, array_class, size)); local
56 if (array != NULL) {
57 DCHECK(array->IsArrayInstance());
58 array->SetLength(component_count);
60 return array;
    [all...]
array.h 25 class MANAGED Array : public Object {
29 static Array* Alloc(Thread* self, Class* array_class, int32_t component_count)
32 static Array* Alloc(Thread* self, Class* array_class, int32_t component_count,
36 static Array* CreateMultiArray(Thread* self, Class* element_class, IntArray* dimensions)
42 return GetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), false);
47 SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length, false);
51 return OFFSET_OF_OBJECT_MEMBER(Array, length_);
56 return OFFSET_OF_OBJECT_MEMBER(Array, first_element_);
59 return MemberOffset(OFFSETOF_MEMBER(Array, first_element_) + 4);
89 // The number of array elements
    [all...]
  /external/chromium_org/v8/test/webkit/
array-proto-func-length-getter-except.js 25 "This test checks that functions on the array prototype correctly handle exceptions from length getters when called on non-array objects."
47 shouldBeTrue("test(Array.prototype.join)");
48 shouldBeTrue("test(Array.prototype.pop)");
49 shouldBeTrue("test(Array.prototype.push)");
50 shouldBeTrue("test(Array.prototype.reverse)");
51 shouldBeTrue("test(Array.prototype.shift)");
52 shouldBeTrue("test(Array.prototype.slice)");
53 shouldBeTrue("test(Array.prototype.sort)");
54 shouldBeTrue("test(Array.prototype.splice)")
    [all...]
array-proto-func-property-getter-except.js 25 "This test checks that functions on the array prototype correctly handle exceptions from property getters when called on non-array objects."
48 // This test makes sense for these functions: (they should get all properties on the array)
49 shouldBeTrue("test(Array.prototype.sort)");
50 shouldBeTrue("test(Array.prototype.every)");
51 shouldBeTrue("test(Array.prototype.some)");
52 shouldBeTrue("test(Array.prototype.forEach)");
53 shouldBeTrue("test(Array.prototype.map)");
54 shouldBeTrue("test(Array.prototype.filter)");
55 shouldBeTrue("test(Array.prototype.reduce)")
    [all...]
  /external/chromium_org/v8/test/mjsunit/
array-constructor.js 33 var a = new Array();
34 var b = Array();
46 var a = new Array(j);
47 var b = Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6)
    [all...]
elements-transition-hoisting.js 37 support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6));
46 // Make sure that a simple elements array transitions inside a loop before
47 // stores to an array gets hoisted in a way that doesn't generate a deopt in
58 testDoubleConversion4(new Array(5));
59 testDoubleConversion4(new Array(5)); // Call twice to make sure that second
63 testDoubleConversion4(new Array(5));
64 testDoubleConversion4(new Array(5));
84 testExactMapHoisting(new Array(5));
85 testExactMapHoisting(new Array(5)); // Call twice to make sure that second
89 testExactMapHoisting(new Array(5))
    [all...]
  /external/clang/test/SemaTemplate/
instantiate-member-initializers.cpp 39 template<typename T> struct Array {
41 Array() : a() {}
43 Array<int> s;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
GwtPlatform.java 21 import com.google.gwt.lang.Array;
37 public static <T> T[] clone(T[] array) {
38 return (T[]) Array.clone(array);
42 return Array.createFrom(reference, length);
  /external/v8/test/mjsunit/
array-constructor.js 33 var a = new Array();
34 var b = Array();
46 var a = new Array(j);
47 var b = Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6)
    [all...]
elements-transition-hoisting.js 34 support_smi_only_arrays = %HasFastSmiOnlyElements(new Array(1,2,3,4,5,6));
48 // Make sure that a simple elements array transitions inside a loop before
49 // stores to an array gets hoisted in a way that doesn't generate a deopt in
60 testDoubleConversion4(new Array(5));
62 testDoubleConversion4(new Array(5));
63 testDoubleConversion4(new Array(5));
82 testExactMapHoisting(new Array(5));
84 testExactMapHoisting(new Array(5));
85 testExactMapHoisting(new Array(5));
109 testExactMapHoisting2(new Array(5))
    [all...]
  /external/chromium_org/mojo/public/bindings/lib/
array.h 18 // Provides read-only access to array data.
20 class Array {
26 Array() : data_(NULL) {
30 Array(const U& u, Buffer* buf = Buffer::current()) {
31 *this = TypeConverter<Array<T>,U>::ConvertFrom(u, buf);
35 Array& operator=(const U& u) {
36 *this = TypeConverter<Array<T>,U>::ConvertFrom(u, Buffer::current());
47 return TypeConverter<Array<T>,U>::ConvertTo(*this);
59 // Provides a way to initialize an array element-by-element.
62 typedef typename Array<T>::Data Data
    [all...]
  /external/hamcrest/src/org/hamcrest/core/
IsEqual.java 10 import java.lang.reflect.Array;
48 return Array.getLength(o1) == Array.getLength(o2);
52 for (int i = 0; i < Array.getLength(o1); i++) {
53 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false;
  /external/junit/src/org/junit/internal/
ComparisonCriteria.java 3 import java.lang.reflect.Array;
22 * Object array or array of arrays (multi-dimensional array) with
25 * Object array or array of arrays (multi-dimensional array) with
38 Object expected= Array.get(expecteds, i);
39 Object actual= Array.get(actuals, i);
64 Assert.fail(header + "expected array was null")
    [all...]
  /external/easymock/src/org/easymock/internal/
ArgumentToString.java 18 import java.lang.reflect.Array;
40 for (int i = 0; i < Array.getLength(value); i++) {
44 appendArgument(Array.get(value, i), buffer);
  /libcore/luni/src/main/java/java/util/
UnsafeArrayList.java 19 import java.lang.reflect.Array;
22 * An array-backed list that exposes its array.
28 private T[] array; field in class:UnsafeArrayList
32 this.array = (T[]) Array.newInstance(elementType, initialCapacity);
37 if (size == array.length) {
38 T[] newArray = (T[]) Array.newInstance(elementType, size * 2);
39 System.arraycopy(array, 0, newArray, 0, size);
40 array = newArray
47 public T[] array() { method in class:UnsafeArrayList
    [all...]
  /art/runtime/native/
java_lang_reflect_Array.cc 39 mirror::Array* new_array = mirror::Array::CreateMultiArray(soa.Self(), element_class, dimensions_array);
61 mirror::Array* new_array = mirror::Array::Alloc(soa.Self(), array_class, length);
66 NATIVE_METHOD(Array, createMultiArray, "(Ljava/lang/Class;[I)Ljava/lang/Object;"),
67 NATIVE_METHOD(Array, createObjectArray, "(Ljava/lang/Class;I)Ljava/lang/Object;"),
71 REGISTER_NATIVE_METHODS("java/lang/reflect/Array");
  /external/chromium_org/mojo/public/tests/
bindings_array_unittest.cc 5 #include "mojo/public/bindings/lib/array.h"
12 // Tests that basic Array operations work.
16 // 8 bytes for the array, with 8 bytes left over for elements.
20 Array<char>::Builder builder(8);
27 Array<char> array = builder.Finish(); local
28 for (size_t i = 0; i < array.size(); ++i) {
30 EXPECT_EQ(val, array[i]);
34 // Tests that basic Array<bool> operations work, and that it's packed into 1
39 // 8 bytes for the array header, with 8 bytes left over for elements
51 Array<bool> array = builder.Finish(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_primitive_restart.c 55 cut_index_will_work = (ctx->Array.RestartIndex & 0xff) == 0xff;
58 cut_index_will_work = (ctx->Array.RestartIndex & 0xffff) == 0xffff;
61 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff;
160 if (!(ctx->Array.PrimitiveRestart)) {
199 ctx->Array.PrimitiveRestart ? HSW_CUT_INDEX_ENABLE : 0;
203 OUT_BATCH(ctx->Array.RestartIndex);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_primitive_restart.c 55 cut_index_will_work = (ctx->Array.RestartIndex & 0xff) == 0xff;
58 cut_index_will_work = (ctx->Array.RestartIndex & 0xffff) == 0xffff;
61 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff;
160 if (!(ctx->Array.PrimitiveRestart)) {
199 ctx->Array.PrimitiveRestart ? HSW_CUT_INDEX_ENABLE : 0;
203 OUT_BATCH(ctx->Array.RestartIndex);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ArrayValue.h 39 explicit ArrayValue(const v8::Local<v8::Array>& array, v8::Isolate* isolate)
40 : m_array(array)
60 v8::Local<v8::Array> m_array;

Completed in 726 milliseconds

12 3 4 5 6 7 8 91011>>