Lines Matching refs:ArrayBuffer
1860 * Returns true if this value is an ArrayBuffer.
3472 * An instance of the built-in ArrayBuffer constructor (ES6 draft 15.13.5).
3475 class V8_EXPORT ArrayBuffer : public Object {
3478 * A thread-safe allocator that V8 uses to allocate |ArrayBuffer|'s memory.
3484 * |ArrayBuffer|s. Responsibility for tracking external memory (using
3517 * The contents of an |ArrayBuffer|. Externalization of |ArrayBuffer|
3521 * The Data pointer of ArrayBuffer::Contents is always allocated with
3537 friend class ArrayBuffer;
3547 * Create a new ArrayBuffer. Allocate |byte_length| bytes.
3548 * Allocated memory will be owned by a created ArrayBuffer and
3552 static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length);
3555 * Create a new ArrayBuffer over an existing memory block.
3557 * The memory block will not be reclaimed when a created ArrayBuffer
3560 static Local<ArrayBuffer> New(
3565 * Returns true if ArrayBuffer is externalized, that is, does not
3571 * Returns true if this ArrayBuffer may be neutered.
3576 * Neuters this ArrayBuffer and all its views (typed arrays).
3579 * ArrayBuffer should have been externalized and must be neuterable.
3584 * Make this ArrayBuffer external. The pointer to underlying memory block
3585 * and byte length are returned as |Contents| structure. After ArrayBuffer
3595 * Get a pointer to the ArrayBuffer's underlying memory block without
3596 * externalizing it. If the ArrayBuffer is not externalized, this pointer
3597 * will become invalid as soon as the ArrayBuffer became garbage collected.
3600 * ArrayBuffer while accessing this pointer.
3606 V8_INLINE static ArrayBuffer* Cast(Value* obj);
3611 ArrayBuffer();
3623 * A base class for an instance of one of "views" over ArrayBuffer,
3631 * Returns underlying ArrayBuffer.
3633 Local<ArrayBuffer> Buffer();
3655 * Returns true if ArrayBufferView's backing ArrayBuffer has already been
3698 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer,
3716 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer,
3734 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer,
3752 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer,
3770 static Local<Int16Array> New(Local<ArrayBuffer> array_buffer,
3788 static Local<Uint32Array> New(Local<ArrayBuffer> array_buffer,
3806 static Local<Int32Array> New(Local<ArrayBuffer> array_buffer,
3824 static Local<Float32Array> New(Local<ArrayBuffer> array_buffer,
3842 static Local<Float64Array> New(Local<ArrayBuffer> array_buffer,
3860 static Local<DataView> New(Local<ArrayBuffer> array_buffer,
3884 * |ArrayBuffer::Allocator::Allocate| by the allocator specified in
3948 * Get a pointer to the ArrayBuffer's underlying memory block without
3949 * externalizing it. If the ArrayBuffer is not externalized, this pointer
3950 * will become invalid as soon as the ArrayBuffer became garbage collected.
3953 * ArrayBuffer while accessing this pointer.
5576 * The ArrayBuffer::Allocator to use for allocating and freeing the backing
5579 ArrayBuffer::Allocator* array_buffer_allocator;
8500 ArrayBuffer* ArrayBuffer::Cast(v8::Value* value) {
8504 return static_cast<ArrayBuffer*>(value);