/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...] |
15-2.js | 27 has the Function prototype object, which is the value of 28 the expression Function.prototype as the value of its 29 internal [[Prototype]] property, except the Function 30 prototype object itself. 33 constructors should be the Function.prototype object. 52 array[item++] = new TestCase( SECTION, "Object.__proto__", Function.prototype, Object.__proto__ ); 53 array[item++] = new TestCase( SECTION, "Array.__proto__", Function.prototype, Array.__proto__ ); 54 array[item++] = new TestCase( SECTION, "String.__proto__", Function.prototype, String.__proto__ ); 55 array[item++] = new TestCase( SECTION, "Boolean.__proto__", Function.prototype, Boolean.__proto__ ); 56 array[item++] = new TestCase( SECTION, "Number.__proto__", Function.prototype, Number.__proto__ ) [all...] |
/external/v8/test/mjsunit/ |
function-call.js | 30 [Object.prototype.toLocaleString, 31 Object.prototype.valueOf, 32 Object.prototype.hasOwnProperty, 33 Object.prototype.isPrototypeOf, 34 Object.prototype.propertyIsEnumerable, 35 Array.prototype.concat, 36 Array.prototype.join, 37 Array.prototype.pop, 38 Array.prototype.push, 39 Array.prototype.reverse [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...] |
/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/RegExp/ |
constructor-001.js | 18 * - prototype property should be set to RegExp.prototype 26 RegExp.prototype.getClassProperty = Object.prototype.toString; 31 RegExp.prototype, 36 "RegExp.prototype.getClassProperty = Object.prototype.toString; " +
|
function-001.js | 18 * - prototype property should be set to RegExp.prototype 26 RegExp.prototype.getClassProperty = Object.prototype.toString; 31 RegExp.prototype, 36 "RegExp.prototype.getClassProperty = Object.prototype.toString; " +
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ExtensionRegistryStub.js | 37 WebInspector.InspectorExtensionRegistryStub.prototype = {
|
TopDownProfileDataGridTree.js | 35 WebInspector.TopDownProfileDataGridNode.prototype = { 67 WebInspector.TopDownProfileDataGridNode.prototype.__proto__ = WebInspector.ProfileDataGridNode.prototype; 75 WebInspector.TopDownProfileDataGridNode.prototype._populate.call(this); 78 WebInspector.TopDownProfileDataGridTree.prototype = { 100 WebInspector.TopDownProfileDataGridNode.prototype._exclude.call(this, excludedCallUID); 113 WebInspector.ProfileDataGridTree.prototype.restore.call(this); 116 _merge: WebInspector.TopDownProfileDataGridNode.prototype._merge, 118 _sharedPopulate: WebInspector.TopDownProfileDataGridNode.prototype._sharedPopulate 121 WebInspector.TopDownProfileDataGridTree.prototype.__proto__ = WebInspector.ProfileDataGridTree.prototype [all...] |
ResourceCategory.js | 36 WebInspector.ResourceCategory.prototype = {
|
ResourceJSONView.js | 52 WebInspector.ResourceJSONView.prototype = { 60 WebInspector.ResourceView.prototype.show.call(this, parentElement); 75 WebInspector.ResourceJSONView.prototype.__proto__ = WebInspector.ResourceView.prototype;
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dexgen.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dx.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dx.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaRuntimeObject.h | 45 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 47 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/webkit/Source/WebCore/bridge/objc/ |
ObjCRuntimeObject.h | 45 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 47 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/webkit/PerformanceTests/SunSpider/hosted/ |
json2.js | 48 Date.prototype.toJSON = function (key) { 154 lastIndex, length, parse, prototype, push, replace, slice, stringify, 173 if (typeof Date.prototype.toJSON !== 'function') { 175 Date.prototype.toJSON = function (key) { 186 String.prototype.toJSON = 187 Number.prototype.toJSON = 188 Boolean.prototype.toJSON = function (key) { 293 if (Object.prototype.toString.apply(value) === '[object Array]') {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Expressions/ |
instanceof-002.js | 15 This tests the syntax ObjectName.prototype = new PrototypeObject using the 35 if ( object == constructor.prototype ) { 51 Manager.prototype = new Employee(); 58 WorkerBee.prototype = new Employee(); 64 SalesPerson.prototype = new WorkerBee(); 71 Engineer.prototype = new WorkerBee(); 76 "pat.__proto__ == Engineer.prototype", 78 pat.__proto__ == Engineer.prototype ); 81 "pat.__proto__.__proto__ == WorkerBee.prototype", 83 pat.__proto__.__proto__ == WorkerBee.prototype ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_2.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 55 Manager.prototype = new Employee(); 61 WorkerBee.prototype = new Employee; 67 SalesPerson.prototype = new WorkerBee; 73 Engineer.prototype = new WorkerBee; 97 "employee.__proto__ == Employee.prototype", 99 employee.__proto__ == Employee.prototype ); 102 "manager.__proto__ == Manager.prototype", 104 manager.__proto__ == Manager.prototype ); 107 "workerbee.__proto__ == WorkerBee.prototype", [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/Array/ |
regress-304828.js | 53 actual = Array.prototype.join.call(value); 66 actual = Array.prototype.reverse.call(value) + ''; 79 actual = Array.prototype.sort.call(value) + ''; 92 actual = Array.prototype.push.call(value, 'd', 'e', 'f'); 106 actual = Array.prototype.pop.call(value); 120 actual = Array.prototype.unshift.call(value, 'a', 'b', 'c'); 134 actual = Array.prototype.shift.call(value); 148 actual = Array.prototype.splice.call(value, 1, 1) + ''; 161 actual = Array.prototype.concat.call(value, 'd', 'e', 'f') + ''; 174 actual = Array.prototype.slice.call(value, 1, 2) + '' [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/dexmaker/src/dx/java/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/runtime/ |
ArrayPrototype.h | 38 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 40 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
MathObject.h | 37 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 39 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|