Lines Matching defs:ArrayBuffer
36 * This object does not keep the underlying |ArrayBuffer::Allocator| alive by
57 * Indicates whether the backing store was created for an ArrayBuffer or
70 * Wrapper around ArrayBuffer::Allocator::Reallocate that preserves IsShared.
71 * Assumes that the backing_store was allocated by the ArrayBuffer allocator
80 * allocated with an ArrayBuffer::Allocator. In such cases the destructor of
89 * ArrayBuffer::NewBackingStore to indicate that.
93 * ArrayBuffer.
99 * See [Shared]ArrayBuffer::GetBackingStore and
100 * [Shared]ArrayBuffer::NewBackingStore.
113 * An instance of the built-in ArrayBuffer constructor (ES6 draft 15.13.5).
115 class V8_EXPORT ArrayBuffer : public Object {
118 * A thread-safe allocator that V8 uses to allocate |ArrayBuffer|'s memory.
124 * |ArrayBuffer|s. Responsibility for tracking external memory (using
169 * ArrayBuffer allocation mode. kNormal is a malloc/free style allocation,
193 * Create a new ArrayBuffer. Allocate |byte_length| bytes.
194 * Allocated memory will be owned by a created ArrayBuffer and
198 static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length);
201 * Create a new ArrayBuffer with an existing backing store.
212 static Local<ArrayBuffer> New(Isolate* isolate,
218 * ArrayBuffer::New.
231 * The result can be later passed to ArrayBuffer::New. The raw pointer
239 * Returns true if this ArrayBuffer may be detached.
244 * Returns true if this ArrayBuffer has been detached.
249 * Detaches this ArrayBuffer and all its views (typed arrays).
252 * ArrayBuffer should have been externalized and must be detachable.
262 * The returned shared pointer will not be empty, even if the ArrayBuffer has
269 * is valid as long as the ArrayBuffer is alive.
273 V8_INLINE static ArrayBuffer* Cast(Value* value) {
277 return static_cast<ArrayBuffer*>(value);
284 ArrayBuffer();
294 * A base class for an instance of one of "views" over ArrayBuffer,
300 * Returns underlying ArrayBuffer.
302 Local<ArrayBuffer> Buffer();
324 * Returns true if ArrayBufferView's backing ArrayBuffer has already been
351 static Local<DataView> New(Local<ArrayBuffer> array_buffer,
433 * is valid as long as the ArrayBuffer is alive.