Searched refs:arr (Results 1 - 25 of 382) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/harmony/regress/
H A Dregress-observe-empty-double-array.js32 arr = [1.1];
33 Object.observe(arr, function(){});
34 arr.length = 0;
36 // assertTrue(%HasFastDoubleElements(arr));
38 arr.push(1.1);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2433.js33 arr = [];
34 arr[0] = 0;
35 arr[0] = 1.1;
36 assertEquals(undefined, arr[1]);
H A Dregress-350887.js5 var arr = []; variable
6 assertSame(0, arr.length);
7 assertSame(undefined, arr[0]);
8 Object.defineProperty(arr, '2501866687', { value: 4, configurable: false });
10 assertSame(2501866688, arr.length);
11 assertSame(undefined, arr[0]);
12 arr.length = 0;
H A Dregress-356589.js30 arr = ['a', 'b', 'c', 'd'];
31 Object.defineProperty(arr.__proto__, '0', { get: function(){} });
32 Object.defineProperty(arr, '2', {get: function(){} });
33 Object.observe(arr, function() {});
34 arr.length = 2;
H A Dregress-1849.js33 var arr = new Array(count);
34 assertFalse(%HasFastDoubleElements(arr));
36 arr[i] = 0;
38 assertFalse(%HasFastDoubleElements(arr));
39 assertTrue(%HasFastSmiElements(arr));
H A Dregress-94425.js31 var arr = new Array(N);
37 // arr is in the large object space now.
39 arr[arr.length - 2] = new Object;
43 for (var i = 0; i < 9; i++) arr.shift();
35 arr[arr.length - 2] = new Object; class
H A Dregress-100702.js39 var arr = [1]; variable
40 arr.forEach("".isThatMe, str);
41 arr.filter("".isThatMe, str);
42 arr.some("".isThatMe, str);
43 arr.every("".isThatMe, str);
44 arr.map("".isThatMe, str);
H A Dregress-1582.js31 var arr;
33 arr = rest;
35 arr = arguments;
37 var i = arr.length;
38 while (--i >= 0) arr[i];
39 var arrIsArguments = (arr[1] !== rest);
/external/valgrind/main/memcheck/tests/x86/
H A Dpushfw_x86.c6 int arr[3]; variable
10 /* eax points at arr[0] */
17 : /*out*/ : /*in*/ "a"(&arr) : /*trash*/ "memory","cc"
20 printf("%x %x %x\n", arr[0]-arr[0], arr[0]-arr[1], arr[0]-arr[2]);
H A Dpushfpopf_c.c9 int arr[2]; local
10 arr[0] = 3;
11 // arr[1] = 45;
12 printf("fooble: result is %d\n", fooble(arr[0], arr[1]));
/external/clang/test/SemaCXX/
H A DPR10458.cpp4 int arr[] = { 1, 2, 3 }; local
5 for (auto &i : arr) { // expected-warning {{'auto' type specifier is a C++11 extension}} expected-warning {{range-based for loop is a C++11 extension}}
H A Dwarn-address.cpp5 int arr[5]; variable
12 if (arr) {} // expected-warning{{always evaluate to 'true'}}
16 if (arr == 0) {} // expected-warning{{always false}}
/external/clang/test/Parser/
H A Ddesignator.c9 int arr[10]; member in struct:foo
13 [4] .arr [2] = 4,
16 [4] .arr [2] 4 // expected-error {{expected '=' or another designator}}
/external/chromium_org/v8/test/webkit/
H A Darray-tostring-and-join.js30 var arr = [1, 2]; variable
32 obj.__proto__.toString = function() { return "*" + arr + "*"; }
33 arr[2] = arr;
34 arr[3] = obj;
36 shouldBe("arr.join()", "'1,2,,**'");
H A Dsort-randomly.js29 var arr = [];
31 arr[i] = i;
32 arr.sort(function() { return 0.5 - Math.random(); });
41 var arr = [];
43 arr[i] = new RandomObject;
44 arr.sort();
/external/chromium_org/v8/test/mjsunit/
H A Delide-double-hole-check-2.js33 var arr = [0.0,,]; variable
34 assertEquals(0.5, f(arr, 0));
35 assertEquals(0.5, f(arr, 0));
37 assertEquals(0.5, f(arr, 0));
38 assertEquals(NaN, f(arr, 1));
39 arr.__proto__ = [1.5,1.5,1.5];
40 assertEquals(2, f(arr, 1));
41 assertEquals(0.5, f(arr, 0));
H A Delide-double-hole-check-5.js33 var arr = [0.0,,2.5]; variable
34 assertEquals(0.5, f1(arr, 0));
35 assertEquals(0.5, f1(arr, 0));
38 assertEquals(2, f1(arr, 1));
39 assertEquals(2, f1(arr, 1));
40 assertEquals(0.5, f1(arr, 0));
H A Delide-double-hole-check-7.js33 var arr = [0.0,,2.5]; variable
34 assertEquals(0.5, f1(arr, 0));
35 assertEquals(0.5, f1(arr, 0));
37 assertEquals(2, f1(arr, 1));
39 assertEquals(2, f1(arr, 1));
40 assertEquals(0.5, f1(arr, 0));
/external/clang/test/CodeGen/
H A D2004-05-07-VarArrays.c3 int foo(int len, char arr[][len], int X) { argument
4 return arr[X][0];
H A D2009-04-28-UnionArrayCrash.c8 union U arr[] = { { .I = 4 }, { .F = 123.} }; variable in typeref:union:U
9 union U *P = &arr[0];
/external/compiler-rt/test/ubsan/TestCases/Misc/
H A Dbounds.cpp9 int arr[2][3][4] = {}; local
11 return arr[argv[1][0] - '0'][argv[2][0] - '0'][argv[3][0] - '0'];
H A Dvla.c9 int arr[argc - 2]; local
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dcharmap.pl60 my ($i, @arr);
76 $arr[$i] = 0;
78 $arr[$i] |= $ESC_CTRL;
85 $arr[$i] |= $PSTRING_CHAR;
93 $arr[ord(" ")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC | $RFC2253_LAST_ESC;
94 $arr[ord("#")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC;
96 $arr[ord(",")] |= $NOESC_QUOTE | $RFC2253_ESC;
97 $arr[ord("+")] |= $NOESC_QUOTE | $RFC2253_ESC;
98 $arr[ord("\"")] |= $RFC2253_ESC;
99 $arr[or
[all...]
/external/openssl/crypto/asn1/
H A Dcharmap.pl8 my ($i, @arr);
24 $arr[$i] = 0;
26 $arr[$i] |= $ESC_CTRL;
33 $arr[$i] |= $PSTRING_CHAR;
41 $arr[ord(" ")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC | $RFC2253_LAST_ESC;
42 $arr[ord("#")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC;
44 $arr[ord(",")] |= $NOESC_QUOTE | $RFC2253_ESC;
45 $arr[ord("+")] |= $NOESC_QUOTE | $RFC2253_ESC;
46 $arr[ord("\"")] |= $RFC2253_ESC;
47 $arr[or
[all...]
/external/clang/test/Sema/
H A Dmms-bitfields.c13 static int arr[(sizeof(t) == 8) ? 1 : -1]; variable

Completed in 689 milliseconds

1234567891011>>