Lines Matching defs:ArrayBuffer
36 * This object does not keep the underlying |ArrayBuffer::Allocator| alive by
59 * If this backing store was created for a resizable ArrayBuffer or a growable
66 * Indicates whether the backing store was created for an ArrayBuffer or
72 * Indicates whether the backing store was created for a resizable ArrayBuffer
86 * Wrapper around ArrayBuffer::Allocator::Reallocate that preserves IsShared.
87 * Assumes that the backing_store was allocated by the ArrayBuffer allocator
96 * allocated with an ArrayBuffer::Allocator. In such cases the destructor of
105 * ArrayBuffer::NewBackingStore to indicate that.
109 * ArrayBuffer.
115 * See [Shared]ArrayBuffer::GetBackingStore and
116 * [Shared]ArrayBuffer::NewBackingStore.
129 * An instance of the built-in ArrayBuffer constructor (ES6 draft 15.13.5).
131 class V8_EXPORT ArrayBuffer : public Object {
134 * A thread-safe allocator that V8 uses to allocate |ArrayBuffer|'s memory.
140 * |ArrayBuffer|s. Responsibility for tracking external memory (using
185 * ArrayBuffer allocation mode. kNormal is a malloc/free style allocation,
214 * Create a new ArrayBuffer. Allocate |byte_length| bytes.
215 * Allocated memory will be owned by a created ArrayBuffer and
219 static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length);
222 * Create a new ArrayBuffer with an existing backing store.
233 static Local<ArrayBuffer> New(Isolate* isolate,
239 * ArrayBuffer::New.
252 * The result can be later passed to ArrayBuffer::New. The raw pointer
262 * ArrayBuffer::New.
275 * Returns true if this ArrayBuffer may be detached.
280 * Returns true if this ArrayBuffer has been detached.
285 * Detaches this ArrayBuffer and all its views (typed arrays).
288 * ArrayBuffer should have been externalized and must be detachable.
296 * Detaches this ArrayBuffer and all its views (typed arrays).
299 * ArrayBuffer should have been externalized and must be detachable. Returns
316 * The returned shared pointer will not be empty, even if the ArrayBuffer has
323 * is valid as long as the ArrayBuffer is alive.
327 V8_INLINE static ArrayBuffer* Cast(Value* value) {
331 return static_cast<ArrayBuffer*>(value);
338 ArrayBuffer();
348 * A base class for an instance of one of "views" over ArrayBuffer,
354 * Returns underlying ArrayBuffer.
356 Local<ArrayBuffer> Buffer();
378 * Returns true if ArrayBufferView's backing ArrayBuffer has already been
405 static Local<DataView> New(Local<ArrayBuffer> array_buffer,
492 * is valid as long as the ArrayBuffer is alive.