/third_party/node/test/parallel/ |
D | test-util-types.js | 120 const arrayBuffer = new ArrayBuffer(); constant 121 const buffer = Buffer.from(arrayBuffer); 122 const dataView = new DataView(arrayBuffer); 123 const uint8Array = new Uint8Array(arrayBuffer); 124 const uint8ClampedArray = new Uint8ClampedArray(arrayBuffer); 125 const uint16Array = new Uint16Array(arrayBuffer); 126 const uint32Array = new Uint32Array(arrayBuffer); 127 const int8Array = new Int8Array(arrayBuffer); 128 const int16Array = new Int16Array(arrayBuffer); 129 const int32Array = new Int32Array(arrayBuffer); [all …]
|
D | test-buffer-parent-property.js | 17 const arrayBuffer = new ArrayBuffer(0); constant 18 assert.strictEqual(new Buffer(arrayBuffer).parent, arrayBuffer); 19 assert.strictEqual(new Buffer(arrayBuffer).buffer, arrayBuffer); 20 assert.strictEqual(Buffer.from(arrayBuffer).parent, arrayBuffer); 21 assert.strictEqual(Buffer.from(arrayBuffer).buffer, arrayBuffer);
|
D | test-worker-sharedarraybuffer-from-worker-thread.js | 20 let arrayBuffer; variable 21 w.once('message', common.mustCall((message) => arrayBuffer = message)); 23 assert.strictEqual(arrayBuffer.constructor.name, ctor); 24 const uint8array = new Uint8Array(arrayBuffer);
|
D | test-worker-message-port-arraybuffer.js | 10 const arrayBuffer = new ArrayBuffer(40); constant 11 const typedArray = new Uint32Array(arrayBuffer); 14 port1.postMessage(typedArray, [ arrayBuffer ]);
|
D | test-inspector-connect-main-thread.js | 70 function doConsoleLog(arrayBuffer) { argument 72 arrayBuffer[0] = 128; 104 const arrayBuffer = new Uint8Array(sharedBuffer); 105 arrayBuffer[0] = 1; 107 worker.onConsoleRequest.then(doConsoleLog.bind(null, arrayBuffer));
|
D | test-tcp-wrap-listen.js | 38 client.onread = common.mustCall((arrayBuffer) => { 39 if (arrayBuffer) { 42 const buffer = Buffer.from(arrayBuffer, offset, nread);
|
D | test-process-wrap.js | 47 pipe.onread = function(arrayBuffer) { argument 49 if (arrayBuffer) {
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
D | Blob-array-buffer.any.js | 8 const array_buffer = await blob.arrayBuffer(); 16 const array_buffer = await blob.arrayBuffer(); 24 const array_buffer = await blob.arrayBuffer(); 32 const array_buffer = await blob.arrayBuffer(); 39 const array_buffer_results = await Promise.all([blob.arrayBuffer(), 40 blob.arrayBuffer(), blob.arrayBuffer()]);
|
D | Blob-slice.any.js | 57 var arrayBuffer = new ArrayBuffer(16); 58 var int8View = new Int8Array(arrayBuffer); 131 [new Uint8Array(arrayBuffer, 3, 5), blob1, "foo"],
|
/third_party/node/test/sequential/ |
D | test-buffer-creation-regression.js | 6 function test(arrayBuffer, offset, length) { argument 7 const uint8Array = new Uint8Array(arrayBuffer, offset, length); 12 const buffer = Buffer.from(arrayBuffer, offset, length); 26 let arrayBuffer; variable 29 arrayBuffer = new ArrayBuffer(size); variable 36 test(arrayBuffer, offset, length);
|
/third_party/node/benchmark/util/ |
D | type-check.js | 5 const arrayBuffer = new ArrayBuffer(); constant 6 const dataView = new DataView(arrayBuffer); 7 const uint8Array = new Uint8Array(arrayBuffer); 8 const int32Array = new Int32Array(arrayBuffer); 14 'false-object': arrayBuffer 19 'false-object': arrayBuffer
|
/third_party/node/deps/npm/node_modules/buffer-from/ |
D | readme.md | 39 ### bufferFrom(arrayBuffer[, byteOffset[, length]]) 41 - `arrayBuffer` <ArrayBuffer> The `.buffer` property of a TypedArray or ArrayBuffer 42 - `byteOffset` <Integer> Where to start copying from `arrayBuffer`. **Default:** `0` 43 - `length` <Integer> How many bytes to copy from `arrayBuffer`. **Default:** `arrayBuffer.len… 49 the `arrayBuffer` that will be shared by the `Buffer`.
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | regression-test-issue-2848.js | 15 var arrayBuffer = new ArrayBuffer; variable 16 var dataView = new DataView(arrayBuffer); 17 assert (dataView.buffer === arrayBuffer);
|
D | regression-test-issue-2181.js | 18 var arrayBuffer = new ArrayBuffer(1); variable 22 arrayBuffer.slice(start, end);
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | message_set_test.js | 107 const arrayBuffer = createArrayBuffer( constant 133 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer); 143 const arrayBuffer = createArrayBuffer( constant 170 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer); 248 const arrayBuffer = barMessage.serialize(); constant 250 const barMessageParsed = Kernel.fromArrayBuffer(arrayBuffer);
|
D | buffer_decoder.js | 58 static fromArrayBuffer(arrayBuffer) { argument 60 new DataView(arrayBuffer), 0, arrayBuffer.byteLength);
|
D | writer.js | 440 writeRaw_(arrayBuffer) { argument 442 this.blocks_.push(new Uint8Array(arrayBuffer)); 466 writeDelimited(fieldNumber, arrayBuffer) { argument 468 this.writeUnsignedVarint32_(arrayBuffer.byteLength); 469 this.writeRaw_(arrayBuffer);
|
/third_party/skia/demos.skia.org/demos/image_decode_web_worker/ |
D | worker.js | 14 const arrayBuffer = imageData.data.buffer; constant 18 decodedArrayBuffer: arrayBuffer 20 arrayBuffer // give up ownership of this object
|
/third_party/skia/experimental/wasm-skp-debugger/tests/ |
D | startup.spec.js | 26 response.arrayBuffer().then(function(buffer) { 52 response.arrayBuffer().then(function(buffer) {
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | VertexArrayGL.cpp | 432 const Buffer *arrayBuffer = bindingBuffer.get(); in updateAttribPointer() local 433 if (arrayBuffer == nullptr) in updateAttribPointer() 457 const BufferGL *arrayBufferGL = GetImplAs<BufferGL>(arrayBuffer); in updateAttribPointer() 557 const Buffer *arrayBuffer = binding.getBuffer().get(); in updateBindingBuffer() local 559 if (arrayBuffer != nullptr) in updateBindingBuffer() 561 bufferId = GetImplAs<BufferGL>(arrayBuffer)->getBufferID(); in updateBindingBuffer()
|
/third_party/node/deps/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/ |
D | index.d.ts | 81 constructor (arrayBuffer: ArrayBuffer); 111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
/third_party/node/deps/npm/node_modules/string_decoder/node_modules/safe-buffer/ |
D | index.d.ts | 81 constructor (arrayBuffer: ArrayBuffer); 111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
/third_party/node/deps/npm/node_modules/safe-buffer/ |
D | index.d.ts | 81 constructor (arrayBuffer: ArrayBuffer); 111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
/third_party/node/deps/npm/node_modules/tar/node_modules/safe-buffer/ |
D | index.d.ts | 81 constructor (arrayBuffer: ArrayBuffer); 111 static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
/third_party/node/lib/internal/ |
D | blob.js | 195 async arrayBuffer() { method in Blob 218 return dec.decode(await this.arrayBuffer());
|