| /external/webkit/LayoutTests/storage/domstorage/sessionstorage/resources/ |
| clearSessionStorage.js | 3 var keys = new Array();
|
| /libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
| ExtensionValue.java | 20 import org.apache.harmony.security.utils.Array; 63 buffer.append(Array.toString(encoding, prefix));
|
| /external/v8/test/mjsunit/ |
| array-unshift.js | 28 // Check that unshifting array of holes keeps the original array 29 // as array of holes 31 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); [all...] |
| apply.js | 39 assertTrue(this === f0.apply(this, new Array(1)), "2b"); 40 assertTrue(this === f0.apply(this, new Array(2)), "2c"); 41 assertTrue(this === f0.apply(this, new Array(4242)), "2d"); 44 assertTrue(this === f0.apply(null, new Array(1)), "3b"); 45 assertTrue(this === f0.apply(null, new Array(2)), "3c"); 46 assertTrue(this === f0.apply(this, new Array(4242)), "3d"); 49 assertTrue(this === f0.apply(void 0, new Array(1)), "4b"); 50 assertTrue(this === f0.apply(void 0, new Array(2)), "4c"); 55 assertTrue(void 0 === f1.apply(this, new Array(1)), "5b"); 56 assertTrue(void 0 === f1.apply(this, new Array(2)), "5c") [all...] |
| array-shift.js | 28 // Check that shifting array of holes keeps it as array of holes 30 var array = new Array(10); 31 array.shift(); 32 assertFalse(0 in array); 35 // Now check the case with array of holes and some elements on prototype. 38 var array = new Array(len); 39 Array.prototype[3] = "@3" [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
| 7.8.2-n.js | 40 var array = new Array(); 43 // array[item++] = new TestCase( "7.8.2", "{ 1 \n 2 } 3", 3, "{ 1 \n 2 } 3" ); 44 array[item++] = new TestCase( "7.8.2", "{ 1 2 } 3", "error", eval("{1 2 } 3") ); 46 return ( array );
|
| /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
| expression-001.js | 25 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
| if-001.js | 21 var testcases = new Array();
|
| while-001.js | 20 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/instanceof/ |
| instanceof-001.js | 17 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_3/Script/ |
| in-001.js | 41 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_4/Eval/ |
| eval-001.js | 59 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_4/Regress/ |
| date-001-n.js | 40 var testcases = new Array();
|
| function-004-n.js | 40 var testcases = new Array();
|
| toString-001-n.js | 40 var testcases = new Array();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_5/Array/ |
| regress-154338.js | 38 * SUMMARY: Testing array.join() when separator is a variable, not a literal 45 var summary = 'Test array.join() when separator is a variable, not a literal'; 67 var arr = Array('a', 'b'); 73 arr = Array('a', 'b'); 79 arr = Array('a', 'b'); 85 arr = Array('a', 'b');
|
| /external/webkit/WebCore/bridge/jsc/ |
| BridgeJSC.cpp | 42 Array::Array(PassRefPtr<RootObject> rootObject) 48 Array::~Array()
|
| /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/ |
| 15.4.5.2-2.js | 24 ECMA Section: Array.length 27 The length property of this Array object is always numerically greater 28 than the name of every property whose name is an array index. 32 This test verifies that the Array.length property is not Read Only. 41 var TITLE = "Array.length"; 45 var testcases = new Array(); 47 addCase( new Array(), 0, Math.pow(2,14), Math.pow(2,14) ); 49 addCase( new Array(), 0, 1, 1 ); 51 addCase( new Array(Math.pow(2,12)), Math.pow(2,12), 0, 0 ); 52 addCase( new Array(Math.pow(2,13)), Math.pow(2,13), Math.pow(2,12), Math.pow(2,12) ) [all...] |
| 15.4.2.1-3.js | 24 ECMA Section: 15.4.2.1 new Array( item0, item1, ... ) 29 object is set to the original Array prototype object, 30 the one that is the initial value of Array.prototype 34 is set to "Array". 46 the Array constructor. Should support up to Math.pow 48 ECMAScript array. 50 ***Change TEST_LENGTH to Math.pow(2,32) when larger array 59 var TITLE = "The Array Constructor: new Array( item0, item1, ...)"; 67 var array = new Array() [all...] |
| 15.4.4.3-1.js | 24 ECMA Section: 15.4.4.3-1 Array.prototype.join() 33 ECMA-262 Ed.3 Section 15.4.4.5 Array.prototype.join() 43 writeHeaderToLog( SECTION + " Array.prototype.join()"); 49 var array = new Array(); 52 var ARR_PROTOTYPE = Array.prototype; 54 array[item++] = new TestCase( SECTION, "Array.prototype.join.length", 1, Array.prototype.join.length ); 55 array[item++] = new TestCase( SECTION, "delete Array.prototype.join.length", false, delete Array.pro (…) [all...] |
| 15.4.4.4-2.js | 24 ECMA Section: 15.4.4.3-1 Array.prototype.reverse() 27 The elements of the array are rearranged so as to reverse their order. 60 that its this value be an Array object. Therefore it can be transferred to other 64 Note: Array.prototype.reverse allows some flexibility in implementation 65 regarding array indices that have not been populated. This test covers the 76 var testcases = new Array(); 78 writeHeaderToLog( SECTION + " Array.prototype.reverse()"); 84 var ARR_PROTOTYPE = Array.prototype; 86 testcases[testcases.length] = new TestCase( SECTION, "Array.prototype.reverse.length", 0, Array.prototype.reverse.length ) [all...] |
| 15.4.3.2.js | 24 ECMA Section: 15.4.3.2 Array.length 34 var TITLE = "Array.length"; 42 var array = new Array(); 44 array[item++] = new TestCase( SECTION, "Array.length", 1, Array.length ); 45 return ( array );
|
| 15.4.3.js | 24 ECMA Section: 15.4.3 Properties of the Array Constructor 26 Array constructor is the Function prototype object. 35 var TITLE = "Properties of the Array Constructor"; 43 var array = new Array(); 46 array[item++] = new TestCase( SECTION, "Array.__proto__", Function.prototype, Array.__proto__ ); 48 return ( array );
|
| 15.4.4.5-3.js | 24 ECMA Section: Array.prototype.sort(comparefn) 41 var TITLE = "Array.prototype.sort(comparefn)"; 45 var testcases = new Array(); 64 var array = new Array(); 66 array[array.length] = new Date( TIME_2000 * Math.PI ); 67 array[array.length] = new Date( TIME_2000 * 10 ); 68 array[array.length] = new Date( TIME_1900 + TIME_1900 ) [all...] |
| /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
| 15.5.4.8-2.js | 27 Returns an Array object into which substrings of the result of converting 30 occurrences are not part of any substring in the returned array, but serve 34 up into individual characters; the length of the result array equals the 37 If the separator is not supplied, then the result array contains just one 43 2. Create a new Array object of length 0 and call it A. 90 var array = new Array(); 97 array[item++] = new TestCase( SECTION, 104 array[item++] = new TestCase( SECTION, 114 var EXPECT_STRING = new Array( "this", "is", "a", "string", "object" ) [all...] |