|
V8 Project
|
Inheritance diagram for v8::MockArrayBufferAllocator:
Collaboration diagram for v8::MockArrayBufferAllocator:Public Member Functions | |
| virtual void * | Allocate (size_t) OVERRIDE |
| Allocate |length| bytes. More... | |
| virtual void * | AllocateUninitialized (size_t length) OVERRIDE |
| Allocate |length| bytes. More... | |
| virtual void | Free (void *p, size_t) OVERRIDE |
| Free the memory block of size |length|, pointed to by |data|. More... | |
Public Member Functions inherited from v8::ArrayBuffer::Allocator | |
| virtual | ~Allocator () |
|
inlinevirtual |
Allocate |length| bytes.
Return NULL if allocation is not successful. Memory should be initialized to zeroes.
Implements v8::ArrayBuffer::Allocator.
|
inlinevirtual |
Allocate |length| bytes.
Return NULL if allocation is not successful. Memory does not have to be initialized.
Implements v8::ArrayBuffer::Allocator.
|
inlinevirtual |
Free the memory block of size |length|, pointed to by |data|.
That memory is guaranteed to be previously allocated by |Allocate|.
Implements v8::ArrayBuffer::Allocator.