/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
D | Blob-array-buffer.any.js | 8 const array_buffer = await blob.arrayBuffer(); constant 9 assert_true(array_buffer instanceof ArrayBuffer); 10 assert_equals_typed_array(new Uint8Array(array_buffer), input_arr); 16 const array_buffer = await blob.arrayBuffer(); constant 17 assert_true(array_buffer instanceof ArrayBuffer); 18 assert_equals_typed_array(new Uint8Array(array_buffer), input_arr); 24 const array_buffer = await blob.arrayBuffer(); constant 25 assert_equals_typed_array(new Uint8Array(array_buffer), input_arr); 32 const array_buffer = await blob.arrayBuffer(); constant 33 assert_equals_typed_array(new Uint8Array(array_buffer), typed_arr); [all …]
|
/third_party/quickjs/tests/ |
D | test_bjson.js | 122 var array, buf, i, n, array_buffer; 127 array_buffer = new ArrayBuffer(n); 131 array[i].typed_array = new Uint8Array(array_buffer, i, 1); 141 assert(array[i].typed_array.buffer, array_buffer);
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUBuffer.cpp | 135 auto array_buffer = Napi::ArrayBuffer::New(env, ptr, s); in getMappedRange() local 137 mapped_.emplace_back(Mapping{start, end, Napi::Persistent(array_buffer)}); in getMappedRange() 138 return array_buffer; in getMappedRange()
|
/third_party/node/test/js-native-api/test_typedarray/ |
D | test_typedarray.c | 212 napi_value array_buffer = args[0]; in IsDetached() local 214 NAPI_CALL(env, napi_is_arraybuffer(env, array_buffer, &is_arraybuffer)); in IsDetached() 219 NAPI_CALL(env, napi_is_detached_arraybuffer(env, array_buffer, &is_detached)); in IsDetached()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 3877 jerry_get_arraybuffer_pointer (const jerry_value_t array_buffer) /**< Array Buffer to use */ in jerry_get_arraybuffer_pointer() argument 3882 if (ecma_is_value_error_reference (array_buffer) in jerry_get_arraybuffer_pointer() 3883 || !ecma_is_arraybuffer (array_buffer)) in jerry_get_arraybuffer_pointer() 3888 ecma_object_t *buffer_p = ecma_get_object_from_value (array_buffer); in jerry_get_arraybuffer_pointer() 3892 JERRY_UNUSED (array_buffer); in jerry_get_arraybuffer_pointer() 3966 jerry_create_dataview (const jerry_value_t array_buffer, /**< arraybuffer to create DataView from */ in jerry_create_dataview() argument 3973 if (ecma_is_value_error_reference (array_buffer)) in jerry_create_dataview() 3980 array_buffer, in jerry_create_dataview() 3987 JERRY_UNUSED (array_buffer); in jerry_create_dataview()
|
/third_party/node/src/ |
D | node_buffer.cc | 1193 Local<ArrayBuffer> array_buffer = in Initialize() local 1195 array_buffer->SetPrivate( in Initialize() 1202 Uint32Array::New(array_buffer, 0, 1)) in Initialize()
|
D | node.cc | 243 Local<v8::SharedArrayBuffer> array_buffer, in AtomicsWaitCallback() argument 265 array_buffer->GetBackingStore()->Data(), in AtomicsWaitCallback()
|
/third_party/quickjs/ |
D | quickjs.c | 907 … struct JSArrayBuffer *array_buffer; /* JS_CLASS_ARRAY_BUFFER, JS_CLASS_SHARED_ARRAY_BUFFER */ member 6112 JSArrayBuffer *abuf = p->u.array_buffer; in JS_ComputeMemoryUsage() 34523 JSArrayBuffer *abuf = p->u.array_buffer; in JS_WriteArrayBuffer() 34537 JSArrayBuffer *abuf = p->u.array_buffer; in JS_WriteSharedArrayBuffer() 35588 JSValue obj = JS_UNDEFINED, array_buffer = JS_UNDEFINED; in JS_ReadTypedArray() local 35606 array_buffer = JS_ReadObjectRec(s); in JS_ReadTypedArray() 35607 if (JS_IsException(array_buffer)) in JS_ReadTypedArray() 35609 if (!js_get_array_buffer(ctx, array_buffer)) { in JS_ReadTypedArray() 35610 JS_FreeValue(ctx, array_buffer); in JS_ReadTypedArray() 35613 args[0] = array_buffer; in JS_ReadTypedArray() [all …]
|
/third_party/jerryscript/docs/ |
D | 02.API-REFERENCE.md | 3999 jerry_create_dataview (const jerry_value_t array_buffer, 4004 - `array_buffer` - arrayBuffer to create DataView from
|
/third_party/chromium/patch/ |
D | 0004-3.2-Beta5.patch | 5722 + std::vector<uint8_t> vecBinary = message.array_buffer; 41236 +#include "third_party/blink/public/mojom/array_buffer/array_buffer_contents.mojom.h" 41292 + [&](const std::vector<uint8_t>& array_buffer) { 41297 + mojo_base::BigBuffer big_buffer(array_buffer); 41411 +WebMessagePort::Message::Message(std::vector<uint8_t> array_buffer) 41412 + : array_buffer(std::move(array_buffer)) {} 41429 + message.array_buffer.size() != 0 ? 41430 + WebMessagePayload(std::move(message.array_buffer)) : 41452 + } else if (auto* array_buffer = absl::get_if<std::vector<uint8_t>>(&payload)) { 41453 + message.array_buffer = std::move(*array_buffer); [all …]
|
D | 0003-3.2-Beta3-1115.patch | 24855 +#include "gin/array_buffer.h" 252808 ThrowDataCloneError(MessageTemplate::kDataCloneError, array_buffer); 252815 WriteRawBytes(array_buffer->backing_store(), byte_length);
|
D | 0001-cve.patch | 5022 - DCHECK(array_buffer->IsDetached()); 5024 + CHECK(array_buffer->IsDetached());
|