Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 3359) sorted by relevance

12345678910>>...135

/external/v8/test/webkit/
Ddfg-arrayify-elimination-expected.txt24 PASS array is [,42,43,44]
25 PASS array is [52,42,43,44]
26 PASS array is [,42,43,44]
27 PASS array is [52,42,43,44]
28 PASS array is [,42,43,44]
29 PASS array is [52,42,43,44]
30 PASS array is [,42,43,44]
31 PASS array is [52,42,43,44]
32 PASS array is [,42,43,44]
33 PASS array is [52,42,43,44]
[all …]
Ddfg-ensure-array-storage-on-window-expected.txt24 Tests that passing the global object to an array access that will arrayify to ArrayWithArrayStorage…
29 PASS foo(array) is 6
30 PASS foo(array) is 6
31 PASS foo(array) is 6
32 PASS foo(array) is 6
33 PASS foo(array) is 6
34 PASS foo(array) is 6
35 PASS foo(array) is 6
36 PASS foo(array) is 6
37 PASS foo(array) is 6
[all …]
Ddfg-ensure-array-storage-on-string-expected.txt24 Checks that trying to arrayify a string to have array storage doesn't crash.
29 PASS foo(array) is 6
30 PASS foo(array) is 6
31 PASS foo(array) is 6
32 PASS foo(array) is 6
33 PASS foo(array) is 6
34 PASS foo(array) is 6
35 PASS foo(array) is 6
36 PASS foo(array) is 6
37 PASS foo(array) is 6
[all …]
Ddfg-ensure-contiguous-on-string-expected.txt29 PASS foo(array) is 6
30 PASS foo(array) is 6
31 PASS foo(array) is 6
32 PASS foo(array) is 6
33 PASS foo(array) is 6
34 PASS foo(array) is 6
35 PASS foo(array) is 6
36 PASS foo(array) is 6
37 PASS foo(array) is 6
38 PASS foo(array) is 6
[all …]
Ddfg-cfg-simplify-redundant-dead-get-local-expected.txt29 PASS array[i] is 2.23606797749979
30 PASS array[i] is 2.23606797749979
31 PASS array[i] is 2.23606797749979
32 PASS array[i] is 2.23606797749979
33 PASS array[i] is 2.23606797749979
34 PASS array[i] is 2.23606797749979
35 PASS array[i] is 2.23606797749979
36 PASS array[i] is 2.23606797749979
37 PASS array[i] is 2.23606797749979
38 PASS array[i] is 2.23606797749979
[all …]
Ddfg-intrinsic-side-effect-assignment-osr-exit-expected.txt29 PASS foo(array) is "bleh"
30 PASS foo(array) is "bleh"
31 PASS foo(array) is "bleh"
32 PASS foo(array) is "bleh"
33 PASS foo(array) is "bleh"
34 PASS foo(array) is "bleh"
35 PASS foo(array) is "bleh"
36 PASS foo(array) is "bleh"
37 PASS foo(array) is "bleh"
38 PASS foo(array) is "bleh"
[all …]
Ddfg-uint32array-overflow-constant-expected.txt29 PASS array[0] is 0x8005465c
30 PASS array[0] is 0x8005465c
31 PASS array[0] is 0x8005465c
32 PASS array[0] is 0x8005465c
33 PASS array[0] is 0x8005465c
34 PASS array[0] is 0x8005465c
35 PASS array[0] is 0x8005465c
36 PASS array[0] is 0x8005465c
37 PASS array[0] is 0x8005465c
38 PASS array[0] is 0x8005465c
[all …]
Ddfg-force-exit-then-sparse-conditional-constant-prop-in-loop-expected.txt29 PASS foo(array) is 8746
30 PASS foo(array) is 8746
31 PASS foo(array) is 8746
32 PASS foo(array) is 8746
33 PASS foo(array) is 8746
34 PASS foo(array) is 8746
35 PASS foo(array) is 8746
36 PASS foo(array) is 8746
37 PASS foo(array) is 8746
38 PASS foo(array) is 8746
[all …]
Ddfg-putbyval-cfa-clobber-expected.txt29 PASS foo(array, -1) is 57
30 PASS foo(array, -1) is 57
31 PASS foo(array, -1) is 57
32 PASS foo(array, -1) is 57
33 PASS foo(array, -1) is 57
34 PASS foo(array, -1) is 57
35 PASS foo(array, -1) is 57
36 PASS foo(array, -1) is 57
37 PASS foo(array, -1) is 57
38 PASS foo(array, -1) is 57
[all …]
Ddfg-ensure-non-array-array-storage-on-window-expected.txt24 Tests that passing the global object to an array access that will arrayify to NonArrayWithArrayStor…
29 PASS foo(array) is 6
31 PASS foo(array) is 6
33 PASS foo(array) is 6
35 PASS foo(array) is 6
37 PASS foo(array) is 6
39 PASS foo(array) is 6
41 PASS foo(array) is 6
43 PASS foo(array) is 6
45 PASS foo(array) is 6
[all …]
Ddfg-uint8clampedarray-out-of-bounds-put-by-val-alias-expected.txt29 PASS foo(array, 100000000, 42) is undefined
30 PASS foo(array, 100000000, 42) is undefined
31 PASS foo(array, 100000000, 42) is undefined
32 PASS foo(array, 100000000, 42) is undefined
33 PASS foo(array, 100000000, 42) is undefined
34 PASS foo(array, 100000000, 42) is undefined
35 PASS foo(array, 100000000, 42) is undefined
36 PASS foo(array, 100000000, 42) is undefined
37 PASS foo(array, 100000000, 42) is undefined
38 PASS foo(array, 100000000, 42) is undefined
[all …]
Ddfg-dead-variable-on-exit-expected.txt29 PASS array[0](); foo(firstArg, secondArg) is 1
30 PASS array[0](); foo(firstArg, secondArg) is 1
31 PASS array[1](2); foo(firstArg, secondArg) is 1
32 PASS array[1](3); foo(firstArg, secondArg) is 1
33 PASS array[2](4, 5); foo(firstArg, secondArg) is 1
34 PASS array[2](5, 6); foo(firstArg, secondArg) is 1
35 PASS array[3](6, 7, 8); foo(firstArg, secondArg) is 1
36 PASS array[3](7, 8, 9); foo(firstArg, secondArg) is 1
37 PASS array[4](8, 9, 10, 11); foo(firstArg, secondArg) is 1
38 PASS array[4](9, 10, 11, 12); foo(firstArg, secondArg) is 1
[all …]
Ddfg-negative-array-index-expected.txt24 Tests that storing into a negative array index works right.
29 PASS array[-1] is 42
30 PASS array[-1] is 42
31 PASS array[-1] is 42
32 PASS array[-1] is 42
33 PASS array[-1] is 42
34 PASS array[-1] is 42
35 PASS array[-1] is 42
36 PASS array[-1] is 42
37 PASS array[-1] is 42
[all …]
Ddfg-proven-sqrt-backwards-propagation-expected.txt29 PASS foo(array, 0) is Math.sqrt(1.5)
30 PASS foo(array, 0) is Math.sqrt(1.5)
31 PASS foo(array, 0) is Math.sqrt(1.5)
32 PASS foo(array, 0) is Math.sqrt(1.5)
33 PASS foo(array, 0) is Math.sqrt(1.5)
34 PASS foo(array, 0) is Math.sqrt(1.5)
35 PASS foo(array, 0) is Math.sqrt(1.5)
36 PASS foo(array, 0) is Math.sqrt(1.5)
37 PASS foo(array, 0) is Math.sqrt(1.5)
38 PASS foo(array, 0) is Math.sqrt(1.5)
[all …]
/external/v8/test/mjsunit/
Darray-splice.js31 var array = new Array(10);
32 var spliced = array.splice(1, 1, 'one', 'two');
36 assertEquals(11, array.length);
37 assertFalse(0 in array, "0 in array");
38 assertTrue(1 in array);
39 assertTrue(2 in array);
40 assertFalse(3 in array, "3 in array");
68 var array;
70 array = [1, 2, 3]
71 assertEquals([], array.splice());
[all …]
Darray-unshift.js31 var array = new Array(10);
32 assertEquals(13, array.unshift('1st', '2ns', '3rd'));
33 assertTrue(0 in array);
34 assertTrue(1 in array);
35 assertTrue(2 in array);
36 assertFalse(3 in array);
43 var array = new Array(len);
52 assertFalse(array.hasOwnProperty(0));
53 assertFalse(array.hasOwnProperty(1));
54 assertFalse(array.hasOwnProperty(2));
[all …]
Darray-shift.js30 var array = new Array(10);
31 array.shift();
32 assertFalse(0 in array);
38 var array = new Array(len);
42 assertEquals(len, array.length);
43 for (var i = 0; i < array.length; i++) {
44 assertEquals(array[i], Array.prototype[i]);
47 array.shift();
49 assertEquals(len - 1, array.length);
51 assertEquals(array[2], Array.prototype[3]);
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dstable_partition.pass.cpp42 P array[] = in test() local
55 const unsigned size = sizeof(array)/sizeof(array[0]); in test()
56 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
57 assert(base(r) == array + 4); in test()
58 assert(array[0] == P(1, 1)); in test()
59 assert(array[1] == P(1, 2)); in test()
60 assert(array[2] == P(3, 1)); in test()
61 assert(array[3] == P(3, 2)); in test()
62 assert(array[4] == P(0, 1)); in test()
63 assert(array[5] == P(0, 2)); in test()
[all …]
/external/proguard/src/proguard/util/
DArrayUtil.java151 public static int hashCode(byte[] array, int size) in hashCode() argument
157 hashCode ^= array[index]; in hashCode()
170 public static int hashCode(short[] array, int size) in hashCode() argument
176 hashCode ^= array[index]; in hashCode()
189 public static int hashCode(int[] array, int size) in hashCode() argument
195 hashCode ^= array[index]; in hashCode()
208 public static int hashCode(Object[] array, int size) in hashCode() argument
214 hashCode ^= array[index].hashCode(); in hashCode()
227 public static int hashCodeOrNull(Object[] array) in hashCodeOrNull() argument
229 return array == null ? 0 : hashCode(array, array.length); in hashCodeOrNull()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dutil_array.h34 struct array { struct
41 static INLINE struct array *array_create(VGint datatype_size) in array_create() argument
43 struct array *array = CALLOC_STRUCT(array); in array_create() local
44 array->datatype_size = datatype_size; in array_create()
46 array->size = DEFAULT_ARRAY_SIZE; in array_create()
47 array->data = malloc(array->size * array->datatype_size); in array_create()
49 return array; in array_create()
53 static INLINE struct array *array_create_size(VGint datatype_size, VGint size) in array_create_size()
55 struct array *array = CALLOC_STRUCT(array); in array_create_size() local
56 array->datatype_size = datatype_size; in array_create_size()
[all …]
/external/caliper/examples/src/main/java/examples/
DCopyArrayBenchmark.java50 @Override Object[] copy(Object[] array) { in copy() argument
51 return array.clone(); in copy()
53 @Override boolean[] copy(boolean[] array) { in copy() argument
54 return array.clone(); in copy()
56 @Override byte[] copy(byte[] array) { in copy() argument
57 return array.clone(); in copy()
59 @Override char[] copy(char[] array) { in copy() argument
60 return array.clone(); in copy()
62 @Override double[] copy(double[] array) { in copy() argument
63 return array.clone(); in copy()
[all …]
/external/mesa3d/src/egl/main/
Deglarray.c40 _eglGrowArray(_EGLArray *array) in _eglGrowArray() argument
45 new_size = array->MaxSize; in _eglGrowArray()
46 while (new_size <= array->Size) in _eglGrowArray()
49 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); in _eglGrowArray()
52 array->Name, new_size); in _eglGrowArray()
56 array->Elements = elems; in _eglGrowArray()
57 array->MaxSize = new_size; in _eglGrowArray()
69 _EGLArray *array; in _eglCreateArray() local
71 array = calloc(1, sizeof(*array)); in _eglCreateArray()
72 if (array) { in _eglCreateArray()
[all …]
/external/compiler-rt/test/asan/TestCases/
Dstrtoll_strict.c33 void test1(char *array, char *endptr) { in test1() argument
35 long long r = strtoll(array, &endptr, 3); in test1()
36 assert(array + 2 == endptr); in test1()
40 void test2(char *array, char *endptr) { in test2() argument
42 array[2] = 'z'; in test2()
43 long long r = strtoll(array, &endptr, 35); in test2()
44 assert(array + 2 == endptr); in test2()
48 void test3(char *array, char *endptr) { in test3() argument
50 memset(array, 0, 8); in test3()
51 ASAN_POISON_MEMORY_REGION(array, 8); in test3()
[all …]
Dstrtol_strict.c31 void test1(char *array, char *endptr) { in test1() argument
33 long r = strtol(array, &endptr, 3); in test1()
34 assert(array + 2 == endptr); in test1()
38 void test2(char *array, char *endptr) { in test2() argument
40 array[2] = 'z'; in test2()
41 long r = strtol(array, &endptr, 35); in test2()
42 assert(array + 2 == endptr); in test2()
46 void test3(char *array, char *endptr) { in test3() argument
57 memset(array, 0, 8); in test3()
58 ASAN_POISON_MEMORY_REGION(array, 8); in test3()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-554946.js5 var array = []; variable
7 toJSON: function() { array.length = 1; return "funky"; }
9 for (var i = 0; i < 10; i++) array[i] = i;
10 array[0] = funky;
12 JSON.stringify(array));
14 array = [];
16 get value() { array.length = 1; return "funky"; }
18 for (var i = 0; i < 10; i++) array[i] = i;
19 array[3] = funky;
21 JSON.stringify(array));
[all …]

12345678910>>...135