Home
last modified time | relevance | path

Searched refs:typedArray (Results 1 – 23 of 23) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DbigintIndex.types63 const typedArray = new Uint8Array(3);
64 >typedArray : Uint8Array
69 typedArray[bigNum] = 0xAA; // should error
70 >typedArray[bigNum] = 0xAA : 170
71 >typedArray[bigNum] : any
72 >typedArray : Uint8Array
76 typedArray[String(bigNum)] = 0xAA;
77 >typedArray[String(bigNum)] = 0xAA : 170
78 >typedArray[String(bigNum)] : any
79 >typedArray : Uint8Array
[all …]
DbigintIndex.js21 const typedArray = new Uint8Array(3); constant
22 typedArray[bigNum] = 0xAA; // should error
23 typedArray[String(bigNum)] = 0xAA;
24 typedArray["1"] = 0xBB;
25 typedArray[2] = 0xCC;
47 const typedArray = new Uint8Array(3); constant
48 typedArray[bigNum] = 0xAA; // should error
49 typedArray[String(bigNum)] = 0xAA;
50 typedArray["1"] = 0xBB;
51 typedArray[2] = 0xCC;
DbigintIndex.symbols46 const typedArray = new Uint8Array(3);
47 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
50 typedArray[bigNum] = 0xAA; // should error
51 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
54 typedArray[String(bigNum)] = 0xAA;
55 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
59 typedArray["1"] = 0xBB;
60 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
62 typedArray[2] = 0xCC;
63 >typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
DbigintIndex.errors.txt36 const typedArray = new Uint8Array(3);
37 typedArray[bigNum] = 0xAA; // should error
40 typedArray[String(bigNum)] = 0xAA;
41 typedArray["1"] = 0xBB;
42 typedArray[2] = 0xCC;
/third_party/typescript/src/lib/
Des2020.sharedmemory.d.ts7 add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
14 and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
21 …compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, …
28 exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
34 load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
41 or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
47 store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
54 sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
62 …wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal…
71 notify(typedArray: BigInt64Array, index: number, count?: number): number;
[all …]
Des2017.sharedmemory.d.ts34 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
41 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
48 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3…
55 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,…
68 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind…
75 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index…
81 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in…
88 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
96 …wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" |…
105 notify(typedArray: Int32Array, index: number, count?: number): number;
[all …]
/third_party/typescript/lib/
Dlib.es2020.sharedmemory.d.ts27 add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
34 and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
41 …compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, …
48 exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
54 load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
61 or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
67 store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
74 sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
82 …wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal…
91 notify(typedArray: BigInt64Array, index: number, count?: number): number;
[all …]
Dlib.es2017.sharedmemory.d.ts54 …add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
61 …and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
68 …compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint3…
75 …exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array,…
88 …load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, ind…
95 …or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index…
101 …store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, in…
108 …sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, inde…
116 …wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" |…
125 notify(typedArray: Int32Array, index: number, count?: number): number;
[all …]
/third_party/node/test/parallel/
Dtest-worker-message-channel.js9 channel.port1.on('message', common.mustCall(({ typedArray }) => { field
10 assert.deepStrictEqual(typedArray, new Uint8Array([0, 1, 2, 3, 4]));
13 const typedArray = new Uint8Array([0, 1, 2, 3, 4]); constant
14 channel.port2.postMessage({ typedArray }, [ typedArray.buffer ]); field
15 assert.strictEqual(typedArray.buffer.byteLength, 0);
Dtest-worker-message-port-arraybuffer.js11 const typedArray = new Uint32Array(arrayBuffer); constant
12 typedArray[0] = 0x12345678;
14 port1.postMessage(typedArray, [ arrayBuffer ]);
/third_party/typescript/tests/cases/compiler/
DbigintIndex.ts21 const typedArray = new Uint8Array(3); constant
22 typedArray[bigNum] = 0xAA; // should error
23 typedArray[String(bigNum)] = 0xAA;
24 typedArray["1"] = 0xBB;
25 typedArray[2] = 0xCC;
/third_party/jerryscript/tests/jerry/es2015/
Dtypedarray-symbol-properties.js27 var typedArray = new typedArrayType ();
30 typedArray[fooSymbol] = 5;
31 assert (typedArray[fooSymbol] === 5);
33 Object.defineProperty (typedArray, barSymbol, {value: 10});
34 assert (typedArray[barSymbol] === 10);
Dobject-prototype-tostring.js94 var typedArray = this[typedArrayTypes[i]];
95 assert (typedArray.prototype[Symbol.toStringTag] === undefined);
96 assert (Object.prototype.toString.call (typedArray) === "[object Function]");
97 assert (Object.prototype.toString.call (typedArray.prototype) === "[object Object]");
99 var newArray = new typedArray ();
/third_party/skia/modules/canvaskit/
Dmemory.js26 CanvasKit.Malloc = function(typedArray, len) { argument
27 var byteLen = len * typedArray.BYTES_PER_ELEMENT;
33 typedArray: null,
43 if (this.typedArray && this.typedArray.length) {
44 return this.typedArray;
46 this.typedArray = new typedArray(CanvasKit.HEAPU8.buffer, ptr, len);
48 this.typedArray['_ck'] = true;
49 return this.typedArray;
63 mallocObj.typedArray = null;
/third_party/node/deps/npm/node_modules/is-callable/
Dtest.js123 forEach(typedArrayNames, function (typedArray) { argument
125 if (typeof global[typedArray] === 'undefined') {
126 st.comment('# SKIP typed array "' + typedArray + '" not supported');
128 st.ok(isCallable(global[typedArray]), typedArray + ' is callable');
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dprefer-includes.md24 let typedArray: UInt8Array;
33 typedArray.indexOf(value) > -1;
45 let typedArray: UInt8Array;
58 typedArray.includes(value);
/third_party/node/test/common/
Ddns.js285 return Buffer.concat(buffers.map((typedArray) => {
286 const buf = Buffer.from(typedArray.buffer,
287 typedArray.byteOffset,
288 typedArray.byteLength);
290 if (typedArray.BYTES_PER_ELEMENT === 2) buf.swap16();
291 if (typedArray.BYTES_PER_ELEMENT === 4) buf.swap32();
/third_party/node/deps/npm/node_modules/lodash.clonedeep/
Dindex.js1080 function cloneTypedArray(typedArray, isDeep) { argument
1081 var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1082 return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
/third_party/quickjs/tests/
Dtest262.patch5 @@ -227,10 +227,14 @@ $262.agent.waitUntil = function(typedArray, index, expected) {
/third_party/node/src/
Djs_native_api_v8.cc2818 v8::Local<v8::TypedArray> typedArray; in napi_create_typedarray() local
2823 env, Int8Array, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2827 env, Uint8Array, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2831 env, Uint8ClampedArray, 1, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2835 env, Int16Array, 2, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2839 env, Uint16Array, 2, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2843 env, Int32Array, 4, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2847 env, Uint32Array, 4, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2851 env, Float32Array, 4, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
2855 env, Float64Array, 8, buffer, byte_offset, length, typedArray); in napi_create_typedarray()
[all …]
/third_party/node/lib/internal/util/
Dinspect.js708 function formatValue(ctx, value, recurseTimes, typedArray) { argument
774 return formatRaw(ctx, value, recurseTimes, typedArray);
777 function formatRaw(ctx, value, recurseTimes, typedArray) { argument
929 if (typedArray === undefined) {
/third_party/node/lib/internal/http2/
Dcore.js945 function trackAssignmentsTypedArray(typedArray) { argument
946 const typedArrayLength = typedArray.length;
952 target[i] = typedArray[i];
957 return new Proxy(typedArray, {
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts167 Malloc(typedArray: TypedArrayConstructor, len: number): MallocObj;