/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.05/ |
D | 22.02.05-001.js | 16 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/ |
D | 22.02.06-001.js | 16 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/ |
D | index.js | 295 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/ |
D | helper.js | 74 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/ |
D | v8.js | 305 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/ |
D | helper.js | 15 ptr = SkottieKit._malloc(arr.length * dest.BYTES_PER_ELEMENT); 26 dest.set(arr, ptr / dest.BYTES_PER_ELEMENT);
|
/third_party/typescript/src/lib/ |
D | es2020.bigint.d.ts | 131 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
|
D | es5.d.ts | 1740 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/ |
D | lib.es2020.bigint.d.ts | 151 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
|
D | lib.es5.d.ts | 1760 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/ |
D | helper.js | 56 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/ |
D | helper.js | 56 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/ |
D | memory.ts | 13 const bytesPerElement = Module[dest].BYTES_PER_ELEMENT;
|
/third_party/skia/modules/canvaskit/ |
D | memory.js | 27 var byteLen = len * typedArray.BYTES_PER_ELEMENT; 129 var bytesPerElement = CanvasKit[dest].BYTES_PER_ELEMENT;
|
/third_party/node/lib/internal/crypto/ |
D | random.js | 88 const elementSize = buf.BYTES_PER_ELEMENT || 1; 106 const elementSize = buf.BYTES_PER_ELEMENT || 1;
|
/third_party/node/test/common/ |
D | dns.js | 290 if (typedArray.BYTES_PER_ELEMENT === 2) buf.swap16(); 291 if (typedArray.BYTES_PER_ELEMENT === 4) buf.swap32();
|
D | index.js | 625 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/ |
D | test.js | 73 currentType.BYTES_PER_ELEMENT + 1, 1);
|
/third_party/jerryscript/tests/unit-core/ |
D | test-typedarray.c | 496 #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/ |
D | lit-magic-strings.ini | 344 LIT_MAGIC_STRING_BYTES_PER_ELEMENT_U = "BYTES_PER_ELEMENT"
|
/third_party/node/test/parallel/ |
D | test-util-inspect.js | 273 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/ |
D | lib.d.ts | 1402 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/ |
D | test_builtin.js | 419 assert(a.BYTES_PER_ELEMENT, 4);
|
/third_party/node/tools/ |
D | lint-md.mjs | 27783 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/ |
D | buffer.md | 207 buf.length / Uint16Array.BYTES_PER_ELEMENT);
|