HomeSort by relevance Sort by last modified time
    Searched refs:prototype (Results 26 - 50 of 699) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/
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...]
  /dalvik/dx/src/com/android/dx/dex/file/
ProtoIdItem.java 21 import com.android.dx.rop.type.Prototype;
28 * Representation of a method prototype reference inside a Dalvik file.
34 /** {@code non-null;} the wrapped prototype */
35 private final Prototype prototype; field in class:ProtoIdItem
37 /** {@code non-null;} the short-form of the prototype */
42 * prototype has no parameters
49 * @param prototype {@code non-null;} the constant for the prototype
51 public ProtoIdItem(Prototype prototype)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/
15.2.4.3.js 24 ECMA Section: 15.2.4.3 Object.prototype.valueOf()
41 var TITLE = "Object.prototype.valueOf()";
53 myarray.valueOf = Object.prototype.valueOf;
55 myboolean.valueOf = Object.prototype.valueOf;
57 myfunction.valueOf = Object.prototype.valueOf;
59 myobject.valueOf = Object.prototype.valueOf;
61 mymath.valueOf = Object.prototype.valueOf;
63 mydate.valueOf = Object.prototype.valueOf;
65 mynumber.valueOf = Object.prototype.valueOf;
67 mystring.valueOf = Object.prototype.valueOf
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_3/inherit/
proto_10.js 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
50 if ( object == constructor.prototype ) {
65 Manager.prototype = new Employee();
72 WorkerBee.prototype = new Employee();
78 SalesPerson.prototype = new WorkerBee();
85 Engineer.prototype = new WorkerBee();
103 "pat.__proto__ == Engineer.prototype",
105 pat.__proto__ == Engineer.prototype );
108 "pat.__proto__.__proto__ == WorkerBee.prototype",
110 pat.__proto__.__proto__ == WorkerBee.prototype );
    [all...]
proto_9.js 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
57 WorkerBee.prototype = new Employee();
74 Employee.prototype.specialty = "none";
75 Employee.prototype.name = "Unknown";
77 Array.prototype.getClass = Object.prototype.toString;
proto_4.js 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
35 If you add a property to an object in the prototype chain, instances of
36 objects that derive from that prototype should inherit that property, even
37 if they were instatiated after the property was added to the prototype object.
46 var TITLE = "Adding properties to the prototype";
60 Manager.prototype = new Employee();
66 WorkerBee.prototype = new Employee();
72 SalesPerson.prototype = new WorkerBee();
78 Engineer.prototype = new WorkerBee();
99 Employee.prototype.specialty = "none"
    [all...]
proto_5.js 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
57 Manager.prototype = new Employee();
62 WorkerBee.prototype = new Employee();
68 SalesPerson.prototype = new WorkerBee();
74 Engineer.prototype = new WorkerBee();
116 "pat.__proto__ == Engineer.prototype",
118 pat.__proto__ == Engineer.prototype );
141 "les.__proto__ == Engineer.prototype",
143 les.__proto__ == Engineer.prototype );
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Expressions/
instanceof-003-n.js 44 Gen2.prototype = new Gen3();
51 Gen1.prototype = new Gen2();
58 Gen0.prototype = new Gen1();
67 GenA.prototype = new Gen0();
76 GenB.prototype = void 0;
88 // Identifier is a function, prototype of Identifier is not an object
instanceof-004-n.js 44 Gen2.prototype = new Gen3();
51 Gen1.prototype = new Gen2();
58 Gen0.prototype = new Gen1();
67 GenA.prototype = new Gen0();
76 GenB.prototype = void 0;
87 // Identifier is a function, prototype of Identifier is not an object
instanceof-005-n.js 44 Gen2.prototype = new Gen3();
51 Gen1.prototype = new Gen2();
58 Gen0.prototype = new Gen1();
67 GenA.prototype = new Gen0();
76 GenB.prototype = void 0;
79 // Identifier is a function, prototype of Identifier is not an object
instanceof-006.js 44 Gen2.prototype = new Gen3();
51 Gen1.prototype = new Gen2();
58 Gen0.prototype = new Gen1();
67 GenA.prototype = new Gen0();
76 GenB.prototype = void 0;
  /external/webkit/WebCore/inspector/front-end/
ConsolePanel.js 34 WebInspector.ConsolePanel.prototype = {
44 WebInspector.Panel.prototype.show.call(this);
66 WebInspector.Panel.prototype.hide.call(this);
88 WebInspector.ConsolePanel.prototype.__proto__ = WebInspector.Panel.prototype;
PropertiesSidebarPane.js 34 WebInspector.PropertiesSidebarPane.prototype = {
51 // Get array of prototype user-friendly names.
53 var prototype = new WebInspector.ObjectProxy(node.injectedScriptId, node.id, [], i);
54 var section = new WebInspector.ObjectPropertiesSection(prototype, prototypes[i], WebInspector.UIString("Prototype"));
63 WebInspector.PropertiesSidebarPane.prototype.__proto__ = WebInspector.SidebarPane.prototype;
ResourceCategory.js 35 WebInspector.ResourceCategory.prototype = {
65 WebInspector.ResourceCategory.prototype.__proto__ = WebInspector.AbstractTimelineCategory.prototype;
View.js 32 WebInspector.View.prototype = {
74 WebInspector.View.prototype.__proto__ = WebInspector.Object.prototype;
SourceCSSTokenizer.re2js 173 WebInspector.SourceCSSTokenizer.prototype = {
318 WebInspector.SourceCSSTokenizer.prototype.__proto__ = WebInspector.SourceTokenizer.prototype;
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
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...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-2.js 58 myfunc1.toString = Object.prototype.toString;
59 myfunc2.toString = Object.prototype.toString;
60 myfunc3.toString = Object.prototype.toString;
62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS",
74 eval("var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS") )
    [all...]
15.3.2.1-2.js 51 myfunc1.toString = Object.prototype.toString;
52 myfunc2.toString = Object.prototype.toString;
53 myfunc3.toString = Object.prototype.toString;
55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
60 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
62 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
65 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS",
67 eval("var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS") )
    [all...]
15.3.1.1-1.js 55 myfunc.toString = Object.prototype.toString;
60 myfunc.toString = Object.prototype.toString;
62 "myfunc = Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()",
66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() );
67 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor );
71 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") );
72 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototy (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.4-1.js 24 ECMA Section: 15.7.4.1 Properties of the Number Prototype Object
34 writeHeaderToLog( SECTION + "Properties of the Number prototype object");
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__ )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/GetSet/
getset-001.js 30 TestObject.prototype._y = "<initial y>";
32 TestObject.prototype.y getter =
45 TestObject.prototype.y setter =
58 reportCompare ("<initial y>", t._y, "y prototype check");
  /external/webkit/JavaScriptCore/runtime/
BooleanObject.h 35 static PassRefPtr<Structure> createStructure(JSValue prototype)
37 return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);
JSAPIValueWrapper.h 40 static PassRefPtr<Structure> createStructure(JSValue prototype)
42 return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren | OverridesGetPropertyNames), AnonymousSlotCount);
JSONObject.h 42 static PassRefPtr<Structure> createStructure(JSValue prototype)
44 return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);

Completed in 197 milliseconds

12 3 4 5 6 7 8 91011>>