/external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.2.1-3.js | 50 var array = new Array(); 74 array[item++] = new TestCase( SECTION, "MyFunc.length", 2000, MyFunc.length ); 75 array[item++] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") ); 77 array[item++] = new TestCase( SECTION, "MyObject.length", 2000, MyObject.length ); 79 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") ); 80 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()") ); 81 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1(1,2,3,4,5)", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1(1,2,3,4,5)") ); 83 return ( array );
|
15.3.3.1-3.js | 50 var array = new Array(); 55 array[item++] = new TestCase( SECTION, 61 array[item++] = new TestCase( SECTION, 66 return ( array ); 68 function test( array ) {
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.2-1.js | 50 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "var a\nb = 5; ab=10;ab;", 10, eval("var a\nb = 5; ab=10;ab") ); 54 array[item++] = new TestCase( SECTION, "var a\nb = 5; ab=10;b;", 5, eval("var a\nb = 5; ab=10;b") ); 55 array[item++] = new TestCase( SECTION, "var a\rb = 5; ab=10;ab;", 10, eval("var a\rb = 5; ab=10;ab") ); 56 array[item++] = new TestCase( SECTION, "var a\rb = 5; ab=10;b;", 5, eval("var a\rb = 5; ab=10;b") ); 57 array[item++] = new TestCase( SECTION, "var a\r\nb = 5; ab=10;ab;", 10, eval("var a\r\nb = 5; ab=10;ab") ); 58 array[item++] = new TestCase( SECTION, "var a\r\nb = 5; ab=10;b;", 5, eval("var a\r\nb = 5; ab=10;b") ); 60 return ( array );
|
7.3-1.js | 44 var array = new Array(); 46 array[item] = new TestCase( SECTION, 51 // "\u000A" array[item].actual = "fail"; 55 array[item] = new TestCase( SECTION, 56 "// test \\n array[item].actual = \"pass\"", 60 var x = "// test \n array[item].actual = 'pass'" 62 array[0].actual = eval(x); 64 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.js | 42 var array = new Array(); 45 array[item++] = new TestCase( SECTION, 50 array[item++] = new TestCase( SECTION, "typeof String.prototype", "object", typeof String.prototype ); 51 array[item++] = new TestCase( SECTION, "String.prototype.valueOf()", "", String.prototype.valueOf() ); 52 array[item++] = new TestCase( SECTION, "String.prototype +''", "", String.prototype + '' ); 53 array[item++] = new TestCase( SECTION, "String.prototype.length", 0, String.prototype.length ); 54 // array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ ); 57 return ( array ); 59 function test( array ) { [all...] |
15.5.3.js | 48 // all tests must call a function that returns an array of TestCase objects. 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "String.prototype", Function.prototype, String.__proto__ ); 56 array[item++] = new TestCase( SECTION, "String.length", 1, String.length ); 57 return ( array ); 59 function test( array ) { 71 // all tests must return an array of TestCase objects
|
15.5.4.1.js | 43 var array = new Array(); 46 array[item++] = new TestCase( SECTION, "String.prototype.constructor == String", true, String.prototype.constructor == String ); 47 array[item++] = new TestCase( SECTION, "var STRING = new String.prototype.constructor('hi'); STRING.getClass = Object.prototype.toString; STRING.getClass()", 50 return ( array ); 52 function test( array ) { 64 // all tests must return an array of TestCase objects
|
15.5.4.5-6.js | 63 var array = new Array(); 66 array[item++] = new TestCase( SECTION, 71 array[item++] = new TestCase( SECTION, 76 array[item++] = new TestCase( SECTION, 80 return (array );
|
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...] |
15.5.4.7-2.js | 74 var array = new Array(); 77 array[item++] = new TestCase( SECTION, "String.prototype.lastIndexOf.length", 1, String.prototype.lastIndexOf.length ); 78 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length", false, delete String.prototype.lastIndexOf.length ); 79 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length", 1, eval("delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length" ) ); 81 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('', 0)", LastIndexOf("","",0), eval("var s = new String(''); s.lastIndexOf('', 0)") ); 82 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('')", LastIndexOf("",""), eval("var s = new String(''); s.lastIndexOf('')") ); 83 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('', 0)", LastIndexOf("hello","",0), eval("var s = new String('hello'); s.lastIndexOf('',0)") ); 84 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('')", LastIndexOf("hello",""), eval("var s = new String('hello'); s.lastIndexOf('')") ); 86 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll')", LastIndex (…) [all...] |
/frameworks/base/media/libstagefright/omx/ |
OMXPVCodecsPlugin.cpp | 74 OMX_U8 **array = new OMX_U8 *[numRoles]; local 76 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; 81 const_cast<char *>(name), &numRoles2, array); 87 String8 s((const char *)array[i]); 90 delete[] array[i]; 91 array[i] = NULL; 94 delete[] array; 95 array = NULL;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.4.js | 24 ECMA Section: 15.4.4 Properties of the Array Prototype Object 26 the Array prototype object is the Object prototype 29 Note that the Array prototype object is itself an 30 array; it has a length property (whose initial value 40 var TITLE = "Properties of the Array Prototype Object"; 48 var array = new Array(); 52 // array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ) [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.2.js | 24 ECMA Section: 15.4.4.2 Array.prototype.toString() 37 var TITLE = "Array.prototype.toString"; 45 var array = new Array(); 48 array[item++] = new TestCase( SECTION, "Array.prototype.toString.length", 0, Array.prototype.toString.length ); 50 array[item++] = new TestCase( SECTION, "(new Array()).toString()", "", (new Array()).toString() ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.4.2-2.js | 46 var array = new Array(); 50 array[item++] = new TestCase( SECTION, 54 array[item++] = new TestCase( SECTION, 58 array[item++] = new TestCase( SECTION, 62 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.2.2-4.js | 45 // all tests must call a function that returns an array of TestCase objects. 49 var array = new Array(); 54 array[item++] = new TestCase( SECTION, "Date( 2000,1,29,0,0,0)", (new Date()).toString(), Date(2000,1,29,0,0,0)); 55 array[item++] = new TestCase( SECTION, "Date( 2000,1,28,23,59,59)", (new Date()).toString(), Date( 2000,1,28,23,59,59)); 56 array[item++] = new TestCase( SECTION, "Date( 2000,1,27,16,0,0)", (new Date()).toString(), Date(2000,1,27,16,0,0)); 60 array[item++] = new TestCase( SECTION, "Date(2004,11,31,23,59,59)", (new Date()).toString(), Date(2004,11,31,23,59,59)); 61 array[item++] = new TestCase( SECTION, "Date(2005,0,1,0,0,0)", (new Date()).toString(), Date(2005,0,1,0,0,0) ); 62 array[item++] = new TestCase( SECTION, "Date(2005,0,1,0,0,1)", (new Date()).toString(), Date(2005,0,1,0,0,1) ); 63 array[item++] = new TestCase( SECTION, "Date(2004,11,31,16,0,0,0)", (new Date()).toString(), Date (…) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.14-1.js | 66 var array = new Array(); 69 array[item++] = new TestCase( SECTION, "true, false", false, eval("true, false") ); 70 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false", false, eval("VAR1=true, VAR2=false") ); 71 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false;VAR1", true, eval("VAR1=true, VAR2=false; VAR1") ); 72 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.1.2.js | 44 var array = new Array(); 47 array[item++] = new TestCase( SECTION, "Infinity", Number.POSITIVE_INFINITY, Infinity ); 48 array[item++] = new TestCase( SECTION, "this.Infinity", Number.POSITIVE_INFINITY, this.Infinity ); 49 array[item++] = new TestCase( SECTION, "typeof Infinity", "number", typeof Infinity ); 51 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4-1.js | 42 var array = new Array(); 45 array[item++] = new TestCase(SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() ); 46 array[item++] = new TestCase(SECTION, "typeof(Number.prototype)", "object", typeof(Number.prototype) ); 47 array[item++] = new TestCase(SECTION, "Number.prototype.constructor == Number", true, Number.prototype.constructor == Number ); 48 // array[item++] = new TestCase(SECTION, "Number.prototype == Number.__proto__", true, Number.prototype == Number.__proto__ ); 49 return ( array );
|
15.7.4.js | 56 var array = new Array(); 58 array[item++] = new TestCase( SECTION, 62 array[item++] = new TestCase( SECTION, "typeof Number.prototype", "object", typeof Number.prototype ); 63 array[item++] = new TestCase( SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() ); 67 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ ); 68 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__ == Object.prototype", true, Number.prototype.__proto__ == Object.prototype ); 71 return ( array );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.1.2.js | 60 var array = new Array(); 65 array[item++] = new TestCase( SECTION, "var MYOB = Object(); MYOB.valueOf()", MYOB, MYOB.valueOf() ); 66 array[item++] = new TestCase( SECTION, "typeof Object()", "object", typeof (Object(null)) ); 67 array[item++] = new TestCase( SECTION, "var MYOB = Object(); MYOB.toString()", "[object Object]", eval("var MYOB = Object(); MYOB.toString()") ); 69 return ( array );
|
15.2.2.2.js | 55 var array = new Array(); 58 array[item++] = new TestCase( SECTION, "typeof new Object()", "object", typeof new Object() ); 59 array[item++] = new TestCase( SECTION, "Object.prototype.toString()", "[object Object]", Object.prototype.toString() ); 60 array[item++] = new TestCase( SECTION, "(new Object()).toString()", "[object Object]", (new Object()).toString() ); 62 return ( array );
|
15.2.3-1.js | 46 var array = new Array(); 49 array[item++] = new TestCase( SECTION, "Object.__proto__", Function.prototype, Object.__proto__ ); 50 array[item++] = new TestCase( SECTION, "Object.length", 1, Object.length ); 52 return ( array ); 54 function test( array ) {
|
/external/opencore/baselibs/gen_data_structures/src/ |
bool_array.h | 94 array[ii] |= (mask); 98 array[ii] &= (~mask); 108 array[ii] |= (~mask); 112 array[ii] &= (mask); 121 array[ii] |= (mask); 125 array[ii] &= (~mask); 148 array[array_index] |= mask; 152 array[array_index] &= (~mask); 170 return ((array[array_index] & mask) != 0); 185 uint32 array[(max_array_size+31)/32] member in class:BoolArray [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
15-1.js | 50 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ ); 54 array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ); 55 array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ ); 56 array[item++] = new TestCase( SECTION, "Boolean.prototype.__proto__", Object.prototype, Boolean.prototype.__proto__ ); 57 array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ ); 58 // array[item++] = new TestCase( SECTION, "Math.prototype.__proto__", Object.prototype, Math.prototy (…) [all...] |