Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 1277) sorted by relevance

12345678910>>...52

/external/v8/test/mjsunit/
Dfunction-call.js30 [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 …]
Dvalue-wrapper.js104 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;
112 Number.prototype.ObjectValueOf = Object.prototype.valueOf;
114 String.prototype.ObjectToString = Object.prototype.toString;
115 Boolean.prototype.ObjectToString = Object.prototype.toString;
[all …]
Dlength.js32 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");
42 assertEquals(1, Function.prototype.call.length, "Function.prototype.call.length");
44 assertEquals(1, Number.prototype.toExponential.length, "Number.prototype.toExponential.length");
45 assertEquals(1, Number.prototype.toFixed.length, "Number.prototype.toFixed.length");
46 assertEquals(1, Number.prototype.toPrecision.length, "Number.prototype.toPrecision.length");
52 assertEquals(1, String.prototype.concat.length, "String.prototype.concat.length");
[all …]
Dfunction-prototype.js33 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 };
54 assertEquals(42, F.prototype.a);
55 assertEquals(f.__proto__, F.prototype);
[all …]
Derror-constructors.js30 Error.prototype.toString = Object.prototype.toString;
31 assertEquals("[object Error]", Error.prototype.toString());
32 assertEquals(Object.prototype, Error.prototype.__proto__);
37 ReferenceError.prototype.__defineSetter__('stack', fail);
38 ReferenceError.prototype.__defineSetter__('message', fail);
39 ReferenceError.prototype.__defineSetter__('type', fail);
40 ReferenceError.prototype.__defineSetter__('arguments', fail);
56 assertEquals("ReferenceError", ReferenceError.prototype.name);
57 delete ReferenceError.prototype.name;
58 assertEquals("ReferenceError", ReferenceError.prototype.name);
[all …]
Darray-tostring.js60 a4.__proto__ = { toString: Array.prototype.toString };
69 toString: Array.prototype.toString,
70 join: Array.prototype.join};
76 var o2 = {toString : Array.prototype.toString,
85 toString: Array.prototype.toString,
92 toString: Array.prototype.toString,
99 toString: Array.prototype.toString
108 Object.defineProperty(Number.prototype, "join", {get: function() {
114 Number.prototype.arrayToString = Array.prototype.toString;
121 Array.prototype.toString = function() { assertUnreachable(); };
[all …]
Dsetter-on-constructor-prototype.js34 C1.prototype = { set x(value) { this.y = 23; } };
36 %ToFastProperties(C1.prototype);
49 C2.prototype = { };
50 C2.prototype.__proto__ = { set x(value) { this.y = 23; } };
52 %ToFastProperties(C2.prototype.__proto__)
65 C3.prototype = { };
66 C3.prototype.__defineSetter__('x', function(value) { this.y = 23; });
68 %ToFastProperties(C3.prototype);
81 C4.prototype = { };
82 C4.prototype.__proto__ = { };
[all …]
Darray-indexing.js102 assertEquals(0, Array.prototype.indexOf.call(dense_object, 42));
103 assertEquals(1, Array.prototype.indexOf.call(dense_object, 37));
104 assertEquals(-1, Array.prototype.indexOf.call(dense_object, 87));
106 assertEquals(0, Array.prototype.indexOf.call(sparse_object, 42));
107 assertEquals(100000, Array.prototype.indexOf.call(sparse_object, 37));
108 assertEquals(-1, Array.prototype.indexOf.call(sparse_object, 87));
110 assertEquals(10, Array.prototype.indexOf.call(funky_object, 42));
111 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 42, 15));
112 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 37));
114 assertEquals(-1, Array.prototype.indexOf.call(infinite_object, 42));
[all …]
Dundeletable-functions.js37 CheckEcmaSemantics(Array.prototype, array, "Array prototype");
39 var old_Array_prototype = Array.prototype;
42 Array.prototype = new_Array_prototype;
43 assertEquals(old_Array_prototype, Array.prototype);
57 CheckEcmaSemantics(Date.prototype, array, "Date prototype");
80 CheckEcmaSemantics(RegExp.prototype, array, "RegExp prototype");
86 CheckEcmaSemantics(Object.prototype, array, "Object prototype");
88 var old_Object_prototype = Object.prototype;
91 Object.prototype = new_Object_prototype;
92 assertEquals(old_Object_prototype, Object.prototype);
[all …]
/external/libvpx/libvpx/vp8/common/
Drtcd_defs.sh22 prototype void vp8_dequantize_b "struct blockd*, short *dqc"
26 prototype void vp8_dequant_idct_add "short *input, short *dq, unsigned char *output, int stride"
31 prototype void vp8_dequant_idct_add_y_block "short *q, short *dq, unsigned char *dst, int stride, c…
36 prototype void vp8_dequant_idct_add_uv_block "short *q, short *dq, unsigned char *dst_u, unsigned c…
44 prototype void vp8_loop_filter_mbv "unsigned char *y, unsigned char *u, unsigned char *v, int ystri…
49 prototype void vp8_loop_filter_bv "unsigned char *y, unsigned char *u, unsigned char *v, int ystrid…
54 prototype void vp8_loop_filter_mbh "unsigned char *y, unsigned char *u, unsigned char *v, int ystri…
59 prototype void vp8_loop_filter_bh "unsigned char *y, unsigned char *u, unsigned char *v, int ystrid…
65 prototype void vp8_loop_filter_simple_mbv "unsigned char *y, int ystride, const unsigned char *blim…
73 prototype void vp8_loop_filter_simple_mbh "unsigned char *y, int ystride, const unsigned char *blim…
[all …]
/external/v8/src/
Dmirror-debugger.js139 tempCtor.prototype = superCtor.prototype;
140 ctor.super_ = superCtor.prototype;
141 ctor.prototype = new tempCtor();
142 ctor.prototype.constructor = ctor;
231 Mirror.prototype.type = function() {
240 Mirror.prototype.isValue = function() {
249 Mirror.prototype.isUndefined = function() {
258 Mirror.prototype.isNull = function() {
267 Mirror.prototype.isBoolean = function() {
276 Mirror.prototype.isNumber = function() {
[all …]
/external/chromium/chrome/browser/resources/net_internals/
Dmain.js281 BrowserBridge.prototype.sendReady = function() {
291 BrowserBridge.prototype.isPlatformWindows = function() {
295 BrowserBridge.prototype.sendGetProxySettings = function() {
300 BrowserBridge.prototype.sendReloadProxySettings = function() {
304 BrowserBridge.prototype.sendGetBadProxies = function() {
309 BrowserBridge.prototype.sendGetHostResolverInfo = function() {
314 BrowserBridge.prototype.sendClearBadProxies = function() {
318 BrowserBridge.prototype.sendClearHostResolverCache = function() {
322 BrowserBridge.prototype.sendStartConnectionTests = function(url) {
326 BrowserBridge.prototype.sendHSTSQuery = function(domain) {
[all …]
Dsourceentry.js23 SourceEntry.prototype.isSelected = function() {
27 SourceEntry.prototype.setSelectedStyles = function(isSelected) {
32 SourceEntry.prototype.setMouseoverStyle = function(isMouseOver) {
36 SourceEntry.prototype.setIsMatchedByFilter = function(isMatchedByFilter) {
54 SourceEntry.prototype.isMatchedByFilter = function() {
58 SourceEntry.prototype.setFilterStyles = function(isMatchedByFilter) {
67 SourceEntry.prototype.update = function(logEntry) {
95 SourceEntry.prototype.onCheckboxToggled_ = function() {
99 SourceEntry.prototype.matchesFilter = function(filter) {
131 SourceEntry.prototype.setSelected = function(isSelected) {
[all …]
Dview.js18 View.prototype.setGeometry = function(left, top, width, height) {
28 View.prototype.show = function(isVisible) {
32 View.prototype.isVisible = function() {
42 View.prototype.isActive = function() {
46 View.prototype.getLeft = function() {
50 View.prototype.getTop = function() {
54 View.prototype.getWidth = function() {
58 View.prototype.getHeight = function() {
62 View.prototype.getRight = function() {
66 View.prototype.getBottom = function() {
[all …]
/external/v8/tools/
Dprofile.js48 Profile.prototype.skipThisFunction = function(name) {
90 Profile.prototype.handleUnknownCode = function(
102 Profile.prototype.addLibrary = function(
118 Profile.prototype.addStaticCode = function(
135 Profile.prototype.addCode = function(
153 Profile.prototype.addFuncCode = function(
185 Profile.prototype.moveCode = function(from, to) {
199 Profile.prototype.deleteCode = function(start) {
214 Profile.prototype.moveFunc = function(from, to) {
226 Profile.prototype.findEntry = function(addr) {
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/
D15-1.js64 …ototype.__proto__ == Object.prototype", true, Function.prototype.__proto__ == Object.prototype );
65 …ototype.__proto__ == Object.prototype", true, Array.prototype.__proto__ == Object.prototype );
66 …ototype.__proto__ == Object.prototype", true, String.prototype.__proto__ == Object.prototype );
67 …ototype.__proto__ == Object.prototype", true, Boolean.prototype.__proto__ == Object.prototype );
68 …ototype.__proto__ == Object.prototype", true, Number.prototype.__proto__ == Object.prototype );
70 …ototype.__proto__ == Object.prototype", true, Date.prototype.__proto__ == Object.prototype );
71 …ototype.__proto__ == Object.prototype", true, TestCase.prototype.__proto__ == Object.prototype );
73 …ototype.__proto__ == Object.prototype", true, MyObject.prototype.__proto__ == Object.prototype );
/external/v8/test/mjsunit/harmony/
Dproxies-function.js61 return k == "length" ? 2 : Function.prototype[k]
97 assertEquals(42, Function.prototype.call.call(f, o, 20, 22))
100 assertEquals(43, Function.prototype.call.call(f, null, 20, 23))
102 assertEquals(44, Function.prototype.call.call(f, 2, 21, 23))
108 assertEquals(32, Function.prototype.apply.call(f, o, [17, 15]))
129 var ff = Function.prototype.bind.call(f, o, 12)
135 assertEquals(33, Function.prototype.call.call(ff, {}, 21))
138 assertEquals(32, Function.prototype.apply.call(ff, {}, [20]))
159 var fff = Function.prototype.bind.call(ff, o, 30)
165 assertEquals(42, Function.prototype.call.call(fff, {}))
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-deltablue.js43 Object.prototype.inheritsFrom = function (shuper) {
45 Inheriter.prototype = shuper.prototype;
46 this.prototype = new Inheriter();
54 OrderedCollection.prototype.add = function (elm) {
58 OrderedCollection.prototype.at = function (index) {
62 OrderedCollection.prototype.size = function () {
66 OrderedCollection.prototype.removeFirst = function () {
70 OrderedCollection.prototype.remove = function (elm) {
116 Strength.prototype.nextWeaker = function () {
154 Constraint.prototype.addConstraint = function () {
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-deltablue.js43 Object.prototype.inheritsFrom = function (shuper) {
45 Inheriter.prototype = shuper.prototype;
46 this.prototype = new Inheriter();
54 OrderedCollection.prototype.add = function (elm) {
58 OrderedCollection.prototype.at = function (index) {
62 OrderedCollection.prototype.size = function () {
66 OrderedCollection.prototype.removeFirst = function () {
70 OrderedCollection.prototype.remove = function (elm) {
116 Strength.prototype.nextWeaker = function () {
154 Constraint.prototype.addConstraint = function () {
[all …]
Dv8-richards.js121 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) {
131 Scheduler.prototype.addWorkerTask = function (id, priority, queue) {
141 Scheduler.prototype.addHandlerTask = function (id, priority, queue) {
151 Scheduler.prototype.addDeviceTask = function (id, priority, queue) {
162 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) {
174 Scheduler.prototype.addTask = function (id, priority, queue, task) {
183 Scheduler.prototype.schedule = function () {
199 Scheduler.prototype.release = function (id) {
215 Scheduler.prototype.holdCurrent = function () {
225 Scheduler.prototype.suspendCurrent = function () {
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-deltablue.js43 Object.prototype.inherits = function (shuper) {
45 Inheriter.prototype = shuper.prototype;
46 this.prototype = new Inheriter();
54 OrderedCollection.prototype.add = function (elm) {
58 OrderedCollection.prototype.at = function (index) {
62 OrderedCollection.prototype.size = function () {
66 OrderedCollection.prototype.removeFirst = function () {
70 OrderedCollection.prototype.remove = function (elm) {
116 Strength.prototype.nextWeaker = function () {
154 Constraint.prototype.addConstraint = function () {
[all …]
/external/v8/benchmarks/
Ddeltablue.js49 Object.prototype.inheritsFrom = function (shuper) {
51 Inheriter.prototype = shuper.prototype;
52 this.prototype = new Inheriter();
60 OrderedCollection.prototype.add = function (elm) {
64 OrderedCollection.prototype.at = function (index) {
68 OrderedCollection.prototype.size = function () {
72 OrderedCollection.prototype.removeFirst = function () {
76 OrderedCollection.prototype.remove = function (elm) {
122 Strength.prototype.nextWeaker = function () {
160 Constraint.prototype.addConstraint = function () {
[all …]
Drichards.js126 Scheduler.prototype.addIdleTask = function (id, priority, queue, count) {
136 Scheduler.prototype.addWorkerTask = function (id, priority, queue) {
146 Scheduler.prototype.addHandlerTask = function (id, priority, queue) {
156 Scheduler.prototype.addDeviceTask = function (id, priority, queue) {
167 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) {
179 Scheduler.prototype.addTask = function (id, priority, queue, task) {
188 Scheduler.prototype.schedule = function () {
204 Scheduler.prototype.release = function (id) {
220 Scheduler.prototype.holdCurrent = function () {
230 Scheduler.prototype.suspendCurrent = function () {
[all …]
/external/chromium/chrome/browser/resources/options/
Dautofill_options_list.js21 el.__proto__ = AddressListItem.prototype;
27 AddressListItem.prototype = {
28 __proto__: DeletableItem.prototype,
32 DeletableItem.prototype.decorate.call(this);
54 el.__proto__ = CreditCardListItem.prototype;
60 CreditCardListItem.prototype = {
61 __proto__: DeletableItem.prototype,
65 DeletableItem.prototype.decorate.call(this);
92 el.__proto__ = ValuesListItem.prototype;
98 ValuesListItem.prototype = {
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1365.js36 var valueOf = Object.prototype.valueOf;
37 var hasOwnProperty = Object.prototype.hasOwnProperty;
42 assertEquals(Object.prototype, Object.prototype.valueOf());
46 %OptimizeFunctionOnNextCall(Object.prototype.valueOf);
47 Object.prototype.valueOf();
49 assertEquals(Object.prototype, Object.prototype.valueOf());
54 var valueOf = Object.prototype.valueOf;
55 var hasOwnProperty = Object.prototype.hasOwnProperty;
70 CheckExceptionCallParameter(Object.prototype.valueOf);
71 CheckExceptionCallParameter(Object.prototype.hasOwnProperty);

12345678910>>...52