Searched defs:ArrayBuffer (Results 1 - 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/html/canvas/
H A DArrayBuffer.h34 class ArrayBuffer : public RefCounted<ArrayBuffer> { class in namespace:WebCore
36 static PassRefPtr<ArrayBuffer> create(unsigned numElements, unsigned elementByteSize);
37 static PassRefPtr<ArrayBuffer> create(ArrayBuffer*);
38 static PassRefPtr<ArrayBuffer> create(void* source, unsigned byteLength);
44 ~ArrayBuffer();
47 ArrayBuffer(void* data, unsigned sizeInBytes);
48 ArrayBuffer(unsigned numElements, unsigned elementByteSize);
H A DArrayBuffer.cpp27 #include "ArrayBuffer.h"
33 PassRefPtr<ArrayBuffer> ArrayBuffer::create(unsigned numElements, unsigned elementByteSize)
38 return adoptRef(new ArrayBuffer(data, numElements * elementByteSize));
41 PassRefPtr<ArrayBuffer> ArrayBuffer::create(ArrayBuffer* other)
43 return ArrayBuffer::create(other->data(), other->byteLength());
46 PassRefPtr<ArrayBuffer> ArrayBuffer
56 ArrayBuffer::ArrayBuffer(void* data, unsigned sizeInBytes) function in class:WebCore::ArrayBuffer
[all...]
/external/v8/src/
H A Dd8.cc344 // TypedArray(ArrayBuffer buffer,
349 String::New("Array constructor from ArrayBuffer must "
376 String::New("ArrayBuffer doesn't have data"));
393 String::New("byteOffset must be less than ArrayBuffer length."));
397 // If length is not explicitly specified, the length of the ArrayBuffer
406 String::New("ArrayBuffer length minus the byteOffset must be a "
413 // the ArrayBuffer an exception is raised.
417 "ArrayBuffer"));
420 // Hold a reference to the ArrayBuffer so its buffer doesn't get collected.
461 Handle<Value> Shell::ArrayBuffer(cons function in class:v8::Shell
[all...]

Completed in 1230 milliseconds