Home
last modified time | relevance | path

Searched refs:BYTES_PER_ELEMENT (Results 1 – 25 of 26) sorted by relevance

12

/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.05/
D22.02.05-001.js16 assert(Int8Array.BYTES_PER_ELEMENT === 1);
17 assert(Uint8Array.BYTES_PER_ELEMENT === 1);
18 assert(Uint8ClampedArray.BYTES_PER_ELEMENT === 1);
19 assert(Int16Array.BYTES_PER_ELEMENT === 2);
20 assert(Uint16Array.BYTES_PER_ELEMENT === 2);
21 assert(Int32Array.BYTES_PER_ELEMENT === 4);
22 assert(Uint32Array.BYTES_PER_ELEMENT === 4);
23 assert(Float32Array.BYTES_PER_ELEMENT === 4);
24 assert(Float64Array.BYTES_PER_ELEMENT === 8);
/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.06/
D22.02.06-001.js16 assert(Int8Array.prototype.BYTES_PER_ELEMENT === 1);
17 assert(Uint8Array.prototype.BYTES_PER_ELEMENT === 1);
18 assert(Uint8ClampedArray.prototype.BYTES_PER_ELEMENT === 1);
19 assert(Int16Array.prototype.BYTES_PER_ELEMENT === 2);
20 assert(Uint16Array.prototype.BYTES_PER_ELEMENT === 2);
21 assert(Int32Array.prototype.BYTES_PER_ELEMENT === 4);
22 assert(Uint32Array.prototype.BYTES_PER_ELEMENT === 4);
23 assert(Float32Array.prototype.BYTES_PER_ELEMENT === 4);
24 assert(Float64Array.prototype.BYTES_PER_ELEMENT === 8);
/third_party/node/deps/npm/node_modules/typedarray/
Dindex.js295 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
303 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
316 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
335 if (this.byteOffset % this.BYTES_PER_ELEMENT) {
344 if (this.byteLength % this.BYTES_PER_ELEMENT) {
347 this.length = this.byteLength / this.BYTES_PER_ELEMENT;
350 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
367 ctor.prototype.BYTES_PER_ELEMENT = bytesPerElement; method in ctor
370 ctor.BYTES_PER_ELEMENT = bytesPerElement;
382 for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT;
[all …]
/third_party/flutter/skia/modules/canvaskit/
Dhelper.js74 ptr = CanvasKit._malloc(arr.length * dest.BYTES_PER_ELEMENT);
85 dest.set(arr, ptr / dest.BYTES_PER_ELEMENT);
98 ptr = CanvasKit._malloc(arr.length * arr[0].length * dest.BYTES_PER_ELEMENT);
101 var adjustedPtr = ptr / dest.BYTES_PER_ELEMENT;
120 ptr = CanvasKit._malloc(arr.length * arr[0].length * arr[0][0].length * dest.BYTES_PER_ELEMENT);
123 var adjustedPtr = ptr / dest.BYTES_PER_ELEMENT;
239 var BYTES_PER_ELEMENT = 4;
242 var floatPtr = (this._ptr / BYTES_PER_ELEMENT) + idx;
318 var BYTES_PER_ELEMENT = 4;
321 var uintPtr = (this._ptr / BYTES_PER_ELEMENT) + idx;
/third_party/node/lib/
Dv8.js305 const BYTES_PER_ELEMENT = ctor.BYTES_PER_ELEMENT || 1;
308 if (offset % BYTES_PER_ELEMENT === 0) {
311 byteLength / BYTES_PER_ELEMENT);
318 byteLength / BYTES_PER_ELEMENT);
/third_party/skia/experimental/skottiekit/
Dhelper.js15 ptr = SkottieKit._malloc(arr.length * dest.BYTES_PER_ELEMENT);
26 dest.set(arr, ptr / dest.BYTES_PER_ELEMENT);
/third_party/typescript/src/lib/
Des2020.bigint.d.ts131 readonly BYTES_PER_ELEMENT: number; property
377 readonly BYTES_PER_ELEMENT: number; property
403 readonly BYTES_PER_ELEMENT: number; property
649 readonly BYTES_PER_ELEMENT: number; property
Des5.d.ts1740 readonly BYTES_PER_ELEMENT: number; property
1988 readonly BYTES_PER_ELEMENT: number; property
2022 readonly BYTES_PER_ELEMENT: number; property
2271 readonly BYTES_PER_ELEMENT: number; property
2304 readonly BYTES_PER_ELEMENT: number; property
2553 readonly BYTES_PER_ELEMENT: number; property
2585 readonly BYTES_PER_ELEMENT: number; property
2833 readonly BYTES_PER_ELEMENT: number; property
2867 readonly BYTES_PER_ELEMENT: number; property
3116 readonly BYTES_PER_ELEMENT: number; property
[all …]
/third_party/typescript/lib/
Dlib.es2020.bigint.d.ts151 readonly BYTES_PER_ELEMENT: number; property
397 readonly BYTES_PER_ELEMENT: number; property
423 readonly BYTES_PER_ELEMENT: number; property
669 readonly BYTES_PER_ELEMENT: number; property
Dlib.es5.d.ts1760 readonly BYTES_PER_ELEMENT: number; property
2008 readonly BYTES_PER_ELEMENT: number; property
2042 readonly BYTES_PER_ELEMENT: number; property
2291 readonly BYTES_PER_ELEMENT: number; property
2324 readonly BYTES_PER_ELEMENT: number; property
2573 readonly BYTES_PER_ELEMENT: number; property
2605 readonly BYTES_PER_ELEMENT: number; property
2853 readonly BYTES_PER_ELEMENT: number; property
2887 readonly BYTES_PER_ELEMENT: number; property
3136 readonly BYTES_PER_ELEMENT: number; property
[all …]
/third_party/skia/modules/pathkit/
Dhelper.js56 var ptr = PathKit._malloc(ta.length * ta.BYTES_PER_ELEMENT);
57 PathKit.HEAPF32.set(ta, ptr / ta.BYTES_PER_ELEMENT);
/third_party/flutter/skia/modules/pathkit/
Dhelper.js56 var ptr = PathKit._malloc(ta.length * ta.BYTES_PER_ELEMENT);
57 PathKit.HEAPF32.set(ta, ptr / ta.BYTES_PER_ELEMENT);
/third_party/skia/experimental/tskit/interface/
Dmemory.ts13 const bytesPerElement = Module[dest].BYTES_PER_ELEMENT;
/third_party/skia/modules/canvaskit/
Dmemory.js27 var byteLen = len * typedArray.BYTES_PER_ELEMENT;
129 var bytesPerElement = CanvasKit[dest].BYTES_PER_ELEMENT;
/third_party/node/lib/internal/crypto/
Drandom.js88 const elementSize = buf.BYTES_PER_ELEMENT || 1;
106 const elementSize = buf.BYTES_PER_ELEMENT || 1;
/third_party/node/test/common/
Ddns.js290 if (typedArray.BYTES_PER_ELEMENT === 2) buf.swap16();
291 if (typedArray.BYTES_PER_ELEMENT === 4) buf.swap32();
Dindex.js625 const { BYTES_PER_ELEMENT = 1 } = type;
626 if (byteLength % BYTES_PER_ELEMENT === 0) {
627 out.push(new type(buffer, byteOffset, byteLength / BYTES_PER_ELEMENT));
/third_party/node/test/js-native-api/test_typedarray/
Dtest.js73 currentType.BYTES_PER_ELEMENT + 1, 1);
/third_party/jerryscript/tests/unit-core/
Dtest-typedarray.c496 #define TEST_ENTRY(TYPE, CONSTRUCTOR, COUNT, BYTES_PER_ELEMENT) \ in main() argument
497 { TYPE, CONSTRUCTOR, COUNT, BYTES_PER_ELEMENT } in main()
/third_party/jerryscript/jerry-core/lit/
Dlit-magic-strings.ini344 LIT_MAGIC_STRING_BYTES_PER_ELEMENT_U = "BYTES_PER_ELEMENT"
/third_party/node/test/parallel/
Dtest-util-inspect.js273 const byteLength = length * constructor.BYTES_PER_ELEMENT;
282 ` [BYTES_PER_ELEMENT]: ${constructor.BYTES_PER_ELEMENT},\n` +
304 const byteLength = length * constructor.BYTES_PER_ELEMENT;
316 ` [BYTES_PER_ELEMENT]: ${constructor.BYTES_PER_ELEMENT},\n` +
/third_party/typescript/tests/lib/
Dlib.d.ts1402 BYTES_PER_ELEMENT: number; property
1648 BYTES_PER_ELEMENT: number; property
1675 BYTES_PER_ELEMENT: number; property
1922 BYTES_PER_ELEMENT: number; property
1949 BYTES_PER_ELEMENT: number; property
2196 BYTES_PER_ELEMENT: number; property
2222 BYTES_PER_ELEMENT: number; property
2469 BYTES_PER_ELEMENT: number; property
2496 BYTES_PER_ELEMENT: number; property
2743 BYTES_PER_ELEMENT: number; property
[all …]
/third_party/quickjs/tests/
Dtest_builtin.js419 assert(a.BYTES_PER_ELEMENT, 4);
/third_party/node/tools/
Dlint-md.mjs27783 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
27791 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
27804 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
27823 if (this.byteOffset % this.BYTES_PER_ELEMENT) {
27832 if (this.byteLength % this.BYTES_PER_ELEMENT) {
27835 this.length = this.byteLength / this.BYTES_PER_ELEMENT;
27838 this.byteLength = this.length * this.BYTES_PER_ELEMENT;
27855 ctor.prototype.BYTES_PER_ELEMENT = bytesPerElement; method in ctor
27858 ctor.BYTES_PER_ELEMENT = bytesPerElement;
27870 for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT;
[all …]
/third_party/node/doc/api/
Dbuffer.md207 buf.length / Uint16Array.BYTES_PER_ELEMENT);

12