/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.js | 58 var array = new Array(); 61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED")); 66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED")); 68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED")); 70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") ); 72 return ( array ); [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.1-1.js | 54 var array = new Array(); 59 array[item++] = new TestCase( SECTION, 'var'+'\t'+'MYVAR1=10;MYVAR1', 10, eval('var'+'\t'+'MYVAR1=10;MYVAR1') ); 60 array[item++] = new TestCase( SECTION, 'var'+'\f'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\f'+'MYVAR2=10;MYVAR2') ); 61 array[item++] = new TestCase( SECTION, 'var'+'\v'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\v'+'MYVAR2=10;MYVAR2') ); 62 array[item++] = new TestCase( SECTION, 'var'+'\ '+'MYVAR2=10;MYVAR2', 10, eval('var'+'\ '+'MYVAR2=10;MYVAR2') ); 66 array[item++] = new TestCase( SECTION, 67 "var a = new Array(12345); a\t\v\f .\\u0009\\000B\\u000C\\u0020length", 69 eval("var a = new Array(12345); a\t\v\f .\u0009\u0020\u000C\u000Blength") ); 72 return ( array ); [all...] |
7.1-3.js | 54 var array = new Array(); 56 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') ); 57 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') ); 58 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') ); 59 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') ); 63 array[item++] = new TestCase( SECTION, 68 array[item++] = new TestCase( SECTION, 72 array[item++] = new TestCase( SECTION, 78 return ( array ); [all...] |
7.5-1.js | 44 var array = new Array(); 47 array[item++] = new TestCase( SECTION, "var $123 = 5", 5, eval("var $123 = 5;$123") ); 48 array[item++] = new TestCase( SECTION, "var _123 = 5", 5, eval("var _123 = 5;_123") ); 50 return ( array );
|
7.5-10-n.js | 44 var array = new Array(); 47 array[item] = new TestCase( SECTION, "var 123=\"hi\"", "error", "" ); 51 array[item] = 123; 53 return ( array );
|
7.5-9-n.js | 44 var array = new Array(); 47 array[item] = new TestCase( SECTION, "var 123=\"hi\"", "error", "" ); 51 array[item] = 123; 53 return ( array );
|
7.7.1.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "null", null, null); 53 return ( array ); 70 // all tests must return the test array
|
7.7.2.js | 51 var array = new Array(); 56 array[item++] = new TestCase( SECTION, "true", Boolean(true), true ); 57 array[item++] = new TestCase( SECTION, "false", Boolean(false), false ); 59 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4.3-1.js | 45 var array = new Array(); 49 array[item++] = new TestCase("15.7.4.1", "Number.prototype.valueOf()", 0, "Number.prototype.valueOf()" ); 51 array[item++] = new TestCase("15.7.4.1", "(new Number(1)).valueOf()", 1, "(new Number(1)).valueOf()" ); 52 array[item++] = new TestCase("15.7.4.1", "(new Number(-1)).valueOf()", -1, "(new Number(-1)).valueOf()" ); 53 array[item++] = new TestCase("15.7.4.1", "(new Number(0)).valueOf()", 0, "(new Number(0)).valueOf()" ); 54 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.POSITIVE_INFINITY)).valueOf()", Number.POSITIVE_INFINITY, "(new Number(Number.POSITIVE_INFINITY)).valueOf()" ); 55 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.NaN)).valueOf()", Number.NaN, "(new Number(Number.NaN)).valueOf()" ); 56 array[item++] = new TestCase("15.7.4.1", "(new Number()).valueOf()", 0, "(new Number()).valueOf()" ); 58 return ( array ); [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/String/ |
split-001.js | 56 // verify that the result of split is an object of type Array 58 "( " + string + " ).split(" + str_sep +").constructor == Array", 60 string.split(separator).constructor == Array ); 62 // check the number of items in the array 68 // check the value of each array item 83 // verify that the result of split is an object of type Array 87 " ).constructor == Array", 89 string.split(separator, limit).constructor == Array ); 91 // check the length of the array 98 // check the value of each array ite [all...] |
split-003.js | 64 // verify that the result of split is an object of type Array 66 "( " + string + " ).split(" + str_sep +").constructor == Array", 68 string.split(separator).constructor == Array ); 70 // check the number of items in the array 76 // check the value of each array item 91 // verify that the result of split is an object of type Array 95 " ).constructor == Array", 97 string.split(separator, limit).constructor == Array ); 99 // check the length of the array 106 // check the value of each array ite [all...] |
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
misc.c | 79 /* allocate_array - allocate memory for an integer array of the given size */ 129 /* bubble - bubble sort an integer array in increasing order 136 * sorts the first n elements of array v and replaces them in 140 * v - the array to be sorted 239 /* cshell - shell sort a character array in increasing order 248 * Does a shell sort of the first n elements of array v. 253 * v - array to be sorted 437 /* mark_defs1 - mark the current position in the action array as 450 /* mark_prolog - mark the current position in the action array as 461 /* mk2data - generate a data statement for a two-dimensional array [all...] |
/dalvik/libcore/icu/src/test/java/com/ibm/icu4jni/util/ |
ResourcesTest.java | 21 // Check that corrupting our array doesn't affect other callers. 28 // Check that corrupting our array doesn't affect other callers. 35 // Check that corrupting our array doesn't affect other callers. 42 // Check that corrupting our array doesn't affect other callers. 49 // Check that corrupting our array doesn't affect other callers.
|
/dalvik/vm/mterp/armv5te/ |
OP_APUT_OBJECT.S | 3 * Store an object into an array. vBB[vCC] <- vAA. 13 GET_VREG(r1, r2) @ r1<- vBB (array object) 15 cmp r1, #0 @ null array object? 29 * r10 = offset into array (vBB + vCC * width) 36 bl dvmCanPutArrayElement @ test object type vs. array type
|
/dalvik/vm/mterp/x86-atom/ |
OP_APUT_WIDE.S | 19 * Code: 64-bit array put operation. 23 * Description: Perform an array put operation from the value register; 25 * given array. vBB[vCC] <- vAA. 36 cmp $$0, %ecx # check for null array object 37 je common_errNullObject # handle null array object
|
OP_FILL_ARRAY_DATA.S | 19 * Code: Fills an array with given data. Uses no substitutions. 21 * For: fill-array-data 23 * Description: Fill the given array with the idicated data. The reference 24 * must be an array of primitives, and the data table must 36 lea (rPC, %edx, 2), %edx # %edx<- PC + +BBBBBBBB; array data location
|
/external/icu4c/tools/toolutil/ |
writesrc.h | 33 * Write the contents of an array of 8/16/32-bit words. 35 * The prefix may contain a %ld or similar field for the array length. 37 * printed before and after the array contents. 47 * Only the index array is written for a 16-bit UTrie2. In this case, dataPrefix 59 * printed before and after the array contents.
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.3.1-5.js | 39 // all tests must call a function that returns an array of TestCase objects. 43 var array = new Array(); 45 array[item++] = new TestCase( SECTION, "Function.prototype == Boolean.__proto__", true, Function.prototype == Boolean.__proto__ ); 47 return ( array );
|
15.6.3.1.js | 51 var array = new Array(); 54 array[item++] = new TestCase( SECTION, "Boolean.prototype.valueOf()", false, Boolean.prototype.valueOf() ); 55 array[item++] = new TestCase( SECTION, "Boolean.length", 1, Boolean.length ); 57 return ( array );
|
15.6.3.js | 47 var array = new Array(); 50 array[item++] = new TestCase( SECTION, "Boolean.__proto__ == Function.prototype", true, Boolean.__proto__ == Function.prototype ); 51 array[item++] = new TestCase( SECTION, "Boolean.length", 1, Boolean.length ); 53 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.3.1-2.js | 50 var array = new Array(); 52 array[item++] = new TestCase( SECTION, 57 return ( array ); 59 function test( array ) {
|
15.3.4.1.js | 44 var array = new Array(); 47 array[item++] = new TestCase( SECTION, "Function.prototype.constructor", Function, Function.prototype.constructor ); 49 return ( array ); 51 function test( array ) {
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.1.2-2.js | 44 var array = new Array(); 46 array[item++] = new TestCase( SECTION, "delete( Math.LN10 ); Math.LN10", 2.302585092994046, "delete(Math.LN10); Math.LN10" ); 47 array[item++] = new TestCase( SECTION, "delete( Math.LN10 ); ", false, "delete(Math.LN10)" ); 48 return ( array );
|
15.8.1.4-2.js | 45 var array = new Array(); 47 array[item++] = new TestCase( SECTION, "delete(Math.L0G2E);Math.LOG2E", 1.4426950408889634, "delete(Math.LOG2E);Math.LOG2E" ); 48 array[item++] = new TestCase( SECTION, "delete(Math.L0G2E)", false, "delete(Math.LOG2E)" ); 49 return ( array );
|
15.8.1.5-2.js | 46 var array = new Array(); 48 array[item++] = new TestCase( SECTION, "delete Math.LOG10E; Math.LOG10E", 0.4342944819032518, "delete Math.LOG10E; Math.LOG10E" ); 49 array[item++] = new TestCase( SECTION, "delete Math.LOG10E", false, "delete Math.LOG10E" ); 50 return ( array );
|