/third_party/jerryscript/tests/jerry/es2015/ |
D | proxy_set_prototoype_of.js | 20 var handler = { setPrototypeOf (target) { method 28 Object.setPrototypeOf(proxy, {}); 41 setPrototypeOf(target, targetrProto) { method 49 assert(Reflect.setPrototypeOf(proxy, targetProto) === false); 53 Object.setPrototypeOf(proxy, targetProto); 60 Object.setPrototypeOf(proxy, undefined); 67 Object.setPrototypeOf(proxy, 1); 79 Object.setPrototypeOf(proxy, prototype); 82 handler.setPrototypeOf = function(target, proto) { function 87 Object.setPrototypeOf(proxy, {}); [all …]
|
D | reflect-setPrototypeOf.js | 17 assert(Reflect.setPrototypeOf(object1, Object.prototype) === true); 18 assert(Reflect.setPrototypeOf(object1, null) === true); 21 assert(Reflect.setPrototypeOf(Object.freeze(object2), null) === false);
|
D | function-properties.js | 37 Object.setPrototypeOf(func, prototype_obj); 41 Object.setPrototypeOf(bound_func, prototype_obj); 45 Object.setPrototypeOf(print, prototype_obj);
|
/third_party/node/test/parallel/ |
D | test-util-types.js | 150 Object.setPrototypeOf(new DataView(arrayBuffer), Uint8Array.prototype); 152 Object.setPrototypeOf(new Uint8Array(arrayBuffer), ArrayBuffer.prototype); 154 Object.setPrototypeOf( 158 Object.setPrototypeOf(new Uint16Array(arrayBuffer), Uint16Array.prototype); 160 Object.setPrototypeOf(new Uint32Array(arrayBuffer), Uint32Array.prototype); 162 Object.setPrototypeOf(new Int8Array(arrayBuffer), Int8Array.prototype); 164 Object.setPrototypeOf(new Int16Array(arrayBuffer), Int16Array.prototype); 166 Object.setPrototypeOf(new Int32Array(arrayBuffer), Int32Array.prototype); 168 Object.setPrototypeOf( 172 Object.setPrototypeOf( [all …]
|
D | test-stream-pipe-event.js | 31 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype); 32 Object.setPrototypeOf(Writable, stream.Stream); 38 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype); 39 Object.setPrototypeOf(Readable, stream.Stream);
|
D | test-event-emitter-prepend.js | 30 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype); 31 Object.setPrototypeOf(Writable, stream.Stream); 37 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype); 38 Object.setPrototypeOf(Readable, stream.Stream);
|
D | test-event-emitter-subclass.js | 27 Object.setPrototypeOf(MyEE.prototype, EventEmitter.prototype); 28 Object.setPrototypeOf(MyEE, EventEmitter); 41 Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype); 42 Object.setPrototypeOf(ErrorEE, EventEmitter);
|
D | test-stream-pipe-cleanup.js | 34 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype); 35 Object.setPrototypeOf(Writable, stream.Stream); 48 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype); 49 Object.setPrototypeOf(Readable, stream.Stream); 55 Object.setPrototypeOf(Duplex.prototype, Writable.prototype); 56 Object.setPrototypeOf(Duplex, Writable);
|
D | test-buffer-inheritance.js | 9 Object.setPrototypeOf(ui8, T.prototype); 12 Object.setPrototypeOf(T.prototype, Buffer.prototype); 13 Object.setPrototypeOf(T, Buffer);
|
D | test-zlib-deflate-raw-inherits.js | 14 Object.setPrototypeOf(NotInitialized.prototype, DeflateRaw.prototype); 15 Object.setPrototypeOf(NotInitialized, DeflateRaw);
|
D | test-buffer-fakes.js | 7 Object.setPrototypeOf(FakeBuffer, Buffer); 8 Object.setPrototypeOf(FakeBuffer.prototype, Buffer.prototype);
|
D | test-assert-checktag.js | 44 Object.setPrototypeOf(fakeGlobal, Object.getPrototypeOf(global)); 56 Object.setPrototypeOf(fakeProcess, Object.getPrototypeOf(process));
|
D | test-stream-inheritance.js | 46 Object.setPrototypeOf(CustomWritable, Writable); 47 Object.setPrototypeOf(CustomWritable.prototype, Writable.prototype);
|
D | test-util-isDeepStrictEqual.js | 455 Object.setPrototypeOf(booleanish, String.prototype); 460 Object.setPrototypeOf(numberish, String.prototype); 465 Object.setPrototypeOf(stringish, Number.prototype); 470 Object.setPrototypeOf(bigintish, String.prototype); 475 Object.setPrototypeOf(symbolish, String.prototype);
|
D | test-util-inspect.js | 57 Object.setPrototypeOf(fn, Object.getPrototypeOf(async () => {})); 76 Object.setPrototypeOf(fn, null); 742 Object.setPrototypeOf(BadCustomError.prototype, Error.prototype); 743 Object.setPrototypeOf(BadCustomError, Error); 1033 util.inspect(Object.setPrototypeOf(new Boolean(true), null)), 1040 Object.setPrototypeOf(new Number(-0), Array.prototype), 1271 Object.setPrototypeOf(a, null); 1356 util.inspect(Object.setPrototypeOf(x, null)), 1961 Object.setPrototypeOf(foo, null); 2025 Object.setPrototypeOf(clazz, Map.prototype); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | classExtendsItselfIndirectly3.js | 24 extendStatics = Object.setPrototypeOf || 47 extendStatics = Object.setPrototypeOf || 70 extendStatics = Object.setPrototypeOf || 93 extendStatics = Object.setPrototypeOf || 116 extendStatics = Object.setPrototypeOf || 139 extendStatics = Object.setPrototypeOf ||
|
D | doYouNeedToChangeYourTargetLibraryES2015.js | 15 const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {}); 33 const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {}); 113 var testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {}); 131 var testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {});
|
D | doYouNeedToChangeYourTargetLibraryES2015.types | 105 const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {}); 107 >Reflect.setPrototypeOf({}, {}) : any 108 >Reflect.setPrototypeOf : any 110 >setPrototypeOf : any 239 const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {}); 241 >Object.setPrototypeOf({}, {}) : any 242 >Object.setPrototypeOf : any 244 >setPrototypeOf : any
|
D | exportDefaultAbstractClass.js | 19 extendStatics = Object.setPrototypeOf || 51 extendStatics = Object.setPrototypeOf ||
|
/third_party/node/test/common/ |
D | arraystream.js | 15 Object.setPrototypeOf(ArrayStream.prototype, Stream.prototype); 16 Object.setPrototypeOf(ArrayStream, Stream);
|
/third_party/jerryscript/tests/jerry-test-suite/es2015/19/19.01/19.01.02/ |
D | 19.01.02-004.js | 22 Object.setPrototypeOf(o, proto); 39 assert(o === Object.setPrototypeOf(o, proto));
|
/third_party/node/test/fixtures/ |
D | repl-tab-completion-nested-repls.js | 21 Object.setPrototypeOf(ArrayStream.prototype, Stream.prototype); 22 Object.setPrototypeOf(ArrayStream, Stream);
|
/third_party/typescript/src/testRunner/parallel/ |
D | worker.ts | 65 Object.setPrototypeOf(cloned, this.constructor.prototype); 77 Object.setPrototypeOf(hook, Hook.prototype); 175 Object.setPrototypeOf(suite.ctx, root.ctx); 181 Object.setPrototypeOf(newSuite.ctx, root.ctx); 182 Object.setPrototypeOf(test.ctx, root.ctx); 189 Object.setPrototypeOf(suite!.ctx, unitTestSuite.ctx);
|
/third_party/node/test/js-native-api/test_object/ |
D | test.js | 139 Object.setPrototypeOf(wrapper, protoA); 150 Object.setPrototypeOf(wrapper, protoA); 154 Object.setPrototypeOf(protoB, Object.getPrototypeOf(wrapper)); 155 Object.setPrototypeOf(wrapper, protoB);
|
/third_party/node/deps/npm/node_modules/proto-list/ |
D | proto-list.js | 5 if (typeof Object.setPrototypeOf === "function") 6 return Object.setPrototypeOf(obj, proto)
|