/external/webkit/PerformanceTests/SunSpider/tests/parse-only/ |
LIST | 3 prototype-1.6.0.3 4 concat-jquery-mootools-prototype
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
15-1.js | 25 Description: Every built-in prototype object has the Object prototype 27 Object.prototype (15.2.3.1) as the value of its internal 28 [[Prototype]] property, except the Object prototype 32 function also has the Object prototype object as the 33 value of its internal [[Prototype]] property. 53 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ ) [all...] |
/external/v8/test/mjsunit/ |
length.js | 32 assertEquals(0, Array.prototype.length, "Array.prototype.length"); 34 assertEquals(1, Array.prototype.concat.length, "Array.prototype.concat.length"); 35 assertEquals(1, Array.prototype.join.length, "Array.prototype.join.length"); 36 assertEquals(1, Array.prototype.push.length, "Array.prototype.push.length"); 37 assertEquals(1, Array.prototype.unshift.length, "Array.prototype.unshift.length") [all...] |
value-wrapper.js | 103 // Test with normal setup of prototype. 104 String.prototype.TypeOfThis = TypeOfThis; 105 Boolean.prototype.TypeOfThis = TypeOfThis; 106 Number.prototype.TypeOfThis = TypeOfThis; 107 Boolean.prototype[7] = TypeOfThis; 108 Number.prototype[7] = TypeOfThis; 110 String.prototype.ObjectValueOf = Object.prototype.valueOf; 111 Boolean.prototype.ObjectValueOf = Object.prototype.valueOf [all...] |
function-prototype.js | 29 // prototype used for instances in that case should be the initial 30 // object prototype. ECMA-262 13.2.2. 33 F.prototype = value; 35 assertEquals(value, F.prototype); 36 assertEquals(Object.prototype, f.__proto__); 47 assertEquals(f.__proto__, F.prototype); 48 F.prototype = 42; 50 assertEquals(Object.prototype, f.__proto__); 51 assertEquals(42, F.prototype); 52 F.prototype = { a: 42 } [all...] |
/external/oprofile/m4/ |
poptconst.m4 | 1 dnl AX_POPT_CONST - check popt prototype 4 AC_MSG_CHECKING([popt prototype]) 13 AC_MSG_RESULT([takes const char **]); AC_DEFINE(CONST_POPT, 1, [whether popt prototype takes a const char **]))
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.4.js | 24 ECMA Section: 15.4.4 Properties of the Array Prototype Object 25 Description: The value of the internal [[Prototype]] property of 26 the Array prototype object is the Object prototype 29 Note that the Array prototype object is itself an 40 var TITLE = "Properties of the Array Prototype Object"; 52 // array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ); 55 array[item++] = new TestCase( SECTION, "Array.prototype.length", 0, Array.prototype.length ) [all...] |
15.4.3.1-2.js | 24 ECMA Section: 15.4.3.1 Array.prototype 25 Description: The initial value of Array.prototype is the built-in 26 Array prototype object (15.4.4). 35 var TITLE = "Array.prototype"; 45 var ARRAY_PROTO = Array.prototype; 49 array[item++] = new TestCase( SECTION, "Array.prototype = null; Array.prototype", ARRAY_PROTO, eval("Array.prototype = null; Array.prototype") ); 51 array[item++] = new TestCase( SECTION, "delete Array.prototype", false, delete Array.prototype ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.js | 24 ECMA Section: 15.5.4 Properties of the String prototype object 34 var TITLE = "Properties of the String Prototype objecta"; 46 "String.prototype.getClass = Object.prototype.toString; String.prototype.getClass()", 48 eval("String.prototype.getClass = Object.prototype.toString; String.prototype.getClass()") ); 50 array[item++] = new TestCase( SECTION, "typeof String.prototype", "object", typeof String.prototype ); [all...] |
15.5.4.4-4.js | 24 ECMA Section: 15.5.4.4 String.prototype.charAt(pos) 53 var TITLE = "String.prototype.charAt"; 64 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "n", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 65 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "u", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 66 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 67 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") ) [all...] |
15.5.4.8-1.js | 24 ECMA Section: 15.5.4.8 String.prototype.split( separator ) 52 var TITLE = "String.prototype.split"; 63 array[item++] = new TestCase( SECTION, "String.prototype.split.length", 2, String.prototype.split.length ); 64 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length", false, delete String.prototype.split.length ); 65 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length; String.prototype.split.length", 2, eval("delete String.prototype.split.length; String.prototype.split.length") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.3.1-4.js | 24 ECMA Section: 15.6.3.1 Properties of the Boolean Prototype Object 26 Description: The initial value of Boolean.prototype is the built-in 27 Boolean prototype object (15.6.4). 32 This tests the ReadOnly property of Boolean.prototype 41 var TITLE = "Boolean.prototype" 51 var BOOL_PROTO = Boolean.prototype; 54 "var BOOL_PROTO = Boolean.prototype; Boolean.prototype=null; Boolean.prototype == BOOL_PROTO", 56 eval("var BOOL_PROTO = Boolean.prototype; Boolean.prototype=null; Boolean.prototype == BOOL_PROTO") ) [all...] |
15.6.4-1.js | 24 ECMA Section: 15.6.4 Properties of the Boolean Prototype Object 27 The Boolean prototype object is itself a Boolean object (its [[Class]] is 30 The value of the internal [[Prototype]] property of the Boolean prototype object 31 is the Object prototype object (15.2.3.1). 43 writeHeaderToLog( SECTION + " Properties of the Boolean Prototype Object"); 51 array[item++] = new TestCase( SECTION, "typeof Boolean.prototype == typeof( new Boolean )", true, typeof Boolean.prototype == typeof( new Boolean ) ); 52 array[item++] = new TestCase( SECTION, "typeof( Boolean.prototype )", "object", typeof(Boolean.prototype) ); [all...] |
15.6.4.js | 24 ECMA Section: Properties of the Boolean Prototype Object 26 The Boolean prototype object is itself a Boolean object (its [[Class]] is " 29 The value of the internal [[Prototype]] property of the Boolean prototype 30 object is the Object prototype object (15.2.3.1). 33 prototype object, the phrase "this Boolean object" refers to the object that 47 var TITLE = "Properties of the Boolean Prototype Object"; 54 "Boolean.prototype == false", 56 Boolean.prototype == false ); 59 "Boolean.prototype.toString = Object.prototype.toString; Boolean.prototype.toString()" [all...] |
15.6.3.1-3.js | 24 ECMA Section: 15.6.3.1 Boolean.prototype 26 Description: The initial valu eof Boolean.prototype is the built-in 27 Boolean prototype object (15.6.4). 32 This tests the DontDelete property of Boolean.prototype 41 var TITLE = "Boolean.prototype" 52 "delete( Boolean.prototype); Boolean.prototype", 53 Boolean.prototype, 54 eval("delete( Boolean.prototype); Boolean.prototype") ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.js | 24 ECMA Section: 15.9.5 Properties of the Date prototype object 27 The Date prototype object is itself a Date object (its [[Class]] is 30 The value of the internal [[Prototype]] property of the Date prototype 31 object is the Object prototype object (15.2.3.1). 34 prototype object, the phrase "this Date object" refers to the object that 48 var TITLE = "Properties of the Date Prototype Object"; 54 Date.prototype.getClass = Object.prototype.toString; 57 "Date.prototype.getClass" [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/ |
call-1.js | 3 Section: Function.prototype.call 12 var TITLE = "Function.prototype.call"; 27 "ToString.call( Boolean, Boolean.prototype )", 29 ToString.call( Boolean, Boolean.prototype ) ); 32 "ToString.call( Boolean, Boolean.prototype.valueOf() )", 34 ToString.call( Boolean, Boolean.prototype.valueOf() ) );
|
/external/clang/test/Parser/ |
method-def-in-class.m | 5 -(id) f0 { // expected-error {{expected ';' after method prototype}} 11 -(id) f0 { // expected-error {{expected ';' after method prototype}} 16 - (id) f0 { // expected-error {{expected ';' after method prototype}} 22 - (id) f0 { // expected-error {{expected ';' after method prototype}}
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4.js | 28 The Number prototype object is itself a Number object (its [[Class]] is 31 The value of the internal [[Prototype]] property of the Number prototype 32 object is the Object prototype object (15.2.3.1). 35 prototype object, the phrase "this Number object" refers to the object 48 var TITLE = "Properties of the Number Prototype Object"; 59 "Number.prototype.toString=Object.prototype.toString;Number.prototype.toString()", 61 eval("Number.prototype.toString=Object.prototype.toString;Number.prototype.toString()") ) [all...] |
15.7.3.1-2.js | 24 ECMA Section: 15.7.3.1 Number.prototype 28 this test checks the ReadOnly attribute of Number.prototype 38 var TITLE = "Number.prototype"; 51 "var NUM_PROT = Number.prototype; Number.prototype = null; Number.prototype == NUM_PROT", 53 eval("var NUM_PROT = Number.prototype; Number.prototype = null; Number.prototype == NUM_PROT") ); 56 "Number.prototype=0; Number.prototype" [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ProtoIdsSection.java | 20 import com.android.dexgen.rop.type.Prototype; 28 * Proto (method prototype) identifiers list section of a 35 private final TreeMap<Prototype, ProtoIdItem> protoIds; 45 protoIds = new TreeMap<Prototype, ProtoIdItem>(); 87 * @param prototype {@code non-null;} the prototype to intern 90 public ProtoIdItem intern(Prototype prototype) { 91 if (prototype == null) { 92 throw new NullPointerException("prototype == null") [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ProtoIdsSection.java | 20 import com.android.dx.rop.type.Prototype; 28 * Proto (method prototype) identifiers list section of a 35 private final TreeMap<Prototype, ProtoIdItem> protoIds; 45 protoIds = new TreeMap<Prototype, ProtoIdItem>(); 87 * @param prototype {@code non-null;} the prototype to intern 90 public ProtoIdItem intern(Prototype prototype) { 91 if (prototype == null) { 92 throw new NullPointerException("prototype == null") [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.4-1.js | 24 ECMA Section: 15.3.4 Properties of the Function Prototype Object 26 Description: The Function prototype object is itself a Function 30 The value of the internal [[Prototype]] property 31 object is the Object prototype object. 36 The Function prototype object does not have a valueOf 38 property from the Object prototype Object. 48 var TITLE = "Properties of the Function Prototype Object"; 59 "var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()", 61 eval("var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()")) [all...] |
15.3.4.js | 24 ECMA Section: 15.3.4 Properties of the Function Prototype Object 26 Description: The Function prototype object is itself a Function 30 The value of the internal [[Prototype]] property 31 object is the Object prototype object. 36 The Function prototype object does not have a valueOf 38 property from the Object prototype Object. 47 var TITLE = "Properties of the Function Prototype Object"; 58 "var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()", 60 eval("var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()")) [all...] |
15.3.3.1-4.js | 25 Function.prototype 27 Description: The initial value of Function.prototype is the built-in 28 Function prototype object. 33 This test the ReadOnly property of Function.prototype. 42 var TITLE = "Function.prototype"; 54 "Function.prototype = null; Function.prototype", 55 Function.prototype, 56 eval("Function.prototype = null; Function.prototype") [all...] |